qcacmn: Add pktlog decode info WMI handler
Copy software image version, chip information, pktlog json version and pdev id from the event received from firmware. Change-Id: I53c2fceee129fa69126ae8214fb652a744bfcbfa CRs-Fixed: 3165004
This commit is contained in:

committed by
Madan Koyyalamudi

vanhempi
c53ac4acce
commit
8ccd0d1792
@@ -4708,6 +4708,25 @@ wmi_unified_peer_ppe_ds_param_send(wmi_unified_t wmi_handle,
|
||||
struct peer_ppe_ds_param *param);
|
||||
#endif /* WLAN_SUPPORT_PPEDS */
|
||||
|
||||
/**
|
||||
* wmi_extract_pktlog_decode_info_event() - Extract pktlog decode info
|
||||
* @wmi_handle: WMI handle
|
||||
* @evt_buf: event buffer
|
||||
* @pdev_id: pdev_id
|
||||
* @software_image: software image version
|
||||
* @chip_info: chip info
|
||||
* @pktlog_json_version: pktlog json version
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS for success or error code
|
||||
*/
|
||||
QDF_STATUS
|
||||
wmi_extract_pktlog_decode_info_event(wmi_unified_t wmi_handle,
|
||||
void *evt_buf,
|
||||
uint8_t *pdev_id,
|
||||
uint8_t *software_image,
|
||||
uint8_t *chip_info,
|
||||
uint32_t *pktlog_json_version);
|
||||
|
||||
/**
|
||||
* wmi_unified_pn_mgmt_rxfilter_send_cmd() - Send PN mgmt RxFilter command to FW
|
||||
* @wmi_handle: WMI handle
|
||||
|
@@ -4940,6 +4940,7 @@ typedef enum {
|
||||
wmi_resmgr_chan_time_quota_changed_eventid,
|
||||
#endif
|
||||
wmi_peer_rx_pn_response_event_id,
|
||||
wmi_extract_pktlog_decode_info_eventid,
|
||||
wmi_events_max,
|
||||
} wmi_conv_event_id;
|
||||
|
||||
@@ -5588,6 +5589,7 @@ typedef enum {
|
||||
wmi_service_rtt_11az_ntb_support,
|
||||
wmi_service_rtt_11az_tb_support,
|
||||
#endif
|
||||
wmi_service_pktlog_decode_info_support,
|
||||
wmi_services_max,
|
||||
} wmi_conv_service_ids;
|
||||
#define WMI_SERVICE_UNAVAILABLE 0xFFFF
|
||||
|
@@ -2965,6 +2965,12 @@ QDF_STATUS
|
||||
QDF_STATUS
|
||||
(*send_vdev_pn_mgmt_rxfilter_cmd)(wmi_unified_t wmi_handle,
|
||||
struct vdev_pn_mgmt_rxfilter_params *params);
|
||||
|
||||
QDF_STATUS
|
||||
(*extract_pktlog_decode_info_event)(wmi_unified_t wmi_handle, void *evt_buf,
|
||||
uint8_t *pdev_id, uint8_t *software_image,
|
||||
uint8_t *chip_info,
|
||||
uint32_t *pktlog_json_version);
|
||||
};
|
||||
|
||||
/* Forward declartion for psoc*/
|
||||
|
Viittaa uudesa ongelmassa
Block a user