wlan: Protect standard hostapd ioctls from SSR

Protect standard hostapd ioctl functions from accessing uninitialized
or de-allocated data structures while SSR is in progress.

Change-Id: I26788c2855f783c097a62b7fb77c35cc31bf04cf
CRs-Fixed: 709101
wlan: Protect private hostapd ioctls from SSR

Protect private hostapd ioctl functions from accessing uninitialized
or de-allocated data structures while SSR is in progress.

Change-Id: I278cfddf6cc85b8ad9b04adf1d653598724e0f34
CRs-Fixed: 709101
wlan: Handle WLAN_HAL_DEL_BA_IND in host.

Currently  WLAN_HAL_DEL_BA_IND is not being handled in host.
Handle WLAN_HAL_DEL_BA_IND in host and send the DEL BA to peer.

Change-Id: Id771338a783ba800952de35bd11b3c0e7cc45f9c
CRs-Fixed: 709516
prima: NoA should be requested for only MAX PASSIVE DWELL TIME

During Passive Scan the NoA should be requested for only MAX
PASSIVE DWELL TIME. In current  implementation the NoA is
being requested for MIN PASSIVE DWELL TIME plus MAX PASSIVE DWELL
TIME.

Change-Id: I9a39b5702329e841ece9017088d234a82ff39dac
CRs-Fixed: 712236
wlan: Disable TX Async logic.

Currently  when WDA 10 sec timeout happens in
WDA_Txpacket we try to resync the DXE registers
by passing  debug flag WPAL_DEBUG_TX_DESC_RESYNC
in ChannelDebug. Removing this flag so that
TX async logic doesn't execute.
This is being done as recently row resource issues
are seen due to this logic.

Change-Id: I5320f6056e32172cd07054256b34cdb90c217fbe
CRs-Fixed: 698269
wlan: Fix to initialize the third character of country code

The country  code received as part of reg_notifier is of two character and
does not  specify the third character which signifies operating environment.
Hence , initialize the third character to an ASCII space charater ,
with the assumption that the station encompasses all environments for the
current frequency band in the country

Change-Id: Iffc3f585e68f01c3948c5110f898387eb0ff6225
CRs-Fixed: 710990
wlan: update unsafe channel list with valid channels.

In hdd_hostapd_ch_avoid_cb(), update  unsafe channel list if
channel  falls under valid channel list.
In hdd_hostapd_update_unsafe_channel_list() make sure
unsafeChannelCount maximum value is NUM_20MHZ_RF_CHANNELS.

Change-Id: I52dd6f5a9f6e20de0192ad25d0cdb8dcd35d3796
CRs-Fixed: 713606
Wlan: Release 3.2.3.403

Release 3.2.3.403

Change-Id: I9748901ff92361d0a2d89fd53f675cd1471c792f
CRs-Fixed: 688141