wlan: Disabling logging service before nl service exit

Disabling logging service before nl service exit. Thus
avoiding the usage of closed nl sockets.

Change-Id: Ice098c2d5deeb3b6202095011af2d1395913c41c
CRs-Fixed: 715252
Set gChannelBondingMode24GHz to 1 by default

Currently, channel bonding for 2.4Ghz is disabled by default.
So STA will not connect in HT40 when AP is operating in HT40 mode.
Changes done to enable channel bonding for 2.4Ghz by default.

Change-Id: I9b3a9e171605ce60eb7d412fdcf56368c34ed8ca
CRs-Fixed: 715296
wlan: SME: Add NULL check for pSession value after CSR_GET_SESSION

In csrRoamProcessSetKeyCommand and csrRoamProcessRemoveKeyCommand
functions, CSR_GET_SESSION() returns NULL if sessionId is more than
or equal to CSR_ROAM_SESSION_MAX. This may lead to dereferencing
pSession initialised to NULL.

Adding NULL check for pSession value after CSR_GET_SESSION().

Change-Id: I27b7e2b9806e59ca1b2e46e408e2834b0561a144
CRs-Fixed: 703677
wlan: SME: Free memory allocated to pMsg in case of failure

In csrSendJoinReqMsg(), memory allocated to pMsg gets freed
only in palSendMBMessage() but does not get freed in case of
abrupt break from while loop.

Initialising pMsg to NULL after palSendMBMessage() function
and freeing pMsg memory outside while loop after NULL check.

Change-Id: Ibdcee39b3337d737b5418b40a6d1b71cda1f90ef
CRs-Fixed: 703677
wlan: print local BD/PDUs while taking DXE snapshot

The number of local BD/PDUs which are free can give
leads into why the DXE channels are masked and help
to debug data stalls. So print the number of free
BD/PDUs in local memory when taking a DXE snapshot

Change-Id: I65916ddb6481cf58665ecf20f4c7e1b3635a768d
CRs-Fixed: 708904
wlan: disable tx before sending DEL_STA/BSS request to the firmware

When the user tries to disconnect from the AP driver will issue
a DEL BSS request to the firmware. The firmware in turn will
delete all the BSS information. If there is uplink traffic between
DUT and the AP all the frames coming to the firmware after it has
deleted the BSS context will have to be processed by the firmware
as error frames and this processing can hog the firmware cycles
delaying the response to the host resulting in a WDI timemout.

To overcome this scenario, stop the tx queues in HDD so that the
firmware does not get flooded with data when it is processing
DEL BSS request.

Change-Id: Ifdfe1877bdc25e292727cdcada419bd72d59ed1e
CRs-Fixed: 700796
wlan: Fix ENUM of TDLS Channel and HAL_DEL_BA_IND

Fix ENUM of TDLS Channel and HAL_DEL_BA_IND so these are
in sequence and not the one in master.

Change-Id: I8b846646c25998a17af8c8bd321cf6319069a93f
Wlan: Release 3.2.3.406

Release 3.2.3.406

Change-Id: Ie6f330cb997fbd4c0bda19e2123d3b0b4a304f1d
CRs-Fixed: 688141