wlan: Enable DHCP, EAPOL logs dynamically

Enable DHCP and EAPOL logs dynamically when logger app
is enabled.

Change-Id: I00994ffa1d36d584d68fc7bdab92d88756adbf18
CRs-Fixed: 738707
wlan: Fix for SAP 11a mode.

Basically, Channel bonding is selected during start BSS,
by passing the operating channel and the hw_mode. The
hw_mode is passed to select CB mode function by Coverting
SapPhyMode To CsrPhyMode but there is no mapping for 11a
mode so the channel bonding is not reset based on the mode,
And the default CB mode is selected irrespective of the
hw mode set resulting the ADD BSS failure.

So to address this, add the Phymode mapping from SAP to
csr which is passed as a param while selecting the CB mode.

CRs-fixed: 750989
Change-Id: I28e385df40717ef6ae4b582655a2ba12cdff9c36
wlan: sme changes to parse reason-code in del_sta

del_station callback function in cfg80211 is enhanced to also include
the Deauthentication or Disassociation reason code which shall be
passed by the supplicant. To ensure the host driver interops with the
both versions of del_station implementation, a flag CFG80211_DEL_STA_V2
is defined in the kernel. Enhance the driver to rely on this flag and
thus use the respective del_station callback functionality.
If CFG80211_DEL_STA_V2 flag is defined, pass the reason-code received
from nl-layer to SME layer.

Change-Id: I13ba738f67a60da0f616c310250ff4545a861271
CRs-Fixed: 746133
wlan: hdd changes to parse reason-code in del_sta.

del_station callback function in cfg80211 is enhanced to also include
the Deauthentication or Disassociation reason code which shall be
passed by the supplicant. To ensure the host driver interops with the
both versions of del_station implementation, a flag CFG80211_DEL_STA_V2
is defined in the kernel. Enhance the driver to rely on this flag and
thus use the respective del_station callback functionality.
If CFG80211_DEL_STA_V2 flag is defined, pass the reason-code received
from nl-layer to SME layer.

Change-Id: Idbd939201b3d1ae0f24d4cca30d78792c44d4ce9
CRs-Fixed: 746133
wlan: PMF: Fix to delete pmfSaQueryTimer during SubSystemRestart

The issue is, when SSR is triggered, we are not deleting pmfSaQueryTimer
because the function which actually deletes this timer is not getting
called during SSR.
This solution will fix this issue. As part of this solution, when ever
SSR is triggered, we will loop through each STA per BSSID and deletes
the pmfSaQueryTimer associated.

CRs-Fixed: 750985
Change-Id: Ica68f17ab2971b571f7505653ff368a115749a4f
wlan:Set sessionId for scan issued via iwpriv.

Currently when scan is issued through iwpriv command,sessionId
is not stored in HDD context.As a result for abort scan we might
end up in sending improper sessionId.As a part of fix, make sure
that proper sessionId is set.

Change-Id: I91d24b42b8fd772778b79d30af8bfcf4bfa8767f
CRs-Fixed: 751617
wlan: Rate limit logs during SSR

During SSR avoid excessive logging of LOGP in __iw_setnone_getint(),
by calling kernel API __ratelimit.

Change-Id: Ic9c6c3c55a88bc4d8e9560285fc6a37dc5979776
CRs-Fixed: 751178
wlan: track enabling and disabling of rx interrupt

It has been observed that in some cases rx interrupt
gets disabled forever leading to a crash. Add code
to track who is manipulating the interrupt to help
fix such issues.

Change-Id: I2176cf3f41b1bb27b1fafad3dad2b5f500ad85f1
CRs-Fixed: 751813
WLAN: Add missing support for SHA256 akm suites for CCX

In the current host driver support for wpa-psk-sha256 is present
this gerrit adds support for wpa-8021x-sha256 in newly added CCX
code.

Change-Id: I599be5344382409315bdf4656250e7bd9aa83e99
CRs-fixed: 752300
Wlan: Revision 3.2.3.447

Revision 3.2.3.447

Change-Id: I94c48aa65cc9b3684ff3b96e5c1f2ae64dbfdbeb
CRs-Fixed: 688141