qcacmn: Add WMI support for WMI_PEER_UNMAP_CONF_CMDID
Add WMI support to send WMI_PEER_UNMAP_CONF_CMDID to FW for peer unmap confirmation. Change-Id: I1a260f840ed28f90568d9cba912cc5e5128c8c7d CRs-Fixed: 2358066
This commit is contained in:
@@ -5266,6 +5266,7 @@ typedef enum {
|
|||||||
wmi_service_obss_spatial_reuse,
|
wmi_service_obss_spatial_reuse,
|
||||||
wmi_service_per_vdev_chain_support,
|
wmi_service_per_vdev_chain_support,
|
||||||
wmi_service_new_htt_msg_format,
|
wmi_service_new_htt_msg_format,
|
||||||
|
wmi_service_peer_unmap_cnf_support,
|
||||||
wmi_services_max,
|
wmi_services_max,
|
||||||
} wmi_conv_service_ids;
|
} wmi_conv_service_ids;
|
||||||
#define WMI_SERVICE_UNAVAILABLE 0xFFFF
|
#define WMI_SERVICE_UNAVAILABLE 0xFFFF
|
||||||
@@ -5355,6 +5356,7 @@ struct wmi_host_fw_abi_ver {
|
|||||||
* @atf_config: ATF config
|
* @atf_config: ATF config
|
||||||
* @mgmt_comp_evt_bundle_support: bundle support required for mgmt complete evt
|
* @mgmt_comp_evt_bundle_support: bundle support required for mgmt complete evt
|
||||||
* @tx_msdu_new_partition_id_support: new partiition id support for tx msdu
|
* @tx_msdu_new_partition_id_support: new partiition id support for tx msdu
|
||||||
|
* @peer_unmap_conf_support: peer unmap conf support in fw
|
||||||
* @iphdr_pad_config: ipheader pad config
|
* @iphdr_pad_config: ipheader pad config
|
||||||
* @qwrap_config: Qwrap configuration
|
* @qwrap_config: Qwrap configuration
|
||||||
* @alloc_frag_desc_for_data_pkt: Frag desc for data
|
* @alloc_frag_desc_for_data_pkt: Frag desc for data
|
||||||
@@ -5430,7 +5432,8 @@ typedef struct {
|
|||||||
uint32_t atf_config:1,
|
uint32_t atf_config:1,
|
||||||
mgmt_comp_evt_bundle_support:1,
|
mgmt_comp_evt_bundle_support:1,
|
||||||
tx_msdu_new_partition_id_support:1,
|
tx_msdu_new_partition_id_support:1,
|
||||||
new_htt_msg_format:1;
|
new_htt_msg_format:1,
|
||||||
|
peer_unmap_conf_support:1;
|
||||||
uint32_t iphdr_pad_config;
|
uint32_t iphdr_pad_config;
|
||||||
uint32_t
|
uint32_t
|
||||||
qwrap_config:16,
|
qwrap_config:16,
|
||||||
|
@@ -298,6 +298,12 @@ QDF_STATUS (*send_peer_delete_cmd)(wmi_unified_t wmi,
|
|||||||
uint8_t peer_addr[IEEE80211_ADDR_LEN],
|
uint8_t peer_addr[IEEE80211_ADDR_LEN],
|
||||||
uint8_t vdev_id);
|
uint8_t vdev_id);
|
||||||
|
|
||||||
|
QDF_STATUS
|
||||||
|
(*send_peer_unmap_conf_cmd)(wmi_unified_t wmi,
|
||||||
|
uint8_t vdev_id,
|
||||||
|
uint32_t peer_id_cnt,
|
||||||
|
uint16_t *peer_id_list);
|
||||||
|
|
||||||
QDF_STATUS (*send_peer_param_cmd)(wmi_unified_t wmi,
|
QDF_STATUS (*send_peer_param_cmd)(wmi_unified_t wmi,
|
||||||
uint8_t peer_addr[IEEE80211_ADDR_LEN],
|
uint8_t peer_addr[IEEE80211_ADDR_LEN],
|
||||||
struct peer_set_params *param);
|
struct peer_set_params *param);
|
||||||
|
@@ -460,4 +460,18 @@ QDF_STATUS wmi_unified_set_arp_stats_req(void *wmi_hdl,
|
|||||||
QDF_STATUS wmi_unified_get_arp_stats_req(void *wmi_hdl,
|
QDF_STATUS wmi_unified_get_arp_stats_req(void *wmi_hdl,
|
||||||
struct get_arp_stats *req_buf);
|
struct get_arp_stats *req_buf);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* wmi_unified_peer_unmap_conf_send() - send PEER unmap conf command to fw
|
||||||
|
* @wmi: wmi handle
|
||||||
|
* @vdev_id: vdev id
|
||||||
|
* @peer_id_cnt: number of peer id
|
||||||
|
* @peer_id_list: list of peer ids
|
||||||
|
*
|
||||||
|
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||||
|
*/
|
||||||
|
QDF_STATUS wmi_unified_peer_unmap_conf_send(void *wmi_hdl,
|
||||||
|
uint8_t vdev_id,
|
||||||
|
uint32_t peer_id_cnt,
|
||||||
|
uint16_t *peer_id_list);
|
||||||
|
|
||||||
#endif /* _WMI_UNIFIED_STA_API_H_ */
|
#endif /* _WMI_UNIFIED_STA_API_H_ */
|
||||||
|
Reference in New Issue
Block a user