prima: extscan: Update extscan start API
1. Add variable report_threshold_num_scans in tSirEXTScanStartReqParams
2. Add variables max_period, exponent and step_count
in tSirWifiScanBucketSpec.
3. Add variable homeAwayTime in tSirEXTScanStartReqParams.
4. Add blocking mechanism at HDD layer to avoid synchronization
problems at HAL layer.
5. Add enums to be in sync with hal proxy daemon.
Change-Id: I369a065a28ddcaaaaf3b090b146d5e0ae623118b
CRs-Fixed: 834122
diff --git a/CORE/MAC/inc/sirApi.h b/CORE/MAC/inc/sirApi.h
index 3101106..2317969 100644
--- a/CORE/MAC/inc/sirApi.h
+++ b/CORE/MAC/inc/sirApi.h
@@ -5255,6 +5255,10 @@
*/
tANI_U8 reportEvents;
+ tANI_U32 max_period;
+ tANI_U32 exponent;
+ tANI_U32 step_count;
+
tANI_U8 numChannels;
/*
@@ -5271,9 +5275,12 @@
tANI_U32 maxAPperScan;
/* in %, when buffer is this much full, wake up host */
- tANI_U32 reportThreshold;
+ tANI_U32 reportThresholdPercent;
+ tANI_U32 reportThresholdNumScans;
- tANI_U8 numBuckets;
+ tANI_U32 homeAwayTime; //in units of milliseconds
+
+ tANI_U8 numBuckets;
tSirWifiScanBucketSpec buckets[WLAN_EXTSCAN_MAX_BUCKETS];
} tSirEXTScanStartReqParams, *tpSirEXTScanStartReqParams;