wlan: Host driver changes to support batch scan

Host driver changes to support batch scan feature
CRs-fixed: 543172
wlan: Fix will resolve connectivity problem between 32 STAs
wlan: fix for IBSS open security crash due to IBSS join timer
wlan: Ignore wlan_hdd_linux_reg_notifier on (un)loading
wlan : remove Device Error Detection from WDI_ProcessSetMaxTxPowerRsp
TDLS: Move tdls_lock to HDD Context
wlan: rrm: Add support for multiple Beacon reports per channel
wlan: Fix for MC/BC packets sending issue in open security mode

Currently we are facing issue in sending Multicast and broadcast
packets in open security mode due to incorrect handling.

Change-Id: I0eb33170a5108f8d6ebf54cb375414ca9da9efed
CRs-fixed: 554649
Add the fix that was deleted in other change

Added the deleted changes for probe req data rate issue on 5G fix

Change-Id: I4312091bf8f4935b09a04d0398f887da05b19fdc
CRs-Fixed: 497478
TDLS : Protect the Adapter access with a mutex.

The adapter accesses by the TDLS code is not protected with the
concurrent access of the same by the cfg80211 callbacks (add / del
interface, change interface) and thus results in a kernel panic.This
commit provides the concurrent access to the adapter through a mutex.

Change-Id: I1bb9845097b40ba7d622950a119e934731c822b9
CRs-fixed: 546843
wlan : wmm : Switch from UAPSD to legacy power save with DelTS

With the existing support, STA does not switch back from UAPSD to
legacy power when AP sends DelTSpec for a tid. And Exit UAPSD
doesnot happen when processing the DelTspec received from AP.
Changes made in address these issues.

Change-Id: I7975dbf72e4097aef9d3648af82959ab70f3f278
CRs-fixed: 550442
wlan: add a separate mutex lock for each packet list

Add a separate mutex to protect every list instead of
one single mutex to protect all the four packet lists
in the VOS packet context. This gives flexibility to the
TX and RX Thread to run in parallel when they are trying to
access different lists.

CRs-Fixed: 553959
Change-Id: Idfbd3eb4d908da1e25a11a32f21abefc59a702ef
wlan: Place DHCP packets in VOICE queue on low resource condition.

The DHCP packets are transmitted in best effort access category
queues. When the queue is full, the dhcp renewel packets are
dropped resulting connection failure.
To avoid this, the DHCP packets are placed in VOICE queue if
best effort access category queue hits the low resource condition.

Change-Id: I093aa57e4f51cb29055bfc5453df8c8cd06f85d2
CRs-fixed: 534950
DroidSec: function iw_set_pno where sscanf return is not checked

Sscanf is called 10 times in this function, and return code is
checked for 4 of those calls. All must check return from all sscanf
to confirm that parameters were parsed correctly before subsequent
use

Change-Id: I83b56f05c7cc67284d802116dd054713ed2ab041
CRs-fixed: 554541
wlan: linux regulatory changes

Properly separate out the regulatory changes when CONFIG_ENABLE_LINUX_REG
is defined and when it is not defined.

Change-Id: Ia01777a8b2e18a52b532e460a9ebcb1ab3196e50
CRs-Fixed: 538940
SS Code changes to pass the code review inspection [UMAC} changes

The patch modifies UMAC code to pass the SS code review inspection

Change-Id: Id527265f0e3ed33a03ab242a3e0afec069487269
CRs-Fixed: 555476
wlan: Fix for disable/enable VHT for 2.4 GHz band

IEEE 802.11 specification does not mandate VHT operation in 2.4 GHz
band. Hence providing configuration option for enable/disable the
same.

Change-Id: Ib100233c5cd66b90debc38af11d35286fafacbac
CRs-Fixed: 554354
wlan: DroidSec: String handling and input validation issues

Fix to address String handling and input validation issues
in function hdd_parse_reassoc_command_data and
hdd_parse_channellist

1. Input character buffer is zero terminated
2. Helper function is added to verify MAC address
3. return value of sscanf is checked

Change-Id: I352959c46488c1730ca35bf15f5f2d380ff3ac85
CRs-Fixed:  553494
wlan: Fix issues reported by code inspection tool

Address issues found by third party code inspection tool

Change-Id: I873bc845487a72338ef5aaf705c54d005284b45d
CRs-fixed: 555246
wlan: Clean up API files

No real interface change. Align with P4 copy.

Change-Id: I707fc38c725a7e97f76cb9290f3f5e3658a696b7
CRs-fixed: 551945