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
This commit is contained in:
Sathish Kumar
2017-01-24 17:51:26 +05:30
committed by qcabuildsw
parent 176fe6cbc2
commit 617535c365
3 changed files with 19 additions and 0 deletions

View File

@@ -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_ */