wlan: Check to avoid SAP to use 80Mhz in 2.4Ghz.

There is no check during SAP init to avoid 80Mhz channel width
if VHT is enable in 2.4Ghz. VHT chanWidth is compared to HT
channelwidth macro.

Adds the check during start bss to set the vhtTxChannelWidthSet as
WNI_CFG_VHT_CHANNEL_WIDTH_20_40MHZ. Remove VHT chanWidth
comparison with HT channelwidth macro.

comparing this with HT width

Change-Id: Ib78b606f56e37c79f4cd9447a4f17ca867010a10
CRs-Fixed: 611211
wlan: fix for SENDACTIONFRAME dwell time check

in SENDACTIONFRAME dwell time can be zero. Due to wrong
sanity check correct SENDACTIONFRAME command was failing.

CRs-Fixed: 618894
Change-Id: Id89734c8a05f9ea664e095cd1d78d22af2501467
wlan: Fix VOS Core run out of message wrapper.

Vos-Wrappers were  getting exhausted in case of Concurrent Session.
Whenever TL dosent get scheduled for longtime and incase of
concurrent sessions we don't check whether there has been a message of
type WLANTL_TX_STAID_AC_IND already posted to TL which is leading to
Vos Message Wrappers getting exhausted.

In non-Concurrent mode we directly invoke WDA_DS_StartXmit which will
post WDA_DS_TX_START_XMIT message to TL.

But in the case of Concurrent sessions we post WLANTL_TX_STAID_AC_IND
message then again post WDA_DS_TX_START_XMIT to TL.

The changes has been made to directly invoke WDA_DS_StartXmit
in case of both Concurrent/Non-Concurrent sessions.

Change-Id: I10c8e4a95dd7887a9cf9848b285e03aa784c3fdd
CRs-Fixed: 601242
wlan: DHCP start and stop WDI Indication

WDI state machine returns 'WDI_STATUS_SUCCESS_SYNC' in success case
not the 'WDI_STATUS_SUCCESS' for the WDI indication message i.e where
the host doesnt expect a response from the firmware.
DHCP start and stop indication also doesnt expect a response from firmware
so handled the indication message as part of this gerrit.

Change-Id: Ie19efd990ab2dfe75da6e0b0a9dffb75094659e8
CRs-Fixed: 610176
wlan: Fix for 32bit to 64bit conversion issue in csrCheckValidateLists

there is a 64-bit issue, but that the code is actually obsolete
so we're completely removing the csrCheckValidateLists()
functionality.

Change-Id: I80de15182b1d771fbafabba96d9a159047cc7947
CRs-Fixed: 582144
wlan: Pass current band information to reg notifiers.

Whenever the country is changed, the information of which channels
should be enabled is updated through regulatory notifiers.
To notify the channels as per the band selection, pass the band
information as per the user selection to reg notifiers.

CRs-Fixed: 611181
Change-Id: I1b17b12534d8e7bb5fcf844c32414b631959c167
wlan: Logging enhancement for connect and start bss path

Added info logs for connection indication to nl80211
and enabled error log in start bss path during SAP
disconnection.

Change-Id: I2fa2c97020cc9cfc95eccb2675dec776778a1350
CRs-Fixed: 614180
wlan: Resolved returning incorrect RSSI value.

Invalid RRSI is read by upper layer because of returning incorrect
length of buffer. Returning correct length by  by including
SSIDLEN to the return value of scnprintf(), in iw_get_rssi().

Change-Id: I8b68de372050bcf38c7fb8b043d0557d79250fab
CRs-Fixed: 616225.
wlan: VHT rate specific to pronto

'HAL_PHY_RATE_VHT_20MHZ_MCS_1NSS_NGI_86_5_MBPS' rate is
supported only on Pronto.So moved the code refering to this
rate under PRONTO conditional compilation flag.

Change-Id: Ic467a90346cce00d4d023d843a811b2e32b7dbb7
CRs-Fixed: 616637
wlan: dump valid channel list and scan control list

Dump scan valid channel list and the scan control list
whenver they are updated, this will help for debugging
purposes to confirm if the scan behavior is confirming
to the set regulatory domain.

Change-Id: I6f4db2ffb88034df095441194bf9c4ce2693c2e6
CRs-Fixed: 568968
wlan: Fix wlan_write_to_efs size

Correct size to wlan_write_to_efs
in vos_nv_write function.

Change-Id: I4005bb284132691910e3f1c1b99e108b094c58c1
CRs-fixed: 615014
Wlan: Changed memcpy to vos_mem_copy.

To change memcpy to vos_mem_copy in WDI (use VOS mem API wrappers)
for removing KW errors.

Change-Id: I4c2f6e34f1f53f61896a75dbdf5c0d09c3c37edc
CRs-fixed: 614708
wlan: Fix to pass global temporary dynamic IPv6 addr

In Stateless DHCP configuration, IPv6 AP is assigning global
temporary dynamic IPv6 address along with logic link and
global dynamic. As host is passing only logic link and
global dynamic address to FW. while running ping on global
temporary dynamic IPv6 address FW is droping this packet
instead of sending NS response

To address this issue pass global temporary dynamic IPv6
address along with logic link and global dynamic while
configuring NS offload

Change-Id: Ib248dc77fe24e4e1fe6e2dcb53e39fbf4d3d3a44
CRs-Fixed: 592499
WDA: Resolve KW Errors in WDA Module

Check for NULL pointer after vos_mem_malloc in
WDA_GtkOffloadGetInfoRespCallback function for
pGtkOffloadGetInfoRsp.

CRs-Fixed: 614713
Change-Id: I77f5ee0b23bb23cd310ed88034d841b8b50b223f
wlan: VHT rate specific to pronto

'HAL_PHY_RATE_VHT_20MHZ_MCS_1NSS_SGI_96_1_MBPS' rate is
supported only on Pronto.So moved the code refering to this
rate under PRONTO conditional compilation flag.

Change-Id: Iff7669cc9adadc10cf7a57e243b72c8ca7ea1121
CRs-Fixed: 616637
VOSS: Changes to use vos_timer_get_system_time instead of jiffies_to_msecs.

Changes to make sure that all logging mechanism use similar timestamp
which helps in correlating analysis when a kernel panic happens.

Change-Id: I4477e4eb54ea6535d759c91d250b6d4b706a1e42
CRs-Fixed: 578513
wlan: prima: Fix ambiguous ioctl error logging

There are multiple places where the message "Invalid IOCTL command" is
logged.  All of the messages are identical, so when the message is
actually logged it is impossible to determine exactly where, and hence
why, it was logged.  Update the logs to add the function name so that
the source of the log will be unique.

Change-Id: I5906627fc3ebd7896dd35e0b82579d02fa915bc3
CRs-fixed: 616348
Wlan: Revision 3.2.3.246

Revision 3.2.3.246