Переглянути джерело

qcacmn: Add new config file for scan params

Add a new file ap_scan config file to store
scan params related to AP, as a part of
CONFIG_WIN cleanup

Change-Id: I195b0cc320bfc3e513a92c6710b003d0a029a510
Akshay Kosigi 5 роки тому
батько
коміт
aa3385d78d
2 змінених файлів з 10 додано та 13 видалено
  1. 10 0
      umac/scan/configs/ap_scan.config
  2. 0 13
      umac/scan/core/src/wlan_scan_main.h

+ 10 - 0
umac/scan/configs/ap_scan.config

@@ -0,0 +1,10 @@
+EXTRA_CFLAGS += -DMAX_SCAN_CACHE_SIZE=1024
+EXTRA_CFLAGS += -DSCAN_MAX_REST_TIME=0
+EXTRA_CFLAGS += -DSCAN_MIN_REST_TIME=50
+EXTRA_CFLAGS += -DSCAN_BURST_DURATION=0
+EXTRA_CFLAGS += -DSCAN_PROBE_SPACING_TIME=0
+EXTRA_CFLAGS += -DSCAN_PROBE_DELAY=0
+EXTRA_CFLAGS += -DSCAN_MAX_SCAN_TIME=50000
+EXTRA_CFLAGS += -DSCAN_NETWORK_IDLE_TIMEOUT=200
+EXTRA_CFLAGS += -DHIDDEN_SSID_TIME=0xFFFFFFFF
+EXTRA_CFLAGS += -DSCAN_CHAN_STATS_EVENT_ENAB=1

+ 0 - 13
umac/scan/core/src/wlan_scan_main.h

@@ -112,19 +112,6 @@ struct probe_time_dwell_time {
 #define SCM_NUM_RSSI_CAT        15
 #define SCAN_STA_MIRACAST_MCC_REST_TIME 400
 
-#ifndef CONFIG_MCL
-#define MAX_SCAN_CACHE_SIZE 1024
-#define SCAN_MAX_REST_TIME 0
-#define SCAN_MIN_REST_TIME 50
-#define SCAN_BURST_DURATION 0
-#define SCAN_PROBE_SPACING_TIME 0
-#define SCAN_PROBE_DELAY 0
-#define SCAN_MAX_SCAN_TIME 50000
-#define SCAN_NETWORK_IDLE_TIMEOUT 200
-#define HIDDEN_SSID_TIME (0xFFFFFFFF)
-#define SCAN_CHAN_STATS_EVENT_ENAB (true)
-#endif
-
 #define SCAN_TIMEOUT_GRACE_PERIOD 10
 #define SCAN_MAX_BSS_PDEV 100
 #define SCAN_PRIORITY SCAN_PRIORITY_LOW