summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/hdd/src/wlan_hdd_scan.c1
-rw-r--r--core/mac/inc/sir_api.h2
-rw-r--r--core/wma/src/wma_scan_roam.c1
3 files changed, 4 insertions, 0 deletions
diff --git a/core/hdd/src/wlan_hdd_scan.c b/core/hdd/src/wlan_hdd_scan.c
index a97564e53fa6..cb0b9631b988 100644
--- a/core/hdd/src/wlan_hdd_scan.c
+++ b/core/hdd/src/wlan_hdd_scan.c
@@ -2715,6 +2715,7 @@ static void hdd_config_sched_scan_plan(tpSirPNOScanReq pno_req,
struct cfg80211_sched_scan_request *request,
hdd_context_t *hdd_ctx)
{
+ pno_req->delay_start_time = request->delay;
/*
* As of now max 2 scan plans were supported by firmware
* if number of scan plan supported by firmware increased below logic
diff --git a/core/mac/inc/sir_api.h b/core/mac/inc/sir_api.h
index e3a32c780cd5..db9e319c4dd8 100644
--- a/core/mac/inc/sir_api.h
+++ b/core/mac/inc/sir_api.h
@@ -2941,6 +2941,7 @@ struct connected_pno_band_rssi_pref {
* @sessionId: Session identifier
* @fast_scan_period: Fast Scan period
* @slow_scan_period: Slow scan period
+ * @delay_start_time: delay in seconds to use before starting the first scan
* @fast_scan_max_cycles: Fast scan max cycles
* @us24GProbeTemplateLen: 2.4G probe template length
* @p24GProbeTemplate: 2.4G probe template
@@ -2960,6 +2961,7 @@ typedef struct sSirPNOScanReq {
uint8_t sessionId;
uint32_t fast_scan_period;
uint32_t slow_scan_period;
+ uint32_t delay_start_time;
uint8_t fast_scan_max_cycles;
uint32_t active_min_time;
diff --git a/core/wma/src/wma_scan_roam.c b/core/wma/src/wma_scan_roam.c
index cec861b3bc66..656f1dabd29f 100644
--- a/core/wma/src/wma_scan_roam.c
+++ b/core/wma/src/wma_scan_roam.c
@@ -3156,6 +3156,7 @@ QDF_STATUS wma_pno_start(tp_wma_handle wma, tpSirPNOScanReq pno)
params->fast_scan_period = pno->fast_scan_period;
params->slow_scan_period = pno->slow_scan_period;
params->fast_scan_max_cycles = pno->fast_scan_max_cycles;
+ params->delay_start_time = pno->delay_start_time;
params->active_min_time = pno->active_min_time;
params->active_max_time = pno->active_max_time;
params->passive_min_time = pno->passive_min_time;