wlan: Change in default ini value of gMaxMediumTime.

This fix will change the default ini value of gMaxMediumTime
from 6000 to 5480 which is the right safe max value as
clarified by HW team for low throughput issues.

Change-Id: Ia9c4676a5e169b10c2ff385d24f67d8e03086c9e
CRs-Fixed:  575078
wlan: Avoid race condition between set PTK key and the EAPOL frames

DPU drops the EAPOL frame, because of race condition between the
set PTK key and the EAPOL frames. Avoiding the race condition by
making sure that the set key request is done only after upper layer
authentication is completed.

Change-Id: I60ca004d47e6cb87872b425656143aa8f634b5f1
CRs-Fixed: 578377
wlan: Use HDD context flag to check SSR status

WDOG thread's SSR in progress flag is only set once the message is
serialized and processed at WDOG thread context. However HDD context
flag is set even before WDOG thread process this message (soon after
the remote SMD close is handled). So checking the HDD context flag
for SSR status would avoid potential race conditions.

CRs-Fixed: 606188
Change-Id: I19fb2dc2168634cf0b07141635b55c206e8c43aa
wlan: HDD: Prevent several cfg80211 functions to continue during SSR

This fix handles the scenario that while a certain cfg80211 funtion is
waiting for a specific event to happen, SSR is coming in. If waiting
timeout happens and the funtion continues to run, it may lead to crash.
Hence add the code to handle this case only when timeout happens.

Change-Id: I371cd284d074514d12add2a7a7cf9106a2fc1adb
CRs-fixed: 605427
wlan: Added flag to advertise extended slot index capabality

Added flag to advertise extended slot index capabality

Change-Id: Ic38dca4796a013d0e290c747090a1f5d5d2fcd0e
CRs-Fixed: 592499
wlan:Handle assertion raised during LFR roaming.

When roaming get fail, csrRoamRoamingStateDisassocRspProcessor will
post SME_QOS_CSR_HANDOFF_ASSOC_REQ to SME QoS Module which will
raised an assert into the sme_QosProcessHandoffAssocReqEv due to Qos
Current state mismatch. So Ideally SME QOS current state should be set
to init state before posting SME_QOS_CSR_HANDOFF_ASSOC_REQ msg.
Hence csr is setting HandoffRequested to False for that session
which will assist in resetting qos current state to init state during
handling of SME_QOS_CSR_DISCONNECT_IND (sme_QosProcessDisconnectEv).

Change-Id: Ie8be41317422682e607714d32499bfa6c0ab15ec
CRs-Fixed: 590508
wlan: Update SMD and SMSM header includes (revised)

Commit "wlan: Update SMD and SMSM header includes" added a mechanism
to determine which SMD and SMSM include files are present in the
kernel.  This change utilized modifications to both Android.mk and
Kbuild to make this determination.  This works fine when the wlan
driver is being built as part of an Android build (and hence
Android.mk and Kbuild are both used), but this does not work when the
wlan driver is being built as part of a kernel build (and hence Kbuild
alone is used), such as with Nexus products.  Remove the logic that
was added to Android.mk, and instead add equivalent logic to Kbuild.

Change-Id: Iee7ccf64b74401db52947cc4099678fdcb46f9f6
CRs-fixed: 595745
wlan: Fix of 32 bytes SSID length in batch scan rsp

Increasing SSID buffer size to 33 bytes to accomodate
1 extra byte for null character added by FW in batch
scan response

Change-Id: I2fde3949fceb353938db80d78f1fcdee8bbfd236
CRs-fixed: 606062
wlan: Don't Invoke hdd_connRemoveConnectInfo incase of successful Assoc.

As a part of hdd_smeRoamCallback for eCSR_ROAM_ASSOCIATION_COMPLETION
roamstatus, saved connection info is getting cleared because of
hdd_connRemoveConnectInfo being invoked even for successful assoc

hdd_connRemoveConnectInfo should not be invoked incase
successfull Associations.

Change-Id: Ibb1acac0bb23b86b7be20a1e83d77fa1afa10a8f
CRs-Fixed: 606949
Wlan: Revision 3.2.3.227

Revision 3.2.3.227