qcacmn: Add extract API for UTF event to support TLV and Non-TLV targets
Add extract API for handling UTF event data received from the target for both TLV and non-TLV cases. Change-Id: I62525d7c8663fe90e0e3e76cf5286bb9dc86acd0 CRs-Fixed: 1115293
这个提交包含在:
@@ -1362,4 +1362,7 @@ QDF_STATUS wmi_extract_reg_cap_service_ready_ext(
|
||||
void *wmi_hdl,
|
||||
uint8_t *evt_buf, uint8_t phy_idx,
|
||||
struct WMI_HOST_HAL_REG_CAPABILITIES_EXT *param);
|
||||
QDF_STATUS wmi_extract_pdev_utf_event(void *wmi_hdl,
|
||||
uint8_t *evt_buf,
|
||||
struct wmi_host_pdev_utf_event *param);
|
||||
#endif /* _WMI_UNIFIED_API_H_ */
|
||||
|
@@ -7214,4 +7214,15 @@ struct action_wakeup_set_param {
|
||||
uint32_t action_category_map[WMI_SUPPORTED_ACTION_CATEGORY_ELE_LIST];
|
||||
};
|
||||
|
||||
/**
|
||||
* struct wmi_host_pdev_utf_event - Host defined struct to hold utf event data
|
||||
* @data: Pointer to data
|
||||
* @datalen: Data length
|
||||
*
|
||||
*/
|
||||
struct wmi_host_pdev_utf_event {
|
||||
uint8_t *data;
|
||||
uint16_t datalen;
|
||||
};
|
||||
|
||||
#endif /* _WMI_UNIFIED_PARAM_H_ */
|
||||
|
@@ -1212,6 +1212,11 @@ QDF_STATUS (*extract_reg_cap_service_ready_ext)(
|
||||
wmi_unified_t wmi_handle,
|
||||
uint8_t *evt_buf, uint8_t phy_idx,
|
||||
struct WMI_HOST_HAL_REG_CAPABILITIES_EXT *param);
|
||||
|
||||
QDF_STATUS (*extract_pdev_utf_event)(wmi_unified_t wmi_hdl,
|
||||
uint8_t *evt_buf,
|
||||
struct wmi_host_pdev_utf_event *param);
|
||||
|
||||
uint16_t (*wmi_set_htc_tx_tag)(wmi_unified_t wmi_handle,
|
||||
wmi_buf_t buf, uint32_t cmd_id);
|
||||
};
|
||||
|
在新工单中引用
屏蔽一个用户