qcacmn: Use correct default phymode for 6GHz wide band scan

In 6GHz only 11AX onwards phymode is supported. Update default
phymode sent to FW in wide band scan request as 11AX HE20.

Change-Id: I56849adc8a37bf12e510c3c435a00a80952d42e3
CRs-Fixed: 2746701
Dieser Commit ist enthalten in:
Kiran Venkatappa
2020-08-03 17:41:25 +05:30
committet von snandini
Ursprung eeaa5b7471
Commit 98f996d608

Datei anzeigen

@@ -1380,9 +1380,13 @@ ucfg_scan_init_chanlist_params(struct scan_start_request *req,
WLAN_CHAN_15_FREQ)
req->scan_req.chan_list.chan[idx].phymode =
SCAN_PHY_MODE_11G;
else
else if (req->scan_req.chan_list.chan[idx].freq <=
WLAN_REG_MAX_5GHZ_CHAN_FREQ)
req->scan_req.chan_list.chan[idx].phymode =
SCAN_PHY_MODE_11A;
else
req->scan_req.chan_list.chan[idx].phymode =
SCAN_PHY_MODE_11AX_HE20;
}
end: