Browse Source

Merge "qca-wifi: Add dfs_set_cfreq2 flag in multivdev_restart channel params"

Linux Build Service Account 5 years ago
parent
commit
52c8ecc843
2 changed files with 6 additions and 0 deletions
  1. 3 0
      wmi/src/wmi_unified_ap_tlv.c
  2. 3 0
      wmi/src/wmi_unified_non_tlv.c

+ 3 - 0
wmi/src/wmi_unified_ap_tlv.c

@@ -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);

+ 3 - 0
wmi/src/wmi_unified_non_tlv.c

@@ -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)