diff --git a/wmi_unified_priv.h b/wmi_unified_priv.h index 042c7c0bdb..3a1f58fea7 100644 --- a/wmi_unified_priv.h +++ b/wmi_unified_priv.h @@ -574,6 +574,9 @@ QDF_STATUS (*send_offload_11k_cmd)(wmi_unified_t wmi_handle, QDF_STATUS (*send_invoke_neighbor_report_cmd)(wmi_unified_t wmi_handle, struct wmi_invoke_neighbor_report_params *params); +QDF_STATUS (*send_roam_bss_load_config)(wmi_unified_t wmi_handle, + struct wmi_bss_load_config *params); + QDF_STATUS (*send_btm_config)(wmi_unified_t wmi_handle, struct wmi_btm_config *params); diff --git a/wmi_unified_roam_api.h b/wmi_unified_roam_api.h index 12ae77a27c..48cfdfc5a4 100644 --- a/wmi_unified_roam_api.h +++ b/wmi_unified_roam_api.h @@ -298,6 +298,16 @@ QDF_STATUS wmi_unified_roam_send_hlp_cmd(void *wmi_hdl, QDF_STATUS wmi_unified_send_btm_config(void *wmi_hdl, struct wmi_btm_config *params); +/** + * wmi_unified_send_bss_load_config() - Send bss load trigger params to fw + * @wmi_hdl: wmi handle + * @params: pointer to wmi_bss_load_config + * + * Return: QDF_STATUS + */ +QDF_STATUS wmi_unified_send_bss_load_config(void *wmi_hdl, + struct wmi_bss_load_config *params); + /** * wmi_unified_offload_11k_cmd() - send 11k offload command * @wmi_hdl: wmi handle diff --git a/wmi_unified_roam_param.h b/wmi_unified_roam_param.h index 3daac3bcf5..2b88f0ef84 100644 --- a/wmi_unified_roam_param.h +++ b/wmi_unified_roam_param.h @@ -524,6 +524,16 @@ struct wmi_btm_config { uint32_t btm_sticky_time; }; +/** + * struct wmi_bss_load_config - BSS load trigger parameters + * @vdev_id: VDEV on which the parameters should be applied + * @bss_load_threshold: BSS load threshold after which roam scan should trigger + */ +struct wmi_bss_load_config { + uint32_t vdev_id; + uint32_t bss_load_threshold; +}; + /** * @time_offset: time offset after 11k offload command to trigger a neighbor * report request (in seconds)