Send response to SME when switch channel fails.

LIM is not sending response to SME when switch channel fails while
roaming. Due to this the preauth (roam) is not freed from the SME
active command queue and leading to SME active command queue
stuck.

Send the preauth response with failure status from lim to SME
when switch channel fails while roaming.

Change-Id: I62ee5ac09937188bd3e5bc91d78ec5e3dba9cb86
CRs-Fixed: 702375
wlan: wdi: wpal: ratelimit invalid register read

Ratelimit wpalReadRegister failure messages which
can flood serial console during improper system
initialization or wcnss_device in shutdown state.
wpalRegisterInterrupt() call to wpalReadRegister is
likely to cause flooding.

Used __ratelimit linux android API to ratelimit.

CRs-Fixed: 703398
Change-Id: I6cc02c9c97b02bfd7d32439fa52ebabda7369f31
wlan: Protect wlan_hdd_tdls_pre_setup function from SSR

Protect wlan_hdd_tdls_pre_setup function from accessing
uninitialized or de-allocated data structures while SSR is in
progress.

Change-Id: Ica9903816e1968a58626e33f2ec401eab182a5af
CRs-Fixed: 707700
Accept RoC even if sta interface is in connecting state.

In concurrency cert test cases, RoC is rejected by the driver
because the driver is in connecting state for wlan0.
This is leading to failure as the peer device is not able
to discover the DUT.

Accepting the RoC even wlan0 is in connecting state. Driver dont
accept the RoC if p2p device is in connecting state.

Change-Id: Ie7410e26f6ab87624cb470c5551384f4a71579d2
CRs-Fixed: 708333
Wlan: Revision 3.2.3.399

Revision 3.2.3.399

Change-Id: I39c0f3f7e2fd633b7df86e5c5d6bd055ef54a629
CRs-Fixed: 688141
Merge branch 'master' of git://codeaurora.org/external/wlan/prima