mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
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
This commit is contained in:
parent
eeaa5b7471
commit
98f996d608
1 changed files with 5 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue