wlan: Dynamic Lookup Threshold Calculation

The Lookup threshold is programmed based on the
minimum data rate that is supported by the
connected AP and also it's Receive Sensitivity
Threshold.The LFR background scans would be
performed starting from the Lookup Threshold
until it reaches the Rx Sensitivity threshold
stepping down 3dB at a time.Once done with the
occupied channels scan, a full scan on all the
valid channels is performed.

Change-Id: I85dfac0960490eb91cdccc38dd9901f195d010c6
CRs-Fixed: 593673
wlan: per AC re-order aging time

Enable configuring different re-order aging times per AC.

CRs-fixed: 576877
Change-Id: I6131018a00e196fe2042a61194f935f64d0ad00e
wlan: API Change to Support RxSensitivity Threshold

Rx Sensitivity Threshold would be calculated based
on the minimum data rate and provided to the firmware.
One of the reserved bytes is being used to pass on
this value. So, the structure size would eventually
remain same.

Change-Id: I4247068f27a4bc925b94c4549da31add6a90adfa
CRs-Fixed: 598265
Wlan: Revision 3.2.3.217

Revision 3.2.3.217
wlan: do not register wiphy structure for FTM mode

In FTM mode set_wiphy_dev called by wlan_hdd_cfg80211_init binds the wlan
device with Linux wiphy device tree.
Since un-registration is done by Wiphy_unregister during unload, device is
not unbind from LINUX device tree. As result kernel crash observed when
linux device tree try to power control for Wiphy device which is already
freed by WLAN unload driver.
So do not wlan_hdd_cfg80211_init for FTM mode.

Change-Id: Iae8b1d79e6b32d61a6f9bb230d898d1c49e48efb
CRs-Fixed: 594711
wlan: Fix of batch scan string format

Batch scan scan list should not start with #### marker

Change-Id: Ibd758787ac9e1358573a21c9069388877c2cf043
CRs-fixed: 598347
wlan: Fix ioctl copy issue

Few IOCTL's SET command's uses ODD number,
so we cannot utilize kernel facility "extra".
We need to copy the user data in kernel buffer
using copy_from_user function.

Change-Id: I550bf90fbbacb9d5ac4187ed423fca90fafccad1
CRs-Fixed: 596898
Wlan: Revision 3.2.3.218

Revision 3.2.3.218