wlan:FTM fix for iwpriv

When use iwpriv command do FTM test, wlan driver should get FTM
response and check the result. But current code only signal a
complete when process FTM response, then discard the response,
Some customer want to add some new command to:
 -control Power control mode
 -enable DPD
 -set channel bonding mode
 -support 5G channel when use set_channel command

CRs-fixed: 477522
Change-Id: Ic774b20f94c194a66cfb4f5a38032a87b591d5fa
wlan: FTM second start crash fix.

New WIPHY API, with FTM mode, WIPHY registration does not happen.
So, cfg80211 does not have WIPHY instance.
But when unload driver, try to un-register WIPHY.
As a result, cfg80211 will crash with NULL pointer access.
If FTM mode, do not try to un-register WIPHY.

Change-Id: I598bab112c0dc351e36270252b55ca3747047302
CRs-fixed: 546549
wlan: reduce logging level of vos packet log

reduce the logging level of vos packet log
which is printed when low resource condition
is hit, so that the watchdog does not time out
due to excessive logging before the system has
time to recover

CRs-Fixed: 546188
Change-Id: Ib0f12fd9617756302ff424ac816ffbdf147b8075
wlan: Fix for FTM mode spin lock crash

During Open adapter in FTM mode disable TX queue and initialize
spin lock for each wmm access category

Change-Id: Ie28d046046535564afd30182826ca9c71797c802
CRs-Fixed: 547323
Wlan: Revision 3.2.3.178

Revision 3.2.3.178
wlan: Fix crash when the regulatory notifier is called unitialized

When the driver regulatory notifier is called, it may also get called
even when the driver did not initiate regulatory_hint. In such a case,
the completion variable linux_reg_req can be unitialized and lead to
a crash.

CRs-fixed: 538940