qcacmn: Add support for RTT PASN events

Add support in wmi to handle below new RTT PASN events:
WMI_RTT_PASN_PEER_DELETE_EVENTID
WMI_RTT_PASN_PEER_CREATE_REQ_EVENTID

Change-Id: Ib33c2def2d7ef66a6a2717e2a8e1756ab4318e4d
CRs-Fixed: 3150069
This commit is contained in:
Pragaspathi Thilagaraj
2022-03-12 22:20:32 +05:30
committed by Madan Koyyalamudi
parent 74ede2801b
commit 87ce989ee0
6 changed files with 222 additions and 0 deletions

View File

@@ -32,6 +32,8 @@
#ifdef WLAN_CONV_SPECTRAL_ENABLE
#include <wlan_spectral_public_structs.h>
#endif /* WLAN_CONV_SPECTRAL_ENABLE */
#include "wifi_pos_public_struct.h"
#include <wlan_vdev_mgr_tgt_if_tx_defs.h>
#include <wlan_vdev_mgr_tgt_if_rx_defs.h>
#include <reg_services_public_struct.h>
@@ -4993,6 +4995,10 @@ typedef enum {
#endif
#ifdef MULTI_CLIENT_LL_SUPPORT
wmi_vdev_latency_event_id,
#endif
#if defined(WIFI_POS_CONVERGED) && defined(WLAN_FEATURE_RTT_11AZ_SUPPORT)
wmi_rtt_pasn_peer_create_req_eventid,
wmi_rtt_pasn_peer_delete_eventid,
#endif
wmi_events_max,
} wmi_conv_event_id;
@@ -8368,6 +8374,20 @@ struct wmi_oem_response_param {
struct wmi_host_oem_indirect_data indirect_data;
};
/**
* struct wifi_pos_11az_peer_delete_data - Wifi pos 11az ranging peer delete
* data. This structure is used to copy the peer related info from PASN
* events and pass it to wifi pos module
* @vdev_id: vdev id
* @num_peers: Total number of peers to be deleted
* @peer_info: PASN peer entry details
*/
struct wifi_pos_pasn_peer_data {
uint8_t vdev_id;
uint8_t num_peers;
struct wlan_pasn_request peer_info[WLAN_MAX_11AZ_PEERS];
};
/**
* struct mws_coex_state - Modem Wireless Subsystem(MWS) coex info
* @vdev_id : vdev id