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
diff --git a/CORE/WDI/CP/inc/wlan_qct_wdi.h b/CORE/WDI/CP/inc/wlan_qct_wdi.h
index fcce9ba..6fe448a 100644
--- a/CORE/WDI/CP/inc/wlan_qct_wdi.h
+++ b/CORE/WDI/CP/inc/wlan_qct_wdi.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -4932,7 +4932,6 @@
#define WDI_ROAM_SCAN_MAX_CHANNELS 80 /* NUM_RF_CHANNELS */
#define WDI_ROAM_SCAN_MAX_PROBE_SIZE 450
-#define WDI_ROAM_SCAN_RESERVED_BYTES 61
typedef struct
{
@@ -4972,6 +4971,7 @@
wpt_boolean RoamScanOffloadEnabled;
wpt_boolean MAWCEnabled;
wpt_uint8 LookupThreshold;
+ wpt_uint8 RxSensitivityThreshold;
wpt_uint8 RoamRssiDiff;
wpt_uint8 ChannelCacheType;
wpt_uint8 Command;
@@ -4997,7 +4997,6 @@
WDI_MobilityDomainInfo MDID;
wpt_uint8 nProbes;
wpt_uint16 HomeAwayTime;
- wpt_uint8 ReservedBytes[WDI_ROAM_SCAN_RESERVED_BYTES];
} WDI_RoamOffloadScanInfo;
typedef struct