qcacmn: Add 4.9 ghz frequency for scan command

Add 4.9 ghz frequency check also in scan command. This change
is needed so that scan entry is formed and association happens in 4.9ghz.

Change-Id: I2fbf719ea6a5e747e07a5973a2da3d2ca2d11b7b
Этот коммит содержится в:
Nandha Kishore Easwaran
2021-07-22 18:19:32 +05:30
коммит произвёл Madan Koyyalamudi
родитель 45988d32cc
Коммит b82dd5554f
2 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@@ -1553,6 +1553,7 @@ int wlan_cfg80211_scan(struct wlan_objmgr_vdev *vdev,
WLAN_REG_IS_24GHZ_CH_FREQ(c_freq)) ||
(req->scan_req.scan_f_5ghz &&
(WLAN_REG_IS_5GHZ_CH_FREQ(c_freq) ||
WLAN_REG_IS_49GHZ_FREQ(c_freq) ||
WLAN_REG_IS_6GHZ_CHAN_FREQ(c_freq)))) {
req->scan_req.chan_list.chan[num_chan].freq =
c_freq;

Просмотреть файл

@@ -1119,6 +1119,8 @@ ucfg_scan_init_chanlist_params(struct scan_start_request *req,
(req->scan_req.scan_f_5ghz &&
(WLAN_REG_IS_5GHZ_CH_FREQ(
reg_chan_list[idx].center_freq) ||
WLAN_REG_IS_49GHZ_FREQ(
reg_chan_list[idx].center_freq) ||
WLAN_REG_IS_6GHZ_CHAN_FREQ(
reg_chan_list[idx].center_freq)))))
scan_freqs[num_chans++] =