wlan: modify the timestamp format for the logs

Modified the timestamp format for the logs from
[Secondselapsedinaday.microseconds] to [hour:min:sec.msec].
This will help in correlating the logcat logs and
the Logging infra logs.

Change-Id: Ie58d78b9987e1e09fedef5ba042768000fdc4363
CRs-Fixed: 771157
wlan: Fix Race Condition in WDA_TxPacket.

In WDA_TxPacket(VosMCThread) in case of Tx timeout, 1st callback
is set as null and then flag is set as timeout. While in
WDA_TxComplete(VosTXThread), 1st it check whether flag is timedout
and then it checks for callback to free Vos Pkt. Hence a race
condition arises whereby Vos Pkt can never be free.
As a prt of fix made sure that in both thread condition check is
in same order.
Change-Id: Ic01d433b40f6282e4b4b049c1e7ddae66220733d
CRs-Fixed: 771010
wlan: Do not send unsafe channels while SAP restart.

As MCC is not supported in STA-SAP concurrency, the SAP is restarted
if its operating channel is differnt than the STA channel, during this
restart, the avoid channels are also notified irrespective of
LTE event which will make SAP to consider these avoid channels.

To address this, restart the SAP without the false channel avoid
notification.

CRs-FIxed: 771700
Change-Id: Ib2e7a657c28b1f8cf5fa7ace442e15b3030de909
wlan: update comments for SAP operating band for 5GHZ.

With gAPChannelSelectOperatingBand=5, it is possible to select
a least congested channel in entire 5G band using ACS.

CRs-Fixed: 771703
Change-Id: I4d12f2b821f67677b76cd9a3b8367ed454da3274
wlan: Send correct deauth reason code for keep alive timeout.

Send correct deauth reason code when keep alive timeout occurs.

CRs-Fixed: 772435
Change-Id: I1c1b8d223ab50735ce7a8acfce7915179f2778c3
wlan: hdd: send protocol reason code for auth fail

When attempt of connection fails, driver sends the generic
reason code instead of sending protocol reason code.
This restricts application not to reconfigure station to
SHARED-WEP when OPEN-WEP authentication fails.
This change has been done in a way that driver will send exact
protocol reason code in case of OPEN-WEP or SHARED-WEP besides
station interface is not in connected state.

Change-Id: Ic04d9467c7c5cb5b6777671820f2c5bba811a12f
CRs-Fixed: 772872
wlan: Set tdls mode to disable in case of unloading.

At the time of driver unload; if tdls connection is present
and if traffic is going on; hdd_rx_packet_cbk calls
wlan_hdd_tdls_find_peer.
wlan_hdd_tdls_find_peer always checks for valid context before
finding peer in list.
As a sanity check driver will print error message as
load/unload in progress and that can be result in excessive logging.
hdd_rx_packet_cbk calls wlan_hdd_tdls_find_peer only
when tdls state is enabled.
Fix this issue by making TDLS as disable.

CRs-Fixed: 767748
Change-Id: I48fb26028011e1a4dc0a8dd0fa332c2c6d850e91
wlan:SAPHT40 2.4GHz: Pass Proper STA ID while removing HT40 Intolerant STA

In case of force disassoc/deauth, as part of disassoc/deauth
indication it will never fill the STA id which result into
garbage value. Get STA id from the Mac Address while removing
HT40 Intolerant STA instead of taking from Disassoc/Deauth
indication message.

Change-Id: Id46b42653d90e2833e0af1e2eae2ced26ba69670
CRs-Fixed: 771638
Wlan: Release 3.2.3.479

Release 3.2.3.479

CRs-Fixed: 688141
Change-Id: Ifc05557d0149972dd9143f5c55bf5b682575b508