qcacmn: Add config support for BTM offload

Add ini to configure BTM offload configuration
which is sent to firmware as part of RSO start
via wmi btm config cmd.

Change-Id: I69c792705b208014af8f1878f7645d957dde6c06
CRs-Fixed: 2105112
This commit is contained in:
yeshwanth sriram guntuka
2017-09-01 17:56:07 +05:30
committed by snandini
parent 0d578ffa23
commit 230af89385
3 changed files with 20 additions and 0 deletions

View File

@@ -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_ */

View File

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

View File

@@ -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*/