wlan: VHT MCS8 and MCS9 Support in 2.4Ghz

If MCS8 and MCS9 is supported by firmware and
gEnableVhtFor24GHzBand is set in INI, Enable VHT in 2.4Ghz
by setting the dot11mode is 11ac.

For this MCS8_9_IN_2_4G is introduced in driver and firmware
capabilities.

This commit takes care of interface file change for
this enhancement.

CRs-Fixed: 609434

Change-Id: I39b9b9faef54b00037487a7fd9609ddcb8025f50
wlan: Add Set Max Tx Power PerBand Rsp

Adding WDI_SET_MAX_TX_POWER_PER_BAND_RSP handler

Change-Id: I849990b80725710ad44a92a42751d4e25f5a3b4c
CRs-Fixed: 517289
wlan: Missing error and info logs in PE connect path (Part 5)

Added error and info logs for connect path in
limProcessAuthFrame.

Change-Id: If419cf202d4a0a7258f7aceb9ef9444e288b55c3
CRs-Fixed: 608931
wlan: Add ini params to support antenna diversity

Add ini parameters in HDD driver to support antenna diversity
Fix gerrit#4875512 issues in wlan_hal_cfg.h

Change-Id: I4407f4f5df23eda01f7d77f624429476c9c838a4
CRs-fixed: 561854
wlan: Fix static analysis issues in HDD files

Fix static analysis issues reported in following HDD files:
 - wlan_hdd_cfg80211.c
 - wlan_hdd_hostapd.c
 - wlan_hdd_softap_tx_rx.c

Change-Id: I40064336c475784242062f55510a21b7921d10a0
CRs-Fixed: 609606
wlan: UMAC: Log the packet information in kmsg

Printing the packet information for tx/rx mgmt, action, EAPOL
and DHCP for debugging the connection issues.
A new ini variable is "gEnableDebugLog" added to
enable/disable these logs. By default this flag is disabled.
Also added an iwpriv command "setDbgLvl" to achieve the same.

Change-Id: I376fb3ed2a05744760d6563410e5eeb068b6d070
CRs-Fixed: 600142
Logging enhancements on 11k rrmApi.c file

As part of PE logging enhancements, more feature logging would be needed.
Since there are many instances which have logging with PELOG1,
defining PELOG1 might lead to phone going into download mode
if the logs are also dynamically enabled.
The plan is to define PELOG4 statically and have meaningful & sufficient
feature logging in PE till the instances with PELOG1 gets thin.

Change-Id: I204614ab6bd7cfcbabfbedd310498b54cfc54b7d
CRs-Fixed: 587373
wlan: fix static analysis issues in HDD files

Fix static analysis issues reported in following files:
prima/CORE/HDD/src/wlan_hdd_main.c
prima/CORE/HDD/src/wlan_hdd_tx_rx.c
prima/CORE/HDD/src/wlan_hdd_wext.c
prima/CORE/HDD/src/wlan_hdd_wmm.c
prima/CORE/HDD/src/wlan_hdd_wowl.c
prima/CORE/SME/src/pmc/pmcApi.c

Change-Id: Ib17858f23478b94b297a955e3cfddb4d3dfda042
CRs-Fixed: 609611
wlan: SME log level modification.

Added logs which should get printed when some unexpected error
happens. Modification in log level for SME.

CRs-Fixed: 517829
Change-Id: Id7e7f21136d7ddb8e5d1c71ee29a6a13f717d1b8
wlan: flush scan results which are not in new  Country code.

Right now scan result are getting flashed out on basis of scan
request on that particular channel. It's wise to flush scan
entries on channels which are not part of new channel list
of acquired country

CRs-Fixed: 607644
Change-Id: I825fc49a390ac0395b770dfa879351ca04ddae90
wlan: Fix issues reported by code inspection tool

Caller of the SME country code change API is only providing two bytes
for country code.

Change-Id: Iebd1f5be816231943a3d2f722413139e84d54a61
CRs-Fixed: 609599
P2P: Log enhancement in offload and non offload scan path in PE.

Added extra log messages in offload and non offload scan path in
PE which helps to debug scan related issues in PE layer.

Change-Id: I4b4cf447ed5ca235ee5d724abbb562801467ec84
CRs-Fixed: 596625
Fix for IMPS Req sent to Firmware in connected state

Due to race condition between reception of Deauth frame from AP
and disconnect from Upper layer, driver sends IMPS Request
to firmware when firmware is in connected state.As a result
Firmware crashes.So when deauth req comes from upper layer
read the status of FW state and accordingly return the error
code so that SME does not issue IMPS request.

Change-Id: Ie2cbdb8021e0920b6778708946a9f3e1a92586b8
CRs-fixed: 604928
Wlan: Revision 3.2.3.232

Revision 3.2.3.232