diff --git a/wmi_unified_api.h b/wmi_unified_api.h index 94a39ccef1..43dc0acf9a 100644 --- a/wmi_unified_api.h +++ b/wmi_unified_api.h @@ -1888,4 +1888,13 @@ QDF_STATUS wmi_extract_ndp_end_ind(wmi_unified_t wmi_handle, uint8_t *data, struct nan_datapath_end_indication_event **ind); #endif +/** + * wmi_unified_send_btm_config() - Send BTM config to fw + * @wmi_hdl: wmi handle + * @params: pointer to wmi_btm_config + * + * Return: QDF_STATUS + */ +QDF_STATUS wmi_unified_send_btm_config(void *wmi_hdl, + struct wmi_btm_config *params); #endif /* _WMI_UNIFIED_API_H_ */ diff --git a/wmi_unified_param.h b/wmi_unified_param.h index c8b5431d9c..7b9cf72b10 100644 --- a/wmi_unified_param.h +++ b/wmi_unified_param.h @@ -8090,6 +8090,15 @@ struct wmi_mawc_roam_params { uint8_t rssi_stationary_high_adjust; uint8_t rssi_stationary_low_adjust; }; +/** + * struct wmi_btm_config - BSS Transition Management offload params + * @vdev_id: VDEV on which the parameters should be applied + * @btm_offload_config: BTM config + */ +struct wmi_btm_config { + uint8_t vdev_id; + uint32_t btm_offload_config; +}; /** * struct set_arp_stats - set/reset arp stats diff --git a/wmi_unified_priv.h b/wmi_unified_priv.h index 834eab3c46..0c6898c892 100644 --- a/wmi_unified_priv.h +++ b/wmi_unified_priv.h @@ -1492,6 +1492,8 @@ QDF_STATUS (*extract_ndp_end_ind)(wmi_unified_t wmi_handle, uint8_t *data, struct nan_datapath_end_indication_event **ind); #endif +QDF_STATUS (*send_btm_config)(wmi_unified_t wmi_handle, + struct wmi_btm_config *params); }; /* Forward declartion for psoc*/