qcacmn: Add GET PN WMI to obtain PN number

Add GET PN WMI to obtain the PN number for
a non-bss peer.

Change-Id: I8c999b3518b53e971d8207e74ce5e3a2f7d48aa8
This commit is contained in:
Disha Das
2019-11-27 15:41:51 +05:30
committed by nshrivas
parent fbd48efe1c
commit c076051dff
5 changed files with 164 additions and 0 deletions

View File

@@ -3650,6 +3650,18 @@ struct rtt_meas_req_test_params {
uint8_t req_id;
};
/**
* struct peer_request_pn_param - PN request params
* @vdev_id: vdev id
* @peer_macaddr: Peer mac address
* @key_type: key type
*/
struct peer_request_pn_param {
uint32_t vdev_id;
uint8_t peer_macaddr[QDF_MAC_ADDR_SIZE];
uint32_t key_type;
};
/**
* struct rtt_meas_req_params - RTT measurement request params
* @req_id: Request id
@@ -4538,6 +4550,7 @@ typedef enum {
wmi_motion_det_host_eventid,
wmi_motion_det_base_line_host_eventid,
wmi_get_ani_level_event_id,
wmi_peer_tx_pn_response_event_id,
wmi_events_max,
} wmi_conv_event_id;
@@ -7077,6 +7090,22 @@ enum wmi_host_fatal_condition_subtype_packet_log_config {
#endif /* OL_ATH_SMART_LOGGING */
#define GET_PN_MAX_LEN 16
/**
* struct wmi_host_get_pn_event - PN event params
* @vdev_id: vdev id
* @peer_macaddr: Peer mac address
* @key_type: key type
* @pn : pn value
*/
struct wmi_host_get_pn_event {
uint32_t vdev_id;
uint8_t mac_addr[QDF_MAC_ADDR_SIZE];
uint32_t key_type;
uint8_t pn[GET_PN_MAX_LEN];
};
/**
* struct wmi_init_cmd_param - INIT command params
* @target_resource_config: pointer to resource config