wlan: get_sta_info not working

Fix data length when calling the get_sta_info instead of passing
length received from wext interface. wext interface pass zero.

CRs-fixed: 472666
Change-Id: Ief0bb3c74661081ec6f19c3b4b9cdc617a70bfad
wlan: mac: Remove obsolete compiler flags ANI_MIPS,ANI_ARM

The current code has ANI_MIPS and ANI_ARM conditional compilation.
No longer these flags will be defined,
so remove the conditional compilation.

CRs-fixed: 470101
Change-Id: Id2eeaae4a84aef45771bddd5ff8a220b7637901b
wlan: sme: Remove obsolete test code

removed ancient test code since it is non-functional
in the current architecture

CRs-fixed: 470101
Change-Id: Ic1b42bc889a129156d37848e630b6b938cbc106c
wlan: Do not send mobility domain when CCX enable

Disabling the mobility domain population in packet
when CCX is enabled

Change-Id: I2aa03869d12c9624ac729ff0b582acf0d9c519f7
CRs-fixed: 458765
Disable gDisableLDPCWithTxbfAP by default

In the current driver gDisableLDPCWithTxbfAP is enabled by default.
disable this by default.

Change-Id: Ia025086e2cf84beecde0fe4804874715b9cab72e
CRs-fixed: 468841
wlan: correction to logs messages

Log messages getting printed for both error and
working scenario. Hence adding if checks

Change-Id: I6bd95d1522363511a6fa20e5548468b7e06766e6
CRs-Fixed: 471433
wlan: 2nd set of run time roaming APIs

This is the implementation of next set to run time roaming APIs
GET/SET WES Mode (Wireless Extended Security)
GET/SET ROAMSCANCONTROL
Send Action frame
Receive Action frame

Change-Id: I8ec6b4a3110349e890cef1cd6e8b66f22177cfbe
CRs-Fixed: 453129
wlan: Feature Addition to disable RM

Radio Measurement Support will be
disabled during CCX using the feature
FEATURE_DISABLE_RM.The CCX IE's will
not be populated with RM support.

Change-Id: I37d020ad4f242f33e2c9dbab9c7b6f5995c1afbb
CRs-Fixed: 467735
wlan: Release 3.2.3.99
wlan: Fix NULL check after dereference in limSendSetMaxTxPowerReq()

Static source code analysis identified a case where a pointer was
being checked for NULL after it had already been dereferenced.  In
this case the NULL check is unnecessary, so remove it.

Change-Id: I51957046eab01cb8f4f9279ab76b7647a4564be7
CRs-fixed: 470188
wlan: remove obsolete palPipes.h

palPipes.h is an unused remnant from a past generation of the wlan
driver.  Since none of the definitions in this file are actually being
used today, remove the file and all references to it.

Change-Id: I8f85d90eecbea12688dc97b4a8cfc8cdb918bf43
CRs-fixed: 470101
wlan: Fix potential NULL dereference in csrRoamRssiRspProcessor()

Static source code analysis identified an issue in
csrRoamRssiRspProcessor() where a pointer was being tested for NULL
after it had already been dereferenced.  Update the code to test the
pointer for NULL before dereferencing it.

Change-Id: Ia8406c1eb24ede9d8744625c7bed596197fcc548
CRs-fixed: 470188
wlan: Fix NULL dereference in pmmEnterWowlRequestHandler()

Static source code analysis identified an issue in
pmmEnterWowlRequestHandler() where a pointer was being checked for
NULL after it had already been dereferenced.  Modify the code to check
for NULL before the dereference.

Change-Id: I1b1100c716c0f8d68d81e9d684dab245d22b3c92
CRs-fixed: 470188
Send unicast probe request when AP caps change detected.

Some buggy APs not setting privacy bit in capability
field of beacons if hiddne SSID is enabled. With these
APs the STA is always getting disconnected because
of AP capability change event from LIM.
To address this issue the followinge changes are done.
1. If the SSID in beacon is NULL and if the privacy bit
setting is not matching with existing privacy bit
settings, then send directed probe request frame
instead of sending AP caps changed event to SME.
2. After receiving probe response frame compare the
capabilities and if it still not matching then send
the AP caps event to SME.
3. If the capabilities in probe response are matching
with the existing settings then mark this event and
ignore all subsequent false alarms.

Change-Id: I6cd6ba45231b17ed4048dd0cce0a7b59de1b778c
CRs-Fixed: 447997
TDLS 11ac IOT issue due to missing AID IE and wrong vhtCapInfo

Include AID IE in TDLS setup req/res frame. Set AID's bit 14/15
to 11'b. Include VHTCapIE in TDLS discovery response frame if
operating channel is 5Ghz.
Remove hardcoded supportedChannelWidthSet, ldpcCodingCap and
suBeamFormerCap in VHTCapIE in TDLS setup req/res and TDLS
discovery response, which misleads 3-rd party device.

Change-Id: I571a096035fecf69b39e52456bad3b3b5a0d6116
CRs-Fixed: 468772
wlan: Fix NULL pointer dereference in wlan_hdd_tdls_add_station()

Check for the StaParams pointer is not NULL before passing it to
sme_ChangeTdlsPeerSta(). Where we are dereferencing this pointer.

CRs-Fixed: 470188
Change-Id: Iceeecfa7b04e0882f84a6792b605cc966a730bb4
wlan: Release 3.2.3.100
wlan: Enumeration Type Change

It is good to start valid enum types
with a non-zero value.Otherwise there
is a chance that the structure using
the enum may be initialized to zero
and after that a comparision to the
first item(which may be zero) may lead
to a conditional check match and further
process the code even though it may not
be required.

Change-Id: I39816fd437d31b4476d41a6130f84f570a2bc615
CRs-Fixed: 473532
Configure the retry limits using .ini

Update the default configuration of retry limits with the user
defined configuration values.

Change-Id: I372b856bc2a4f031a7ee9e1e60cd25cc13277e1d
CRs-Fixed: 460262
wlan: Release 3.2.3.101