diff --git a/wmi_unified_api.h b/wmi_unified_api.h index 61f5722ad7..d806e23637 100644 --- a/wmi_unified_api.h +++ b/wmi_unified_api.h @@ -324,4 +324,28 @@ int32_t wmi_unified_pdev_utf_cmd_send(void *wmi_hdl, int32_t wmi_unified_dbglog_cmd_send(void *wmi_hdl, struct dbglog_params *param); +int32_t wmi_mgmt_unified_cmd_send(void *wmi_hdl, + struct wmi_mgmt_params *param); + +int32_t wmi_unified_modem_power_state(void *wmi_hdl, + uint32_t param_value); + +int32_t wmi_unified_set_sta_ps_mode(void *wmi_hdl, + uint32_t vdev_id, uint8_t val); +int32_t +wmi_unified_set_sta_uapsd_auto_trig_cmd(void *wmi_hdl, + struct sta_uapsd_trig_params *param); + +int32_t wmi_unified_get_temperature(void *wmi_hdl); + +int32_t wmi_unified_set_p2pgo_oppps_req(void *wmi_hdl, + struct p2p_ps_params *oppps); + +int32_t wmi_unified_set_p2pgo_noa_req_cmd(void *wmi_hdl, + struct p2p_ps_params *noa); + +int32_t wmi_unified_set_smps_params(void *wmi_hdl, uint8_t vdev_id, + int value); + +int32_t wmi_unified_set_mimops(void *wmi_hdl, uint8_t vdev_id, int value); #endif /* _WMI_UNIFIED_API_H_ */ diff --git a/wmi_unified_priv.h b/wmi_unified_priv.h index b350b9b056..a88322a963 100644 --- a/wmi_unified_priv.h +++ b/wmi_unified_priv.h @@ -164,6 +164,32 @@ int32_t (*send_scan_stop_cmd)(wmi_unified_t wmi_handle, int32_t (*send_scan_chan_list_cmd)(wmi_unified_t wmi_handle, struct scan_chan_list_params *param); + +int32_t (*send_mgmt_cmd)(wmi_unified_t wmi_handle, + struct wmi_mgmt_params *param); + +int32_t (*send_modem_power_state_cmd)(wmi_unified_t wmi_handle, + uint32_t param_value); + +int32_t (*send_set_sta_ps_mode_cmd)(wmi_unified_t wmi_handle, + uint32_t vdev_id, uint8_t val); + +int32_t (*send_get_temperature_cmd)(wmi_unified_t wmi_handle); + +int32_t (*send_set_p2pgo_oppps_req_cmd)(wmi_unified_t wmi_handle, + struct p2p_ps_params *oppps); + +int32_t (*send_set_p2pgo_noa_req_cmd)(wmi_unified_t wmi_handle, + struct p2p_ps_params *noa); + +int32_t (*send_set_smps_params_cmd)(wmi_unified_t wmi_handle, uint8_t vdev_id, + int value); + +int32_t (*send_set_mimops_cmd)(wmi_unified_t wmi_handle, + uint8_t vdev_id, int value); + +int32_t (*send_set_sta_uapsd_auto_trig_cmd)(wmi_unified_t wmi_handle, + struct sta_uapsd_trig_params *param); }; struct wmi_unified { diff --git a/wmi_unified_tlv.h b/wmi_unified_tlv.h index 0cb1abc2a7..b3ced03db1 100644 --- a/wmi_unified_tlv.h +++ b/wmi_unified_tlv.h @@ -127,3 +127,29 @@ int32_t send_scan_stop_cmd_tlv(wmi_unified_t wmi_handle, int32_t send_scan_chan_list_cmd_tlv(wmi_unified_t wmi_handle, struct scan_chan_list_params *param); +int32_t send_mgmt_cmd_tlv(wmi_unified_t wmi_handle, + struct wmi_mgmt_params *param); + +int32_t send_modem_power_state_cmd_tlv(wmi_unified_t wmi_handle, + uint32_t param_value); + +int32_t send_set_sta_ps_mode_cmd_tlv(wmi_unified_t wmi_handle, + uint32_t vdev_id, uint8_t val); + +int32_t send_set_sta_uapsd_auto_trig_cmd_tlv(wmi_unified_t wmi_handle, + struct sta_uapsd_trig_params *param); + +int32_t send_get_temperature_cmd_tlv(wmi_unified_t wmi_handle); + +int32_t send_set_p2pgo_oppps_req_cmd_tlv(wmi_unified_t wmi_handle, + struct p2p_ps_params *oppps); + +int32_t send_set_p2pgo_noa_req_cmd_tlv(wmi_unified_t wmi_handle, + struct p2p_ps_params *noa); + +int32_t send_set_smps_params_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id, + int value); + +int32_t send_set_mimops_cmd_tlv(wmi_unified_t wmi_handle, + uint8_t vdev_id, int value); +