qca-wifi: Add dfs_set_cfreq2 flag in multivdev_restart channel params
While switching to 36 HT160 as part of multivdev restart, the channel params to be sent to FW are only updated with primary segment dfs set flag. Consider if the primary channel is 36 (non DFS), in which case, the primary HT80 segment is non DFS, but secondary HT80 segment is DFS. This will be indicated to FW by sending the flags with dfs_set as FALSE and dfs_set_cfreq2 as TRUE. But since dfs_set_cfreq2 is not updated incase of multivdev restart, FW does not detect radar in the secondary detector. Add proper dfs_set_cfreq2 flag in multivdev_restart channel params. Change-Id: I875534c3f61b1d9a36efe1ec63505332a59a4dd1 CRs-Fixed: 2496923
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
0e1d8dd797
commit
1bf4fb8c2a
@@ -1437,6 +1437,9 @@ static QDF_STATUS send_multiple_vdev_restart_req_cmd_tlv(
|
||||
if (tchan_info->dfs_set)
|
||||
WMI_SET_CHANNEL_FLAG(chan_info, WMI_CHAN_FLAG_DFS);
|
||||
|
||||
if (tchan_info->dfs_set_cfreq2)
|
||||
WMI_SET_CHANNEL_FLAG(chan_info, WMI_CHAN_FLAG_DFS_CFREQ2);
|
||||
|
||||
if (tchan_info->allow_vht)
|
||||
WMI_SET_CHANNEL_FLAG(chan_info,
|
||||
WMI_CHAN_FLAG_ALLOW_VHT);
|
||||
|
||||
@@ -9781,6 +9781,9 @@ QDF_STATUS send_multiple_vdev_restart_req_cmd_non_tlv(
|
||||
if (tchan_info->dfs_set)
|
||||
WMI_SET_CHANNEL_FLAG(chan_info, WMI_CHAN_FLAG_DFS);
|
||||
|
||||
if (tchan_info->dfs_set_cfreq2)
|
||||
WMI_SET_CHANNEL_FLAG(chan_info, WMI_CHAN_FLAG_DFS_CFREQ2);
|
||||
|
||||
if (tchan_info->allow_vht)
|
||||
WMI_SET_CHANNEL_FLAG(chan_info, WMI_CHAN_FLAG_ALLOW_VHT);
|
||||
else if (tchan_info->allow_ht)
|
||||
|
||||
Reference in New Issue
Block a user