wlcore: configure dwell times according to scan type
Allow configuring different dwell times to the different scan types (regular and scheduled). Add new configuration entry (dwell_time_dfs) to conf_scan_settings, in order to allow setting different values for normal scan and scheduled scan. Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
此提交包含在:
@@ -84,7 +84,8 @@ static int wl18xx_scan_send(struct wl1271 *wl, struct wl12xx_vif *wlvif,
|
||||
}
|
||||
|
||||
wlcore_set_scan_chan_params(wl, cmd_channels, req->channels,
|
||||
req->n_channels, req->n_ssids);
|
||||
req->n_channels, req->n_ssids,
|
||||
SCAN_TYPE_SEARCH);
|
||||
wl18xx_adjust_channels(cmd, cmd_channels);
|
||||
|
||||
/*
|
||||
@@ -214,7 +215,8 @@ int wl18xx_scan_sched_scan_config(struct wl1271 *wl,
|
||||
|
||||
/* configure channels */
|
||||
wlcore_set_scan_chan_params(wl, cmd_channels, req->channels,
|
||||
req->n_channels, req->n_ssids);
|
||||
req->n_channels, req->n_ssids,
|
||||
SCAN_TYPE_PERIODIC);
|
||||
wl18xx_adjust_channels(cmd, cmd_channels);
|
||||
|
||||
cmd->short_cycles_sec = 0;
|
||||
|
新增問題並參考
封鎖使用者