qca-wifi: Add 80p80_enabled flag while finding RCAC channel
While finding RCAC frequency, if you're current bandwidth is 165MHz (pine 80p80MHz), add 80p80_enabled flag for Rolling CAC random channel selection, which allows the channel selection logic to fallback to 160MHz bandwidth and find a channel. CRs-Fixed: 2738917 Change-Id: I70add1b2a3c3252b1bd6bf99cffc9b9727be4f56
这个提交包含在:

提交者
Gerrit - the friendly Code Review server

父节点
a413bf278f
当前提交
8b5ce9a790
@@ -5273,6 +5273,13 @@ static qdf_freq_t dfs_find_rcac_chan(struct wlan_dfs *dfs,
|
||||
*/
|
||||
uint16_t flags = DFS_RANDOM_CH_FLAG_NO_CURR_OPE_CH;
|
||||
|
||||
/* Add Restricted 80p80 enabled bit to the flag so that
|
||||
* random channel selection will fallback to 160MHz and pick
|
||||
* 160MHz channels if the current operating BW is 165MHz.
|
||||
*/
|
||||
if (WLAN_IS_CHAN_MODE_165(dfs, dfs->dfs_curchan))
|
||||
flags |= DFS_RANDOM_CH_FLAG_RESTRICTED_80P80_ENABLED;
|
||||
|
||||
dfs_fill_des_rcac_chan_params(dfs,
|
||||
&nxt_chan_params,
|
||||
curchan_chwidth);
|
||||
|
在新工单中引用
屏蔽一个用户