|
@@ -22,13 +22,11 @@
|
|
|
#include "wmi_unified_priv.h"
|
|
|
#include "wmi_unified_sta_api.h"
|
|
|
|
|
|
-QDF_STATUS wmi_unified_set_sta_sa_query_param_cmd(void *wmi_hdl,
|
|
|
+QDF_STATUS wmi_unified_set_sta_sa_query_param_cmd(wmi_unified_t wmi_handle,
|
|
|
uint8_t vdev_id,
|
|
|
uint32_t max_retries,
|
|
|
uint32_t retry_interval)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_set_sta_sa_query_param_cmd)
|
|
|
return wmi_handle->ops->send_set_sta_sa_query_param_cmd(wmi_handle,
|
|
|
vdev_id, max_retries,
|
|
@@ -48,11 +46,10 @@ wmi_unified_set_sta_keep_alive_cmd(wmi_unified_t wmi_handle,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_vdev_set_gtx_cfg_cmd(void *wmi_hdl, uint32_t if_id,
|
|
|
- struct wmi_gtx_config *gtx_info)
|
|
|
+QDF_STATUS
|
|
|
+wmi_unified_vdev_set_gtx_cfg_cmd(wmi_unified_t wmi_handle, uint32_t if_id,
|
|
|
+ struct wmi_gtx_config *gtx_info)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_vdev_set_gtx_cfg_cmd)
|
|
|
return wmi_handle->ops->send_vdev_set_gtx_cfg_cmd(wmi_handle,
|
|
|
if_id,
|
|
@@ -61,11 +58,10 @@ QDF_STATUS wmi_unified_vdev_set_gtx_cfg_cmd(void *wmi_hdl, uint32_t if_id,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_process_dhcp_ind(void *wmi_hdl,
|
|
|
- wmi_peer_set_param_cmd_fixed_param *ta_dhcp_ind)
|
|
|
+QDF_STATUS wmi_unified_process_dhcp_ind(
|
|
|
+ wmi_unified_t wmi_handle,
|
|
|
+ wmi_peer_set_param_cmd_fixed_param *ta_dhcp_ind)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_process_dhcp_ind_cmd)
|
|
|
return wmi_handle->ops->send_process_dhcp_ind_cmd(wmi_handle,
|
|
|
ta_dhcp_ind);
|
|
@@ -73,11 +69,9 @@ QDF_STATUS wmi_unified_process_dhcp_ind(void *wmi_hdl,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_get_link_speed_cmd(void *wmi_hdl,
|
|
|
+QDF_STATUS wmi_unified_get_link_speed_cmd(wmi_unified_t wmi_handle,
|
|
|
wmi_mac_addr peer_macaddr)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_get_link_speed_cmd)
|
|
|
return wmi_handle->ops->send_get_link_speed_cmd(wmi_handle,
|
|
|
peer_macaddr);
|
|
@@ -85,11 +79,11 @@ QDF_STATUS wmi_unified_get_link_speed_cmd(void *wmi_hdl,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_fw_profiling_data_cmd(void *wmi_hdl,
|
|
|
- uint32_t cmd, uint32_t value1, uint32_t value2)
|
|
|
+QDF_STATUS wmi_unified_fw_profiling_data_cmd(wmi_unified_t wmi_handle,
|
|
|
+ uint32_t cmd,
|
|
|
+ uint32_t value1,
|
|
|
+ uint32_t value2)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_fw_profiling_cmd)
|
|
|
return wmi_handle->ops->send_fw_profiling_cmd(wmi_handle,
|
|
|
cmd,
|
|
@@ -99,10 +93,9 @@ QDF_STATUS wmi_unified_fw_profiling_data_cmd(void *wmi_hdl,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_nat_keepalive_en_cmd(void *wmi_hdl, uint8_t vdev_id)
|
|
|
+QDF_STATUS wmi_unified_nat_keepalive_en_cmd(wmi_unified_t wmi_handle,
|
|
|
+ uint8_t vdev_id)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_nat_keepalive_en_cmd)
|
|
|
return wmi_handle->ops->send_nat_keepalive_en_cmd(wmi_handle,
|
|
|
vdev_id);
|
|
@@ -110,11 +103,10 @@ QDF_STATUS wmi_unified_nat_keepalive_en_cmd(void *wmi_hdl, uint8_t vdev_id)
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_wlm_latency_level_cmd(void *wmi_hdl,
|
|
|
- struct wlm_latency_level_param *param)
|
|
|
+QDF_STATUS
|
|
|
+wmi_unified_wlm_latency_level_cmd(wmi_unified_t wmi_handle,
|
|
|
+ struct wlm_latency_level_param *param)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_wlm_latency_level_cmd)
|
|
|
return wmi_handle->ops->send_wlm_latency_level_cmd(wmi_handle,
|
|
|
param);
|
|
@@ -122,11 +114,10 @@ QDF_STATUS wmi_unified_wlm_latency_level_cmd(void *wmi_hdl,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_process_set_ie_info_cmd(void *wmi_hdl,
|
|
|
- struct vdev_ie_info_param *ie_info)
|
|
|
+QDF_STATUS
|
|
|
+wmi_unified_process_set_ie_info_cmd(wmi_unified_t wmi_handle,
|
|
|
+ struct vdev_ie_info_param *ie_info)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_process_set_ie_info_cmd)
|
|
|
return wmi_handle->ops->send_process_set_ie_info_cmd(wmi_handle,
|
|
|
ie_info);
|
|
@@ -134,37 +125,32 @@ QDF_STATUS wmi_unified_process_set_ie_info_cmd(void *wmi_hdl,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_set_base_macaddr_indicate_cmd(void *wmi_hdl,
|
|
|
- uint8_t *custom_addr)
|
|
|
+QDF_STATUS wmi_unified_set_base_macaddr_indicate_cmd(wmi_unified_t wmi_handle,
|
|
|
+ uint8_t *custom_addr)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_set_base_macaddr_indicate_cmd)
|
|
|
- return wmi_handle->ops->send_set_base_macaddr_indicate_cmd(wmi_handle,
|
|
|
- custom_addr);
|
|
|
+ return wmi_handle->ops->send_set_base_macaddr_indicate_cmd(
|
|
|
+ wmi_handle, custom_addr);
|
|
|
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
#ifdef FEATURE_WLAN_TDLS
|
|
|
-QDF_STATUS wmi_unified_set_tdls_offchan_mode_cmd(void *wmi_hdl,
|
|
|
- struct tdls_channel_switch_params *chan_switch_params)
|
|
|
+QDF_STATUS wmi_unified_set_tdls_offchan_mode_cmd(
|
|
|
+ wmi_unified_t wmi_handle,
|
|
|
+ struct tdls_channel_switch_params *chan_switch_params)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_set_tdls_offchan_mode_cmd)
|
|
|
- return wmi_handle->ops->send_set_tdls_offchan_mode_cmd(wmi_handle,
|
|
|
- chan_switch_params);
|
|
|
+ return wmi_handle->ops->send_set_tdls_offchan_mode_cmd(
|
|
|
+ wmi_handle, chan_switch_params);
|
|
|
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_update_fw_tdls_state_cmd(void *wmi_hdl,
|
|
|
+QDF_STATUS wmi_unified_update_fw_tdls_state_cmd(wmi_unified_t wmi_handle,
|
|
|
struct tdls_info *tdls_param,
|
|
|
enum wmi_tdls_state tdls_state)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_update_fw_tdls_state_cmd)
|
|
|
return wmi_handle->ops->send_update_fw_tdls_state_cmd(
|
|
|
wmi_handle, tdls_param, tdls_state);
|
|
@@ -183,11 +169,10 @@ QDF_STATUS wmi_unified_update_tdls_peer_state_cmd(wmi_unified_t wmi_handle,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_extract_vdev_tdls_ev_param(void *wmi_hdl, void *evt_buf,
|
|
|
+QDF_STATUS wmi_extract_vdev_tdls_ev_param(wmi_unified_t wmi_handle,
|
|
|
+ void *evt_buf,
|
|
|
struct tdls_event_info *param)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t)wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->extract_vdev_tdls_ev_param)
|
|
|
return wmi_handle->ops->extract_vdev_tdls_ev_param(wmi_handle,
|
|
|
evt_buf, param);
|
|
@@ -197,11 +182,10 @@ QDF_STATUS wmi_extract_vdev_tdls_ev_param(void *wmi_hdl, void *evt_buf,
|
|
|
#endif /* FEATURE_WLAN_TDLS */
|
|
|
|
|
|
#ifdef WLAN_FEATURE_DISA
|
|
|
-QDF_STATUS wmi_unified_encrypt_decrypt_send_cmd(void *wmi_hdl,
|
|
|
- struct disa_encrypt_decrypt_req_params *params)
|
|
|
+QDF_STATUS wmi_unified_encrypt_decrypt_send_cmd(
|
|
|
+ wmi_unified_t wmi_handle,
|
|
|
+ struct disa_encrypt_decrypt_req_params *params)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_encrypt_decrypt_send_cmd)
|
|
|
return wmi_handle->ops->send_encrypt_decrypt_send_cmd(
|
|
|
wmi_handle,
|
|
@@ -209,12 +193,11 @@ QDF_STATUS wmi_unified_encrypt_decrypt_send_cmd(void *wmi_hdl,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_extract_encrypt_decrypt_resp_params(void *wmi_hdl,
|
|
|
+QDF_STATUS wmi_extract_encrypt_decrypt_resp_params(
|
|
|
+ wmi_unified_t wmi_handle,
|
|
|
uint8_t *evt_buf,
|
|
|
struct disa_encrypt_decrypt_resp_params *resp)
|
|
|
{
|
|
|
- struct wmi_unified *wmi_handle = (struct wmi_unified *)wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->extract_encrypt_decrypt_resp_event)
|
|
|
return wmi_handle->ops->extract_encrypt_decrypt_resp_event(
|
|
|
wmi_handle, evt_buf, resp);
|
|
@@ -236,11 +219,9 @@ wmi_unified_send_reject_ap_list(struct wmi_unified *wmi_handle,
|
|
|
}
|
|
|
#endif
|
|
|
|
|
|
-QDF_STATUS wmi_unified_send_sar_limit_cmd(void *wmi_hdl,
|
|
|
- struct sar_limit_cmd_params *params)
|
|
|
+QDF_STATUS wmi_unified_send_sar_limit_cmd(wmi_unified_t wmi_handle,
|
|
|
+ struct sar_limit_cmd_params *params)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_sar_limit_cmd)
|
|
|
return wmi_handle->ops->send_sar_limit_cmd(
|
|
|
wmi_handle,
|
|
@@ -248,22 +229,18 @@ QDF_STATUS wmi_unified_send_sar_limit_cmd(void *wmi_hdl,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_get_sar_limit_cmd(void *wmi_hdl)
|
|
|
+QDF_STATUS wmi_unified_get_sar_limit_cmd(wmi_unified_t wmi_handle)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->get_sar_limit_cmd)
|
|
|
return wmi_handle->ops->get_sar_limit_cmd(wmi_handle);
|
|
|
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_extract_sar_limit_event(void *wmi_hdl,
|
|
|
+QDF_STATUS wmi_unified_extract_sar_limit_event(wmi_unified_t wmi_handle,
|
|
|
uint8_t *evt_buf,
|
|
|
struct sar_limit_event *event)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->extract_sar_limit_event)
|
|
|
return wmi_handle->ops->extract_sar_limit_event(wmi_handle,
|
|
|
evt_buf,
|
|
@@ -285,11 +262,10 @@ QDF_STATUS wmi_unified_extract_sar2_result_event(void *handle,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_set_del_pmkid_cache(void *wmi_hdl,
|
|
|
- struct wmi_unified_pmk_cache *req_buf)
|
|
|
+QDF_STATUS
|
|
|
+wmi_unified_set_del_pmkid_cache(wmi_unified_t wmi_handle,
|
|
|
+ struct wmi_unified_pmk_cache *req_buf)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_set_del_pmkid_cache_cmd)
|
|
|
return wmi_handle->ops->send_set_del_pmkid_cache_cmd(wmi_handle,
|
|
|
req_buf);
|
|
@@ -297,11 +273,9 @@ QDF_STATUS wmi_unified_set_del_pmkid_cache(void *wmi_hdl,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_del_ts_cmd(void *wmi_hdl, uint8_t vdev_id,
|
|
|
+QDF_STATUS wmi_unified_del_ts_cmd(wmi_unified_t wmi_handle, uint8_t vdev_id,
|
|
|
uint8_t ac)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_del_ts_cmd)
|
|
|
return wmi_handle->ops->send_del_ts_cmd(wmi_handle,
|
|
|
vdev_id, ac);
|
|
@@ -309,11 +283,10 @@ QDF_STATUS wmi_unified_del_ts_cmd(void *wmi_hdl, uint8_t vdev_id,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_aggr_qos_cmd(void *wmi_hdl,
|
|
|
- struct aggr_add_ts_param *aggr_qos_rsp_msg)
|
|
|
+QDF_STATUS wmi_unified_aggr_qos_cmd(
|
|
|
+ wmi_unified_t wmi_handle,
|
|
|
+ struct aggr_add_ts_param *aggr_qos_rsp_msg)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_aggr_qos_cmd)
|
|
|
return wmi_handle->ops->send_aggr_qos_cmd(wmi_handle,
|
|
|
aggr_qos_rsp_msg);
|
|
@@ -321,11 +294,9 @@ QDF_STATUS wmi_unified_aggr_qos_cmd(void *wmi_hdl,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_add_ts_cmd(void *wmi_hdl,
|
|
|
- struct add_ts_param *msg)
|
|
|
+QDF_STATUS wmi_unified_add_ts_cmd(wmi_unified_t wmi_handle,
|
|
|
+ struct add_ts_param *msg)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_add_ts_cmd)
|
|
|
return wmi_handle->ops->send_add_ts_cmd(wmi_handle,
|
|
|
msg);
|
|
@@ -345,12 +316,11 @@ QDF_STATUS wmi_unified_process_add_periodic_tx_ptrn_cmd(
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_process_del_periodic_tx_ptrn_cmd(void *wmi_hdl,
|
|
|
- uint8_t vdev_id,
|
|
|
- uint8_t pattern_id)
|
|
|
+QDF_STATUS
|
|
|
+wmi_unified_process_del_periodic_tx_ptrn_cmd(wmi_unified_t wmi_handle,
|
|
|
+ uint8_t vdev_id,
|
|
|
+ uint8_t pattern_id)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_process_del_periodic_tx_ptrn_cmd)
|
|
|
return wmi_handle->ops->send_process_del_periodic_tx_ptrn_cmd(
|
|
|
wmi_handle,
|
|
@@ -360,11 +330,9 @@ QDF_STATUS wmi_unified_process_del_periodic_tx_ptrn_cmd(void *wmi_hdl,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_set_auto_shutdown_timer_cmd(void *wmi_hdl,
|
|
|
- uint32_t timer_val)
|
|
|
+QDF_STATUS wmi_unified_set_auto_shutdown_timer_cmd(wmi_unified_t wmi_handle,
|
|
|
+ uint32_t timer_val)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_set_auto_shutdown_timer_cmd)
|
|
|
return wmi_handle->ops->send_set_auto_shutdown_timer_cmd(
|
|
|
wmi_handle,
|
|
@@ -373,11 +341,10 @@ QDF_STATUS wmi_unified_set_auto_shutdown_timer_cmd(void *wmi_hdl,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_set_led_flashing_cmd(void *wmi_hdl,
|
|
|
- struct flashing_req_params *flashing)
|
|
|
+QDF_STATUS
|
|
|
+wmi_unified_set_led_flashing_cmd(wmi_unified_t wmi_handle,
|
|
|
+ struct flashing_req_params *flashing)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_set_led_flashing_cmd)
|
|
|
return wmi_handle->ops->send_set_led_flashing_cmd(wmi_handle,
|
|
|
flashing);
|
|
@@ -385,10 +352,8 @@ QDF_STATUS wmi_unified_set_led_flashing_cmd(void *wmi_hdl,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_process_ch_avoid_update_cmd(void *wmi_hdl)
|
|
|
+QDF_STATUS wmi_unified_process_ch_avoid_update_cmd(wmi_unified_t wmi_handle)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_process_ch_avoid_update_cmd)
|
|
|
return wmi_handle->ops->send_process_ch_avoid_update_cmd(
|
|
|
wmi_handle);
|
|
@@ -396,22 +361,18 @@ QDF_STATUS wmi_unified_process_ch_avoid_update_cmd(void *wmi_hdl)
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_pdev_set_pcl_cmd(void *wmi_hdl,
|
|
|
- struct wmi_pcl_chan_weights *msg)
|
|
|
+QDF_STATUS wmi_unified_pdev_set_pcl_cmd(wmi_unified_t wmi_handle,
|
|
|
+ struct wmi_pcl_chan_weights *msg)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_pdev_set_pcl_cmd)
|
|
|
return wmi_handle->ops->send_pdev_set_pcl_cmd(wmi_handle, msg);
|
|
|
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_soc_set_hw_mode_cmd(void *wmi_hdl,
|
|
|
- uint32_t hw_mode_index)
|
|
|
+QDF_STATUS wmi_unified_soc_set_hw_mode_cmd(wmi_unified_t wmi_handle,
|
|
|
+ uint32_t hw_mode_index)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_pdev_set_hw_mode_cmd)
|
|
|
return wmi_handle->ops->send_pdev_set_hw_mode_cmd(wmi_handle,
|
|
|
hw_mode_index);
|
|
@@ -420,11 +381,10 @@ QDF_STATUS wmi_unified_soc_set_hw_mode_cmd(void *wmi_hdl,
|
|
|
}
|
|
|
|
|
|
#ifdef WLAN_POLICY_MGR_ENABLE
|
|
|
-QDF_STATUS wmi_unified_pdev_set_dual_mac_config_cmd(void *wmi_hdl,
|
|
|
+QDF_STATUS wmi_unified_pdev_set_dual_mac_config_cmd(
|
|
|
+ wmi_unified_t wmi_handle,
|
|
|
struct policy_mgr_dual_mac_config *msg)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_pdev_set_dual_mac_config_cmd)
|
|
|
return wmi_handle->ops->send_pdev_set_dual_mac_config_cmd(
|
|
|
wmi_handle,
|
|
@@ -434,11 +394,10 @@ QDF_STATUS wmi_unified_pdev_set_dual_mac_config_cmd(void *wmi_hdl,
|
|
|
}
|
|
|
#endif /* WLAN_POLICY_MGR_ENABLE */
|
|
|
|
|
|
-QDF_STATUS wmi_unified_send_adapt_dwelltime_params_cmd(void *wmi_hdl,
|
|
|
+QDF_STATUS wmi_unified_send_adapt_dwelltime_params_cmd(
|
|
|
+ wmi_unified_t wmi_handle,
|
|
|
struct wmi_adaptive_dwelltime_params *dwelltime_params)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_adapt_dwelltime_params_cmd)
|
|
|
return wmi_handle->ops->
|
|
|
send_adapt_dwelltime_params_cmd(wmi_handle,
|
|
@@ -447,11 +406,10 @@ QDF_STATUS wmi_unified_send_adapt_dwelltime_params_cmd(void *wmi_hdl,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_send_dbs_scan_sel_params_cmd(void *wmi_hdl,
|
|
|
+QDF_STATUS wmi_unified_send_dbs_scan_sel_params_cmd(
|
|
|
+ wmi_unified_t wmi_handle,
|
|
|
struct wmi_dbs_scan_sel_params *dbs_scan_params)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_dbs_scan_sel_params_cmd)
|
|
|
return wmi_handle->ops->
|
|
|
send_dbs_scan_sel_params_cmd(wmi_handle,
|
|
@@ -460,11 +418,9 @@ QDF_STATUS wmi_unified_send_dbs_scan_sel_params_cmd(void *wmi_hdl,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_set_arp_stats_req(void *wmi_hdl,
|
|
|
+QDF_STATUS wmi_unified_set_arp_stats_req(wmi_unified_t wmi_handle,
|
|
|
struct set_arp_stats *req_buf)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_set_arp_stats_req_cmd)
|
|
|
return wmi_handle->ops->send_set_arp_stats_req_cmd(wmi_handle,
|
|
|
req_buf);
|
|
@@ -472,11 +428,9 @@ QDF_STATUS wmi_unified_set_arp_stats_req(void *wmi_hdl,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_get_arp_stats_req(void *wmi_hdl,
|
|
|
+QDF_STATUS wmi_unified_get_arp_stats_req(wmi_unified_t wmi_handle,
|
|
|
struct get_arp_stats *req_buf)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_get_arp_stats_req_cmd)
|
|
|
return wmi_handle->ops->send_get_arp_stats_req_cmd(wmi_handle,
|
|
|
req_buf);
|
|
@@ -484,13 +438,11 @@ QDF_STATUS wmi_unified_get_arp_stats_req(void *wmi_hdl,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
-QDF_STATUS wmi_unified_peer_unmap_conf_send(void *wmi_hdl,
|
|
|
+QDF_STATUS wmi_unified_peer_unmap_conf_send(wmi_unified_t wmi_handle,
|
|
|
uint8_t vdev_id,
|
|
|
uint32_t peer_id_cnt,
|
|
|
uint16_t *peer_id_list)
|
|
|
{
|
|
|
- wmi_unified_t wmi_handle = (wmi_unified_t)wmi_hdl;
|
|
|
-
|
|
|
if (wmi_handle->ops->send_peer_unmap_conf_cmd)
|
|
|
return wmi_handle->ops->send_peer_unmap_conf_cmd(wmi_handle,
|
|
|
vdev_id, peer_id_cnt, peer_id_list);
|