qcacmn: Update scan request with all channels
When scan is issued with 0 channels, use all valid channels on underlying vap to scan. In essence 0 channel in scan request is expanded to all supported channel list in scan request by host driver. Change-Id: Ie1677fa804b290bb1e4715244efb5789641260f4 CRs-Fixed: 2339615
Este commit está contenido en:

cometido por
nshrivas

padre
756d05e9e5
commit
a2f9c7c8b4
@@ -880,8 +880,7 @@ ucfg_scan_req_update_params(struct wlan_objmgr_vdev *vdev,
|
||||
if (custom_chan_list->num_chan)
|
||||
qdf_mem_copy(&req->scan_req.chan_list, custom_chan_list,
|
||||
sizeof(struct chan_list));
|
||||
else if (req->scan_req.scan_f_wide_band &&
|
||||
!req->scan_req.chan_list.num_chan)
|
||||
else if (!req->scan_req.chan_list.num_chan)
|
||||
ucfg_scan_init_chanlist_params(req, 0, NULL, NULL);
|
||||
|
||||
scm_debug("dwell time: active %d, passive %d, repeat_probe_time %d "
|
||||
@@ -1753,7 +1752,7 @@ ucfg_scan_init_chanlist_params(struct scan_start_request *req,
|
||||
* provided in scan request causing scan to take
|
||||
* too much time to complete.
|
||||
*/
|
||||
if (pdev && !num_chans && ucfg_scan_get_wide_band_scan(pdev)) {
|
||||
if (pdev && !num_chans) {
|
||||
reg_chan_list = qdf_mem_malloc_atomic(NUM_CHANNELS *
|
||||
sizeof(struct regulatory_channel));
|
||||
if (!reg_chan_list) {
|
||||
|
Referencia en una nueva incidencia
Block a user