qcacmn: Replace reg curchan with 6g ap power based chan list
The consumers of the current channel list may want to search through 6G channels that are not part of current channel list and belong to channel list of different power mode. Therefore, replace the regulatory current channel list with that of 6G power based channel list. Change-Id: Ie2ff8bbfb50a5f95f584b134b18246cb28b1c406 CRs-Fixed: 3110987
This commit is contained in:

committed by
Madan Koyyalamudi

parent
5aba520461
commit
e7b559d010
@@ -461,7 +461,8 @@ static void wifi_update_channel_bw_info(struct wlan_objmgr_psoc *psoc,
|
||||
}
|
||||
|
||||
wlan_reg_set_channel_params_for_freq(pdev, freq,
|
||||
sec_ch_2g, &ch_params);
|
||||
sec_ch_2g, &ch_params,
|
||||
REG_CURRENT_PWR_MODE);
|
||||
chan->band_center_freq1 = ch_params.mhz_freq_seg0;
|
||||
|
||||
if (wifi_pos_psoc->wifi_pos_get_fw_phy_mode_for_freq) {
|
||||
|
Reference in New Issue
Block a user