wlan: wdi: avoid overriding smd state from closed to deffered

During SSR chaging local state of SMD to remote closed is
asynchronous event which is not protected by any locking
mechanism. This could potential cause a race condition in
setting SMD to desired state by driver.

Adding locking mechanism to ensure proper SMD state is known before
changing it.

Change-Id: Ia0975598ef20cd08538371437339d083be5e495e
CRs-Fixed: 763334
wlan: Provision to disable TDLS operations during BT Coexistence

The current design does not comply with TDLS operations
on the WLAN during BT coexistence.
This commit provisions a mechanism to disable the TDLS
operations during the BT coexistence. BTC module shall
indicate to disable / enable the TDLS operations.

Change-Id: Ib7e57809882ea9e4133af9f9f8624e777d3015fb
CRs-Fixed: 770792
prima: MAC:Delete Block Ack sessions before TDLS teardown.

Rx frames received through AP after TDLS teardown are dropped
due to sequence number mismatch in reorder function.
changes are made to address the above issue by deleting block ack
sessions before bringing down the TDLS session.

Change-Id: I5a9e3d190ad864d38a745574cc0a41767f1ec2bb
CRs-Fixed: 769634
wlan: Remove redundant ini parameter for DHCP debugging

Currently two ini parameters gEnableDhcpDebug and
gEnableDebugLog are used for DHCP debugging.

Changes are done to remove gEnableDhcpDebug ini parameter
and control the dhcp debugging using only one ini
parameter.i.e. gEnableDebugLog.

Change-Id: I203fe47efde152d01f350de7492e23f368805ad7
CRs-Fixed: 770283
wlan: Handle WAPI in the check to detect change in AP security.

As WAPI is not handled in AP security changed, upon connection,
when host receive a beacon the device will disconnect
asuming that the security changed.

Added check to handle the WAPI security as well in the check for
security change.

Change-Id: I033ce1c5c3c70f8ddc8e652b159b2b9adc24e56c
CRs-fixed: 770318
Wlan: Release 3.2.3.476

Release 3.2.3.476

Change-Id: I14730e56786e944dfd23773dac72f4aec40ee3c1
CRs-Fixed: 688141