wlan : Fast transition (11r)

- Set Key along with the Config BSS command to HAL
  to improve the 11r roam latencies
- Move the TL state to Authenticated to allow TX Data
  when set GTK is received at driver from supplicant
- Optimize the memcpy in hdd_SendFTEvent

Change-Id: Iab9f1fbcc4a11bd1a2e521885a6beaf1f6a9068a
CRs-fixed: 465419
TDLS: Disappearing AP Trick Implementation as part of Oxygen support.

This commit introduces Disappearing AP Trick requirement as part of
oxygen implementation.

Change-Id: Ie8d687c433777b305c5ad9e1ed70d692e7d3320b
CRs-fixed: 471056
wlan: Release 3.2.3.119

wlan: Release 3.2.3.119
Fixing static source code analysis errors in UpperMAC

Fixes for UpperMAC errors reported by static soure code analysis tool.

Change-Id: Ib684a5d8c64cd451d6a4912ddc659e2f7a88e4e1
wlan: Release 3.2.3.120

wlan: Release 3.2.3.120
wlan: IBSS open/wep support using NL interface

Current driver does not work when we create/join
the IBSS over NL interface.
Modify driver to support IBSS using NL interface.

CRs-Fixed: 487731
Change-Id: I7b2d329c6481cff94c9ba40d7a377408a7573f9f
wlan: NL support for PNO

When host goes to suspend it can offload
preferred network list(if any) so that chip would perform
periodic scan and indicate host about availability of the
network once the DUT comes in the range of preferred network.

CRs-fixed: 404091
Change-Id: I321f97f4b26713530e9c5d787fe22a885087f2d3
wlan: Wrong interpretation for WAPI encryption

Wrong interpretation of WAPI encryption type at SME was creating
problem while configuring PSK and Group Key at FW.
Due to which DUT was not able connect WAPI AP with PSK/Cert Security

CRs-Fixed: 489010
Change-Id: I0692cef89f4f468d6a290dc446a996d27fa7d8fa
Fix for incorrect value of rssi for TDLS peer

Check if the packet is on direct link or AP link when we
received the packet from TDLS peer.
Update the rssi for TDLS peer only if the packet is received
over the direct link.

Change-Id: Ifae78ddcbf270b0c10b2b01add8e05a7018c86af
CRs-Fixed: 473669
wlan: Don't flush scan results whenever Country code is changed.

In case, when Country code is being change frequently,
Scan results are getting flushed every time.
In noisy environment, where user get country frequently
scanning frequently can make some AP in "not in range".

CRs-Fixed: 489079
Change-Id: I81ed59a318d409cabced777f5d9097b398e17b8f
wlan : Fast transition (11r)

- Call cfg80211_put_bss in the ft_carrier_on paths to
address the leaking of reference if ft_carrier_on is set.

Change-Id: I770569fc0eb980dd37898c00c807708fc789cb69
CRs-fixed: 489675
wlan: IBSS: Release peerIdx when the peers are deleted

Currently, the peerIdx is not released when the peer is deleted.
This is critical to support when the connection type is volatile
like IBSS.

Change-Id: I4485bc4e2477a96190856bee25dba8c0710267a0
CRs-Fixed: 488904
wlan: Release 3.2.3.121

wlan: Release 3.2.3.121
Fix for the data stall on TDLS initiator

Increase the WAIT_TIME_TDLS_INITIATOR i.e. maximum time to wait
for tdls initiator to start direct communication from 300ms to
600ms.

Change-Id: Idce3a34e5e32fa8fc2db00de8202570c3f1b337e
CRs-Fixed: 483178
Fix for error in P2P area reported by static source code analysis tool

Fix for error in p2p area reported by static source code analysis tool

Change-Id: I6359ca632f15623daed4bfa24f3a4d7220183249
wlan: Aborting scan while disconnect is in progress.

Before any scan is done, if there is any disconnect
due to some reason, supplicant always issue a new scan
which can cause failed to start AP scan.

CRs-Fixed: 489069
Change-Id: Id16ea6a4abd028402cec45cf9f4bbdea44cd629a
wlan: Added a check before updating the rssi value

Added a conditional check before updating the rssi value

CRs-Fixed: 475979
Change-Id: I774d1fcdbb44425f20b0e8f9d450a5e8723cfda5
wlan: Release 3.2.3.122

wlan: Release 3.2.3.122
wlan: set appropriate flags for wiphy device based on current regdomain

When the driver loads and sets up the regulatory domain make sure that
the static channel list populated in the wiphy device has correct flags
set so that the supplicant does not end up trying to use channels which
are not supported due to h/w limitations or limitations enforced by the
driver configuration or regulatory domain limitations.

CRs-Fixed: 459244
Change-Id: I2930561d0cfde574b70789bb31eea458b56a3086
wlan: Add field to RSN IE when PMF is enabled

When Protected Management Frames (PMF, 802.11w)
is enabled on a connection, then there is a field added
to the RSN IE, the Group Management Cipher Suite
field.  This field is placed in the RSN IE by the supplicant.
But, when LFR is enabled, the host driver constructs
the RSN IE for Assoc Req itself.  This change modifies
the driver so that this new field is added to the RSN IE
when PMF is enabled for the connection.

Change-Id: I815f0ddff70a1190745f4545e364ae79f2ad84f8
CRs-Fixed: 452558