wlan: Send proper reason code for deauth frame.

Currently during del_sta if CFG80211_DEL_STA_V2 flag is
not defined, internal reason code eCsrForcedDeauthSta is
populated and this reason code is finally send over the air.
As a part of fix made sure that proper reason code is send
over the air.

Change-Id: I2b7e2c37cd7ac268e26b89231b9af5248bfba050
CRs-Fixed: 775581
wlan: validate QOS context before updating status.

There is a possibility of updating lastStatus in QOS context after
QOS context is freed. Hence validate QOS context by checking magic
number before updating lastStatus.

Change-Id: I60b4c971835b4683a3d2b347ce1faaa2931bfc17
CRs-Fixed: 772983
wlan: Protect cfg80211 netdev ops and wext ioctls from SSR

Protect cfg80211, netdev ops functions and hostapd, wext ioctls from
accessing uninitialized or de-allocated data structures while SSR is
in progress.

Change-Id: I0c41da99ac245ed8b5580246f3e79f3a02ba2051
CRs-Fixed: 772343
Wlan: Release 3.2.3.485

Release 3.2.3.485

Change-Id: Ie8879a25fa126222ff50cb25d372cfdfa1461856
CRs-Fixed: 688141