diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index 9a32f42ebb..dd2f9559a2 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -1112,12 +1112,14 @@ struct ap_ps_params { * @num_chan: no of scan channels * @nallchans: nall chans * @append: append to existing chan list + * @max_bw_support_present: max BW support present * @ch_param: pointer to channel_paramw */ struct scan_chan_list_params { uint32_t pdev_id; uint16_t nallchans; bool append; + bool max_bw_support_present; struct channel_param ch_param[1]; }; diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index 352756c11c..159d0d294b 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -3152,6 +3152,9 @@ static QDF_STATUS send_scan_chan_list_cmd_tlv(wmi_unified_t wmi_handle, if (num_sends) cmd->flags |= APPEND_TO_EXISTING_CHAN_LIST; + if (chan_list->max_bw_support_present) + cmd->flags |= CHANNEL_MAX_BANDWIDTH_VALID; + cmd->pdev_id = wmi_handle->ops->convert_pdev_id_host_to_target( wmi_handle, chan_list->pdev_id);