qcacmn: Add Get RxPN WMI to obtain Rx PN
Add WMI support to obtain Rx packet number of a non-bss peer. Change-Id: I841c1869299ebf5eeb21ee6406426a964d2d7112 CRs-Fixed: 3150832
This commit is contained in:

committed by
Madan Koyyalamudi

parent
e7ce9595c1
commit
f5e2da429b
@@ -3870,6 +3870,18 @@ struct peer_request_pn_param {
|
||||
uint32_t key_type;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct peer_request_rxpn_param - Rx PN request params
|
||||
* @vdev_id: vdev id
|
||||
* @peer_macaddr: Peer mac address
|
||||
* @keyix: key index
|
||||
*/
|
||||
struct peer_request_rxpn_param {
|
||||
uint32_t vdev_id;
|
||||
uint8_t peer_macaddr[QDF_MAC_ADDR_SIZE];
|
||||
uint16_t keyix;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct rtt_meas_req_params - RTT measurement request params
|
||||
* @req_id: Request id
|
||||
@@ -4927,6 +4939,7 @@ typedef enum {
|
||||
#ifdef WLAN_FEATURE_MCC_QUOTA
|
||||
wmi_resmgr_chan_time_quota_changed_eventid,
|
||||
#endif
|
||||
wmi_peer_rx_pn_response_event_id,
|
||||
wmi_events_max,
|
||||
} wmi_conv_event_id;
|
||||
|
||||
@@ -5565,6 +5578,7 @@ typedef enum {
|
||||
#ifdef WLAN_FEATURE_11BE
|
||||
wmi_service_radar_found_chan_freq_eq_center_freq,
|
||||
#endif
|
||||
wmi_service_pn_replay_check_support,
|
||||
wmi_services_max,
|
||||
} wmi_conv_service_ids;
|
||||
#define WMI_SERVICE_UNAVAILABLE 0xFFFF
|
||||
@@ -7436,6 +7450,7 @@ enum wmi_host_fatal_condition_subtype_packet_log_config {
|
||||
#endif /* OL_ATH_SMART_LOGGING */
|
||||
|
||||
#define GET_PN_MAX_LEN 16
|
||||
#define GET_RX_PN_MAX_LEN 8
|
||||
|
||||
/**
|
||||
* struct wmi_host_get_pn_event - PN event params
|
||||
@@ -7451,6 +7466,20 @@ struct wmi_host_get_pn_event {
|
||||
uint8_t pn[GET_PN_MAX_LEN];
|
||||
};
|
||||
|
||||
/**
|
||||
* struct wmi_host_get_rxpn_event - Rx PN event params
|
||||
* @vdev_id: vdev id
|
||||
* @peer_macaddr: Peer mac address
|
||||
* @keyix: key index
|
||||
* @pn: pn value
|
||||
*/
|
||||
struct wmi_host_get_rxpn_event {
|
||||
uint32_t vdev_id;
|
||||
uint8_t mac_addr[QDF_MAC_ADDR_SIZE];
|
||||
uint16_t keyix;
|
||||
uint8_t pn[GET_RX_PN_MAX_LEN];
|
||||
};
|
||||
|
||||
/**
|
||||
* struct wmi_init_cmd_param - INIT command params
|
||||
* @target_resource_config: pointer to resource config
|
||||
|
Reference in New Issue
Block a user