qcacmn: Extract OEM response params
Add API to extract OEM response parameters from corresponding WMI event. Change-Id: I9a45bdac4a9091bf21ad8b9877e485baad4a75db CRs-Fixed: 2467938
This commit is contained in:

کامیت شده توسط
nshrivas

والد
5e9e4549d9
کامیت
94748b3c46
@@ -2451,4 +2451,18 @@ wmi_extract_cfr_peer_tx_event_param(void *wmi_hdl, void *evt_buf,
|
||||
wmi_cfr_peer_tx_event_param *peer_tx_event);
|
||||
|
||||
#endif /* WLAN_CFR_ENABLE */
|
||||
|
||||
#ifdef WIFI_POS_CONVERGED
|
||||
/**
|
||||
* wmi_extract_oem_response_param() - WMI function to extract OEM response param
|
||||
* @wmi_hdl: WMI handle
|
||||
* @resp_buf: Buffer holding response data
|
||||
* @oem_resp_param: zero-filled structure pointer to hold oem response data
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS if success, else returns proper error code.
|
||||
*/
|
||||
QDF_STATUS
|
||||
wmi_extract_oem_response_param(wmi_unified_t wmi_hdl, void *resp_buf,
|
||||
struct wmi_oem_response_param *oem_resp_param);
|
||||
#endif /* WIFI_POS_CONVERGED */
|
||||
#endif /* _WMI_UNIFIED_API_H_ */
|
||||
|
@@ -7854,6 +7854,34 @@ typedef struct {
|
||||
uint32_t chain_rssi[WMI_HOST_MAX_CHAINS];
|
||||
} wmi_cfr_peer_tx_event_param;
|
||||
|
||||
/**
|
||||
* struct wmi_host_oem_indirect_data - Indirect OEM data
|
||||
* @pdev_id: pdev id
|
||||
* @addr: 36 bit address
|
||||
* @len: length of data in bytes
|
||||
*/
|
||||
struct wmi_host_oem_indirect_data {
|
||||
uint32_t pdev_id;
|
||||
uint64_t addr;
|
||||
uint32_t len;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct wmi_oem_response_param - OEM response info
|
||||
* @num_data1: First data response length
|
||||
* @data_1: First data
|
||||
* @num_data2: Second data response length
|
||||
* @data_2: Second data
|
||||
* @indirect_data: Indirect data
|
||||
*/
|
||||
struct wmi_oem_response_param {
|
||||
uint32_t num_data1;
|
||||
uint8_t *data_1;
|
||||
uint32_t num_data2;
|
||||
uint8_t *data_2;
|
||||
struct wmi_host_oem_indirect_data indirect_data;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct mws_coex_state - Modem Wireless Subsystem(MWS) coex info
|
||||
* @vdev_id : vdev id
|
||||
|
@@ -1984,6 +1984,11 @@ QDF_STATUS (*send_mws_coex_status_req_cmd)(wmi_unified_t wmi_handle,
|
||||
QDF_STATUS (*set_rx_pkt_type_routing_tag_cmd)(
|
||||
wmi_unified_t wmi_hdl, struct wmi_rx_pkt_protocol_routing_info *param);
|
||||
#endif /* WLAN_SUPPORT_RX_PROTOCOL_TYPE_TAG */
|
||||
#ifdef WIFI_POS_CONVERGED
|
||||
QDF_STATUS (*extract_oem_response_param)
|
||||
(wmi_unified_t wmi_hdl, void *resp_buf,
|
||||
struct wmi_oem_response_param *oem_resp_param);
|
||||
#endif /* WIFI_POS_CONVERGED */
|
||||
};
|
||||
|
||||
/* Forward declartion for psoc*/
|
||||
|
مرجع در شماره جدید
Block a user