qcacmn: Featurize WMI APIs and TLVs that are specific to MCL
In the existing converged component, WMI TLV APIs are implemented in a generic manner without proper featurization. All the APIs exposed outside of WMI are implemented in wmi_unified_api.c and all the APIs forming the CMD or extracting the EVT is implemented in wmi_unified_tlv.c. Since WIN and MCL have a unified WMI layer in the converged component and there are features within WIN and MCL that are not common, there exists a good number of WMI APIs which are specific to WIN but compiled by MCL and vice-versa. Due to this inadvertent problem, there is a chunk of code and memory used up by WIN and MCL for features that are not used in their products. Featurize WMI APIs and TLVs that are specific to MCL - - DSRC - NAN - P2P - PMO - roaming - concurrency - STA - Generic MCL specific WMI (STA) Change-Id: I03a68b0db30a3aa585b269ab0a1745b37bc7e0b7 CRs-Fixed: 2316935
This commit is contained in:
461
wmi/inc/wmi_unified_sta_api.h
Normal file
461
wmi/inc/wmi_unified_sta_api.h
Normal file
@@ -0,0 +1,461 @@
|
||||
/*
|
||||
* Copyright (c) 2013-2018 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
* above copyright notice and this permission notice appear in all
|
||||
* copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
|
||||
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
|
||||
* AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
|
||||
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
|
||||
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/**
|
||||
* DOC: Implement API's specific to STA component.
|
||||
*/
|
||||
|
||||
#ifndef _WMI_UNIFIED_STA_API_H_
|
||||
#define _WMI_UNIFIED_STA_API_H_
|
||||
|
||||
#include "wlan_disa_public_struct.h"
|
||||
#include "wlan_tdls_public_structs.h"
|
||||
#include "wlan_policy_mgr_public_struct.h"
|
||||
#include "wmi_unified_sta_param.h"
|
||||
|
||||
struct policy_mgr_dual_mac_config;
|
||||
|
||||
/**
|
||||
* wmi_unified_set_sta_sa_query_param_cmd() - set sta sa query parameters
|
||||
* @wmi_hdl: wmi handle
|
||||
* @vdev_id: vdev id
|
||||
* @max_retries: max retries
|
||||
* @retry_interval: retry interval
|
||||
* This function sets sta query related parameters in fw.
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_set_sta_sa_query_param_cmd(void *wmi_hdl,
|
||||
uint8_t vdev_id,
|
||||
uint32_t max_retries,
|
||||
uint32_t retry_interval);
|
||||
|
||||
/**
|
||||
* wmi_unified_set_sta_keep_alive_cmd() - set sta keep alive parameters
|
||||
* @wmi_hdl: wmi handle
|
||||
* @params: sta keep alive parameter
|
||||
*
|
||||
* This function sets keep alive related parameters in fw.
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_set_sta_keep_alive_cmd(void *wmi_hdl,
|
||||
struct sta_params *params);
|
||||
|
||||
/**
|
||||
* wmi_unified_vdev_set_gtx_cfg_cmd() - set GTX params
|
||||
* @wmi_hdl: wmi handle
|
||||
* @if_id: vdev id
|
||||
* @gtx_info: GTX config params
|
||||
*
|
||||
* This function set GTX related params in firmware.
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_vdev_set_gtx_cfg_cmd(void *wmi_hdl, uint32_t if_id,
|
||||
struct wmi_gtx_config *gtx_info);
|
||||
|
||||
#ifdef WLAN_FEATURE_DISA
|
||||
/**
|
||||
* wmi_unified_encrypt_decrypt_send_cmd() - send encryptdecrypt cmd to fw
|
||||
* @wmi_hdl: wmi handle
|
||||
* @params: encrypt/decrypt params
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_encrypt_decrypt_send_cmd(void *wmi_hdl,
|
||||
struct disa_encrypt_decrypt_req_params *params);
|
||||
|
||||
/**
|
||||
* wmi_extract_encrypt_decrypt_resp_params() -
|
||||
* extract encrypt decrypt resp params from event buffer
|
||||
* @wmi_handle: wmi handle
|
||||
* @evt_buf: pointer to event buffer
|
||||
* @resp: encrypt decrypt resp params
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS for success or error code
|
||||
*/
|
||||
QDF_STATUS wmi_extract_encrypt_decrypt_resp_params(void *wmi_hdl,
|
||||
uint8_t *evt_buf,
|
||||
struct disa_encrypt_decrypt_resp_params *resp);
|
||||
#endif /* WLAN_FEATURE_DISA */
|
||||
|
||||
/**
|
||||
* wmi_unified_process_dhcp_ind() - process dhcp indication from SME
|
||||
* @wmi_handle: wmi handle
|
||||
* @ta_dhcp_ind: DHCP indication parameter
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_process_dhcp_ind(void *wmi_hdl,
|
||||
wmi_peer_set_param_cmd_fixed_param *ta_dhcp_ind);
|
||||
|
||||
/**
|
||||
* wmi_unified_get_link_speed_cmd() -send command to get linkspeed
|
||||
* @wmi_handle: wmi handle
|
||||
* @pLinkSpeed: link speed info
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_get_link_speed_cmd(void *wmi_hdl,
|
||||
wmi_mac_addr peer_macaddr);
|
||||
|
||||
/**
|
||||
* wmi_unified_fw_profiling_data_cmd() - send FW profiling cmd to WLAN FW
|
||||
* @wmi_handl: wmi handle
|
||||
* @cmd: Profiling command index
|
||||
* @value1: parameter1 value
|
||||
* @value2: parameter2 value
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_fw_profiling_data_cmd(void *wmi_hdl,
|
||||
uint32_t cmd, uint32_t value1, uint32_t value2);
|
||||
|
||||
/**
|
||||
* wmi_unified_nat_keepalive_en_cmd() - enable NAT keepalive filter
|
||||
* @wmi_handle: wmi handle
|
||||
* @vdev_id: vdev id
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_nat_keepalive_en_cmd(void *wmi_hdl, uint8_t vdev_id);
|
||||
|
||||
/**
|
||||
* wmi_unified_set_latency_config_cmd()
|
||||
* @wmi_handle: wmi handle
|
||||
* @param: WLM parameters
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_wlm_latency_level_cmd(void *wmi_hdl,
|
||||
struct wlm_latency_level_param *param);
|
||||
|
||||
/**
|
||||
* wmi_unified_nan_req_cmd() - to send nan request to target
|
||||
* @wmi_handle: wmi handle
|
||||
* @nan_req: request data which will be non-null
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_nan_req_cmd(void *wmi_hdl,
|
||||
struct nan_req_params *nan_req);
|
||||
|
||||
/**
|
||||
* wmi_unified_process_set_ie_info_cmd() - Function to send IE info to firmware
|
||||
* @wmi_handle: Pointer to WMi handle
|
||||
* @ie_data: Pointer for ie data
|
||||
*
|
||||
* This function sends IE information to firmware
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_process_set_ie_info_cmd(void *wmi_hdl,
|
||||
struct vdev_ie_info_param *ie_info);
|
||||
|
||||
/**
|
||||
* wmi_unified_set_base_macaddr_indicate_cmd() - set base mac address in fw
|
||||
* @wmi_hdl: wmi handle
|
||||
* @custom_addr: base mac address
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_set_base_macaddr_indicate_cmd(void *wmi_hdl,
|
||||
uint8_t *custom_addr);
|
||||
|
||||
#ifdef CONVERGED_TDLS_ENABLE
|
||||
/**
|
||||
* wmi_unified_set_tdls_offchan_mode_cmd() - set tdls off channel mode
|
||||
* @wmi_handle: wmi handle
|
||||
* @chan_switch_params: Pointer to tdls channel switch parameter structure
|
||||
*
|
||||
* This function sets tdls off channel mode
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failures;
|
||||
* Negative errno otherwise
|
||||
*/
|
||||
QDF_STATUS wmi_unified_set_tdls_offchan_mode_cmd(void *wmi_hdl,
|
||||
struct tdls_channel_switch_params *chan_switch_params);
|
||||
|
||||
/**
|
||||
* wmi_unified_update_fw_tdls_state_cmd() - send enable/disable tdls for a vdev
|
||||
* @wmi_handle: wmi handle
|
||||
* @pwmaTdlsparams: TDLS params
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_update_fw_tdls_state_cmd(void *wmi_hdl,
|
||||
void *tdls_param,
|
||||
uint8_t tdls_state);
|
||||
|
||||
/**
|
||||
* wmi_unified_update_tdls_peer_state_cmd() - update TDLS peer state
|
||||
* @wmi_handle: wmi handle
|
||||
* @peerStateParams: TDLS peer state params
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_update_tdls_peer_state_cmd(void *wmi_hdl,
|
||||
struct tdls_peer_state_params *peerStateParams,
|
||||
uint32_t *ch_mhz);
|
||||
|
||||
/**
|
||||
* wmi_extract_vdev_tdls_ev_param - extract vdev tdls param from event
|
||||
* @wmi_handle: wmi handle
|
||||
* @param evt_buf: pointer to event buffer
|
||||
* @param param: Pointer to hold vdev tdls param
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_extract_vdev_tdls_ev_param(void *wmi_hdl, void *evt_buf,
|
||||
struct tdls_event_info *param);
|
||||
#endif /* CONVERGED_TDLS_ENABLE */
|
||||
|
||||
/**
|
||||
* wmi_unified_send_sar_limit_cmd() - send sar limit cmd to fw
|
||||
* @wmi_hdl: wmi handle
|
||||
* @params: sar limit command params
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_send_sar_limit_cmd(void *wmi_hdl,
|
||||
struct sar_limit_cmd_params *params);
|
||||
|
||||
/**
|
||||
* wmi_unified_get_sar_limit_cmd() - request current SAR limits from FW
|
||||
* @wmi_hdl: wmi handle
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS for success or error code
|
||||
*/
|
||||
QDF_STATUS wmi_unified_get_sar_limit_cmd(void *wmi_hdl);
|
||||
|
||||
/**
|
||||
* wmi_unified_extract_sar_limit_event() - extract SAR limits from FW event
|
||||
* @wmi_hdl: wmi handle
|
||||
* @evt_buf: event buffer received from firmware
|
||||
* @event: SAR limit event which is to be populated by data extracted from
|
||||
* the @evt_buf buffer
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS for success or error code
|
||||
*/
|
||||
QDF_STATUS wmi_unified_extract_sar_limit_event(void *wmi_hdl,
|
||||
uint8_t *evt_buf,
|
||||
struct sar_limit_event *event);
|
||||
|
||||
/**
|
||||
* wmi_unified_extract_sar2_result_event() - extract SAR limits from FW event
|
||||
* @handle: wmi handle
|
||||
* @event: event buffer received from firmware
|
||||
* @len: length of the event buffer
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS for success or error code
|
||||
*/
|
||||
QDF_STATUS wmi_unified_extract_sar2_result_event(void *handle,
|
||||
uint8_t *event, uint32_t len);
|
||||
|
||||
/*
|
||||
* wmi_unified_set_del_pmkid_cache() - set delete PMKID
|
||||
* @wmi_hdl: wma handle
|
||||
* @pmksa: pointer to pmk cache entry
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_set_del_pmkid_cache(void *wmi_hdl,
|
||||
struct wmi_unified_pmk_cache *pmksa);
|
||||
|
||||
/**
|
||||
* wmi_unified_del_ts_cmd() - send DELTS request to fw
|
||||
* @wmi_handle: wmi handle
|
||||
* @msg: delts params
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_del_ts_cmd(void *wmi_hdl, uint8_t vdev_id,
|
||||
uint8_t ac);
|
||||
|
||||
/**
|
||||
* wmi_unified_aggr_qos_cmd() - send aggr qos request to fw
|
||||
* @wmi_handle: handle to wmi
|
||||
* @aggr_qos_rsp_msg - combined struct for all ADD_TS requests.
|
||||
*
|
||||
* A function to handle WMI_AGGR_QOS_REQ. This will send out
|
||||
* ADD_TS requestes to firmware in loop for all the ACs with
|
||||
* active flow.
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_aggr_qos_cmd(void *wmi_hdl,
|
||||
struct aggr_add_ts_param *aggr_qos_rsp_msg);
|
||||
|
||||
/**
|
||||
* wmi_unified_add_ts_cmd() - send ADDTS request to fw
|
||||
* @wmi_handle: wmi handle
|
||||
* @msg: ADDTS params
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_add_ts_cmd(void *wmi_hdl,
|
||||
struct add_ts_param *msg);
|
||||
|
||||
/**
|
||||
* wmi_unified_process_add_periodic_tx_ptrn_cmd - add periodic tx ptrn
|
||||
* @wmi_handle: wmi handle
|
||||
* @pAddPeriodicTxPtrnParams: tx ptrn params
|
||||
*
|
||||
* Retrun: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_process_add_periodic_tx_ptrn_cmd(void *wmi_hdl,
|
||||
struct periodic_tx_pattern *
|
||||
pAddPeriodicTxPtrnParams,
|
||||
uint8_t vdev_id);
|
||||
|
||||
/**
|
||||
* wmi_unified_process_del_periodic_tx_ptrn_cmd - del periodic tx ptrn
|
||||
* @wmi_handle: wmi handle
|
||||
* @vdev_id: vdev id
|
||||
* @pattern_id: pattern id
|
||||
*
|
||||
* Retrun: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_process_del_periodic_tx_ptrn_cmd(void *wmi_hdl,
|
||||
uint8_t vdev_id,
|
||||
uint8_t pattern_id);
|
||||
|
||||
/**
|
||||
* wmi_unified_set_auto_shutdown_timer_cmd() - sets auto shutdown
|
||||
* timer in firmware
|
||||
* @wmi_handle: wmi handle
|
||||
* @timer_val: auto shutdown timer value
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_set_auto_shutdown_timer_cmd(void *wmi_hdl,
|
||||
uint32_t timer_val);
|
||||
|
||||
/**
|
||||
* wmi_unified_set_led_flashing_cmd() - set led flashing in fw
|
||||
* @wmi_hdl: wmi handle
|
||||
* @flashing: flashing request
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_set_led_flashing_cmd(void *wmi_hdl,
|
||||
struct flashing_req_params *flashing);
|
||||
|
||||
/**
|
||||
* wmi_unified_process_ch_avoid_update_cmd() - handles channel avoid
|
||||
* update request
|
||||
* @wmi_handle: wmi handle
|
||||
* @ch_avoid_update_req: channel avoid update params
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_process_ch_avoid_update_cmd(void *wmi_hdl);
|
||||
|
||||
/**
|
||||
* wmi_unified_pdev_set_pcl_cmd() - Send WMI_SOC_SET_PCL_CMDID to FW
|
||||
* @wmi_hdl: wmi handle
|
||||
* @msg: PCL structure containing the PCL and the number of channels
|
||||
*
|
||||
* WMI_SOC_SET_PCL_CMDID provides a Preferred Channel List (PCL) to the WLAN
|
||||
* firmware. The DBS Manager is the consumer of this information in the WLAN
|
||||
* firmware. The channel list will be used when a Virtual DEVice (VDEV) needs
|
||||
* to migrate to a new channel without host driver involvement. An example of
|
||||
* this behavior is Legacy Fast Roaming (LFR 3.0). Generally, the host will
|
||||
* manage the channel selection without firmware involvement.
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_pdev_set_pcl_cmd(void *wmi_hdl,
|
||||
struct wmi_pcl_chan_weights *msg);
|
||||
|
||||
/**
|
||||
* wmi_unified_soc_set_hw_mode_cmd() - Send WMI_SOC_SET_HW_MODE_CMDID to FW
|
||||
* @wmi_hdl: wmi handle
|
||||
* @msg: Structure containing the following parameters
|
||||
*
|
||||
* - hw_mode_index: The HW_Mode field is a enumerated type that is selected
|
||||
* from the HW_Mode table, which is returned in the WMI_SERVICE_READY_EVENTID.
|
||||
*
|
||||
* Provides notification to the WLAN firmware that host driver is requesting a
|
||||
* HardWare (HW) Mode change. This command is needed to support iHelium in the
|
||||
* configurations that include the Dual Band Simultaneous (DBS) feature.
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_soc_set_hw_mode_cmd(void *wmi_hdl,
|
||||
uint32_t hw_mode_index);
|
||||
|
||||
#ifdef WLAN_POLICY_MGR_ENABLE
|
||||
/**
|
||||
* wmi_unified_pdev_set_dual_mac_config_cmd() - Set dual mac config to FW
|
||||
* @wmi_hdl: wmi handle
|
||||
* @msg: Dual MAC config parameters
|
||||
*
|
||||
* Configures WLAN firmware with the dual MAC features
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failures.
|
||||
*/
|
||||
QDF_STATUS wmi_unified_pdev_set_dual_mac_config_cmd(void *wmi_hdl,
|
||||
struct policy_mgr_dual_mac_config *msg);
|
||||
#endif /* WLAN_POLICY_MGR_ENABLE */
|
||||
|
||||
/**
|
||||
* wmi_unified_send_adapt_dwelltime_params_cmd() - send wmi cmd of
|
||||
* adaptive dwelltime configuration params
|
||||
* @wma_handle: wma handler
|
||||
* @dwelltime_params: pointer to dwelltime_params
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF failure reason code for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_send_adapt_dwelltime_params_cmd(void *wmi_hdl,
|
||||
struct wmi_adaptive_dwelltime_params *
|
||||
wmi_param);
|
||||
|
||||
/**
|
||||
* wmi_unified_send_dbs_scan_sel_params_cmd() - send wmi cmd of
|
||||
* DBS scan selection configuration params
|
||||
* @wma_handle: wma handler
|
||||
* @dbs_scan_params: pointer to wmi_dbs_scan_sel_params
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF failure reason code for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_send_dbs_scan_sel_params_cmd(void *wmi_hdl,
|
||||
struct wmi_dbs_scan_sel_params *wmi_param);
|
||||
|
||||
/**
|
||||
* wmi_unified_set_arp_stats_req() - set arp stats request
|
||||
* @wmi_hdl: wmi handle
|
||||
* @req_buf: pointer to set_arp_stats
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_set_arp_stats_req(void *wmi_hdl,
|
||||
struct set_arp_stats *req_buf);
|
||||
|
||||
/**
|
||||
* wmi_unified_get_arp_stats_req() - get arp stats request
|
||||
* @wmi_hdl: wmi handle
|
||||
* @req_buf: pointer to get_arp_stats
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_get_arp_stats_req(void *wmi_hdl,
|
||||
struct get_arp_stats *req_buf);
|
||||
|
||||
#endif /* _WMI_UNIFIED_STA_API_H_ */
|
Reference in New Issue
Block a user