diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index e2970fb12c9b..804756ef03c0 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -379,6 +379,7 @@ struct vdev_delete_params { * @is_chan_passive: is this passive channel * @allow_ht: HT allowed in chan * @allow_vht: VHT allowed on chan + * @dfs_set_agile: is agile mode * @phy_mode: phymode (vht80 or ht40 or ...) * @cfreq1: centre frequency on primary * @cfreq2: centre frequency on secondary @@ -399,7 +400,8 @@ struct channel_param { dfs_set_cfreq2:1, is_chan_passive:1, allow_ht:1, - allow_vht:1; + allow_vht:1, + dfs_set_agile:1; uint32_t phy_mode; uint32_t cfreq1; uint32_t cfreq2; diff --git a/wmi/src/wmi_unified_non_tlv.c b/wmi/src/wmi_unified_non_tlv.c index d72aabc7559d..85ffa2f17a7e 100644 --- a/wmi/src/wmi_unified_non_tlv.c +++ b/wmi/src/wmi_unified_non_tlv.c @@ -193,6 +193,9 @@ QDF_STATUS send_vdev_start_cmd_non_tlv(wmi_unified_t wmi, if (param->channel.dfs_set_cfreq2) WMI_SET_CHANNEL_FLAG(&cmd->chan, WMI_CHAN_FLAG_DFS_CFREQ2); + if (param->channel.dfs_set_agile) + WMI_SET_CHANNEL_FLAG(&cmd->chan, WMI_CHAN_FLAG_AGILE_MODE); + if (param->channel.half_rate) WMI_SET_CHANNEL_FLAG(&cmd->chan, WMI_CHAN_FLAG_HALF);