TDLS: Revert "TDLS: Disappearing AP Trick Implementation "

This commit reverts Disappearing AP Trick requirement

Change-Id: Ibe0b575206c2b4e6e5253c13f53efeb77bfefdc5
CRs-fixed: 546261
(Reverting open source) Advertising proprietary IE (IBSS only)

Populating the prop IE (Oxygen network) in Beacon and
probe response frames sent by IBSS network only. An option is
provided in ini file to enable/disable populating the IE.

NOTE : Below CR is reverted with this gerrit
CRs-fixed: 509388
Wlan: Revision 3.2.3.175a

Revision 3.2.3.175a
Enhanced regulatory domain support

Following are the high-level changes in this feature:

1) Reduce the number of regulatory domains that are available from 9 to 4.
That is, only 4 out of the 9 regulatory domains in the NV.bin file would
be used and supported.

2) Add compulsory linux regulatory support to the wlan driver. The
support is added under the flag CONFIG_ENABLE_LINUX_REG.

3) Remove the WCNSS_qcom_cfg.ini item gCRDADefaultCountryCode

Change-Id: I5eef8ca53aafad69044d5468b50a3d266ee8ac1c
CRs-fixed: 538940
wlan : 11r : Add support to trigger roam using ioctl

To support VE cert testing, there is a need to trigger fast
BSS roam (11r roam) to a given BSSID without having dependency
on the RSSI triggers. The candidate AP to roam will have the
matching profile as of the current AP that STA is associated to.

Change-Id: Ie4aaec7207c72bbcb8c683deebe52a33ceb8a770
CRs-fixed: 529089
wlan: Include vendor specific IE in Beacon

Code to include VSIE of hostapd.conf in beacon.

CRs-Fixed: 538538
Change-Id: I610c644091a58558ed457f65db218cf2e166a331
Fix for WEP connectivity issue

when connecting in WEP security mode due to wrong check in driver
connection fails.correct the wrong check

Change-Id: Idd6dceb7d95925146d5252056bf0c82e0daea940
CRs-fixed: 530907
wlan: vos mem alloc debug API to return NULL in interrupt context

VOSS memory allocation API does not return memory
in interrupt context, modify the debug version of
the API to behave in same way.

CRs-Fixed: 538052
Change-Id: Ibae2cfac5f12190c747bf99af00aebc9b7bed830
wlan: Added debug print to know Hearbeat failure

Added debug print which will tell disconnection
due to missed beacon indication from firmware.

Change-Id: I5c6b74dd68506377972d339b1776744935a386c8
CRs-Fixed: 544241
wlan: Maximum allowed number of stations fix for IBSS

The maximum number of allowed stations should be same as hardware
supported stations when VSTA support is disabled. And when VSTA is
enabled, the maximum number of stations should increase.

The handling of error code from coalesce request was not handled
properly causing the kernel panic.

Change-Id: I30f5fd429ed5cb2b6282bd1c9df7b70df336ea14
CRs-Fixed: 536968
Introduce ADVANCE_TDLS flag for TDLS features.

This flag is too check whether firmware supports the TDLS
advance feature or not.

CRs-Fixed: 528442
Change-Id: I0e5397cf98dd2114199e0057aeb39e330e9b7645
wlan: Vos asserts due to assoc rej in concurrency

Fixes:
1. VOS_ASSERT in limProcessJoinFailureTimeout.
This vos_assert is triggered for not finding a session id.
When the connect request is issued, JoinFailure timer is
started for 10 * Beacon interval = 1020 ms in this case and
that assoc rsp results in reason code=17, CSR again tries to connect
to another BSSID while the timer is still running.
Now if this assoc rsp also fails with reason code=17, code deletes
the session created during add_bss and now if the join failure timeout
expires, it does not find the session, which is error or warning level,
but it is not fatal to log VOS_ASSERT. Hence changing this to LOGE.
And also, stop the join failure timer during delBss if the timer
is running and started for the same session on which delBss was
issued.

2. __limProcessSmeReassocReq: Session does not exist for given bssId
In this case, when CSR established successful connection 160ms before
assert, this function should not be called unless it is roaming
scenario; but even then not finding a session id here is not
a FATAL instead it can be ERROR or WARNING.

CRs-Fixed: 536215

Change-Id: I00746665119557c236f11387c9a74e7e652a8036
wlan: MIC attack detection failure fix

Within MIC attack detection function,
one of the argument is used not correct init value.
As a result, that argument assigned as a junk value and
MIC attack handle will return fail.
This problem is regression introduced by DIAG support.

Change-Id: Ic035599fa88e43839fa319f591fb7b39127a9e0d
CRs-fixed: 539877
wlan: set MC Rate Crash fix

When STA connected, if issue set_mc_rate IOCTL,
system crash happen.
Crash reason is when reset memory, it will overwrite stack.
Structure size calculation has problem and it will break stack.
Make correct structure size calculation.

Change-Id: I422fbdd9bb927d080d03fd9c6755dd44bd87e79e
CRs-fixed: 544021
wlan: Set max_sched_scan_ssids value from 9 to 16

Currently driver publishes support for only 9 networks
that can be offloaded to firmware when requesting
PNO scan, while firmware has support for 16 networks
that can be offloaded at a time. This commit increases
the number of sched scan ssids from 9 to 16

Change-Id: Ibf94b00ce901731543bc5c30920e39a8ee5dba89
CRs-fixed: 545628
wlan: CCX Channel cache type Enhancement

1)Channel cache type updated to Dynamic when passing channels
received from Neighbor Response Frame
2)The Response Frame received flag is being reset upon every
disconnection
3)The channels passed to the Firmware will be a union of channels
received via the Neighbor Response Frame and occupied channel
list.

Change-Id: Iab78f87dfe4ff0c8ce8a1647c55b2c767ee7aa3d
CRs-Fixed: 542857
Wlan: Revision 3.2.3.176

Revision 3.2.3.176
wlan:Fix for 20Mhz and 40Mhz shortGI support.

We were not using the parameter from ini called gShortGI20Mhz
and gShortGI40Mhz correctly. As a result we were not having
any effect of these ini parameters whether they are set or not set.

Change-Id: I8db78b1a50ea86dea2db0fa8f4a7cda655e3009c
CRs-fixed: 536051
TDLS : Check Advance TDLS Capability of the firmware.

Interoperability with the older firmwares which do not support
advance TDLS functionality ( PUAPSD , TDLS Off Channel) shall
fail.Hence query the same and issue LINK_ESTABLISH_REQUEST
accordingly.

Change-Id: I46fd16a22c729fdf4c5d0c203de11e0916e488dd
CRs-fixed: 528442
wlan: adding a new ini parameter to disable/enable AMSDU in AMPDU

This fix will give us a control on when to enable AMSDU support
and when to disable it. by default we are disabling AMSDU support

Change-Id: Ibfcf5245f1dd0bf938dcc7819642c939c4013c2c
CRs-fixed: 539301