wlan: Update the RegDomain table in vos_nvitem.c

The RegDomain table is updated properly according to latest RD research.

Change-Id: I3c34f2a6cc978e76417489883bdbe575b75a4407
CRs-fixed: 510146
wlan: Add NULL check before accessing configBssReqParam

Added NULL check before accessing configBssReqParam in
WDA_ProcessConfigBssReq and before sending the SIR_HAL_ADD_BSS_REQ
in limProcessMlmFTReassocReq to avoid NULL pointer dereference
at race conditions. Also added log in limProcessFTPreauthRspTimeout.

Change-Id: Iccb73d90e9b04e040f996c89d42dd7a437ed08d7
CRs-fixed: 459411
wlan: Minimizing the deauth process log

Log "received Deauth frame in DEAUTH_WT_STATE(already
processing previously received DEAUTH frame).. Dropping this.."
prints excessvily and leads to WD bark.Minimizing  the log
for every 15sec

Change-Id: I0287fafb46a5de92c5474d45ad9062b405556bcb
CRs-Fixed: 455636
WLAN:Drop the deauth frame when LIM is already processing one.

In eLIM_SME_WT_DEAUTH_STATE, deauth frames will be dropped
at the limProcessDeauthFrame() and print the debug message at
every 15th deauth frame.

Change-Id: I3171ef038ddc1d3606cb6a6073436d5c493b8d41
CRs-Fixed: 482708
wlan: Fix for passing multicast traffic over IBSS

The packets were going out with broadcast address since TL was not
using the destination address from the incoming packet. Also the
packet was being sent out on DPU descriptor which is configured
for sending unicast traffic causing the packet to retransmit. The
multicast packets don't have ACKs, hence there was MAC retransmit

Change-Id: I1e80f97a25595d6d576b21c462b02c2ae3d7388d
CRs-Fixed: 509454
wlan: Vacate DFS channel if there is  no acivity within 10 sec.

As per FCC requirement, DFS channel should be ceased within 10 sec,
if there is no activity on DFS channel.

CRs-fixed: 511605
Change-Id: Ie48e9f6f7cf5558e7c0c2b145495d8946a68cc1e
Wlan: Configuration Knob to enable/disable adaptive rx drain

Configuration Knob to enable/disable Adaptive Rx drain feature

Change-Id: Icb1b7a63688f2442fa9977b38cd940eda946a51a
CRs-fixed: 500104
Wlan: Configuration Knob to enable/disable adaptive rx drain

Configuration Knob to enable/disable Adaptive Rx drain feature

Change-Id: I8751f774c26799060ff4204bc87f5edc771964fd
CRs-fixed: 500104
Wlan: Revision 3.2.3.147

Revision 3.2.3.147
wlan: don't allow get/set okc/ccx,if ccx/okc/11r all supported

As per customer revised requirements,if the DUT supports 11R/CCX/OKC
simultaneously then GET/SET OKCMODE/CCXMODE operations are not
allowed. (it should return FAIL)

Change-Id: Id61decc51891c1225ffad345fa0b22f942b33a8e
CRs-Fixed: 509644
Implementation of FR-878

To support MCC-Coex DHCP indications are required.

CRs-fixed: 385843
Change-Id: I24b3c81f294d80e2a3e9a5ac33874f285b1aa7e7
Wlan: Revision 3.2.3.148

Revision 3.2.3.148
wlan: low throughput regression fix

To fix HW problem, introduce usleep between each frame drain
over RX thread, Sleep with RX thread made RX throughput issue.
Change sleep as busy wait, not to lost thread continuity.
Wait only happenn with small size of frame,
since crash only happen with small size of frame fast draining.

Change-Id: I562efe30ea0cde207da117b266553f0149cd1181
CRs-fixed: 508231
wlan: DTIM3 changed to DTIM1 after roaming

High level summary of the issue is DTIM3 getting changed to DTIM1
after roaming.
Root cause:
1. gEnabledModulatedDTIM=3 is configured and after the initial
association and wlan enters early suspend (When LCD goes OFF),
DTIM period (Modulated/Dynamic DTIM) is sent down to FW as a part
of SET_POWER_PARAMS_REQ and this triggers Exit/Enter BMPS.
2. During ENTER_BMPS_REQ in FW, Listen Interval (LI) is computed
based on Modulated DTIM (Which is 3 here), LI = LI * ModDTIM
Hence LI becomes 3 (DTIM3).
Modulated DTIM is stored per BSS (bssIdx = 0 in this case)
3. When roaming is triggered, as a part of this DELETE_BSS_REQ
in FW zeroes out Modulated DTIM to 0 (bssIdx = 0)
4. After successful roaming, next Enter BMPS_REQ does not consider
Modulated DTIM as this is 0 and LI remains 1 (DTIM1)
Because the LCD is already OFF (wlan suspended), this does not
trigger SET_POWER_PARAMS_REQ to change DTIM to 3.

Fix:
The fix is to identify, if the wlan is already in early suspend
during reassociation; if so then send down SET_POWER_PARAMS_REQ to
FW before the next ENTER_BMPS_REQ so that LI is recomputed and it
regains to DTIM3.

SET_POWER_PARAMS_REQ is sent after the SET_KEY_COMPLETE and before
ENTER_BMPS_REQ

Change-Id: I53f69ec4be7f25083a71db48ed16f1668ab1ceb5
CRs-Fixed: 513043
wlan: remove duplicate IF condition variable checks

The gerrit changes 380571 are done for the jb_mr2 branch
which does not have all the fixes from master branch.
With the gerrit 380571 on master branch introduces duplicate IF
condition which are already handled in hdd_set_pwrparams.

The fix is to remove checks which are not required and
already present in hdd_set_pwrparams

Change-Id: I17abf748deb28cf2c2783c734ad91a23a5e3fc31
CRs-Fixed: 513043
wlan: Add private ioctl "setTxMaxPower" for STA

SAP and STA has different names for ioctls to set Tx power. SAP uses
"setTxMaxPower" whereas STA uses "setMaxTxPower". Add "setTxMaxPower"
for STA as well to keep same syntax for SAP and STA. STA will continue
to support "setMaxTxPower" also.

Change-Id: I667f2046e975ea8f8b9a3cff17fc3c1a124950b8
CRs-Fixed: 509365
Wlan: Revision 3.2.3.149

Revision 3.2.3.149