qcacmn: Extract additional params from twt add dialog comp evt

Extract additional params obtained from fw as part of
WMI_TWT_ADD_DIALOG_COMPLETE_EVENTID during TWT setup

Change-Id: Ic58a1da463238a748cbf2678fe0156789ebb3559
CRs-Fixed: 2737036
This commit is contained in:
Visweswara Tanuku
2020-07-21 14:05:56 +05:30
committed by snandini
parent 98f996d608
commit 19b1248241
5 changed files with 152 additions and 0 deletions

View File

@@ -159,6 +159,21 @@ QDF_STATUS wmi_extract_twt_add_dialog_comp_event(
uint8_t *evt_buf,
struct wmi_twt_add_dialog_complete_event_param *params);
/**
* wmi_extract_twt_add_dialog_comp_additional_params() - Extracts additional
* twt parameters, as part of add dialog completion event
* @wmi_hdl: wmi handle
* @evt_buf: Pointer event buffer
* @additional_params: additional parameters to extract
* @idx: index of num_twt_params to extract
*
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
*/
QDF_STATUS wmi_extract_twt_add_dialog_comp_additional_params(
wmi_unified_t wmi_handle, uint8_t *evt_buf,
struct wmi_twt_add_dialog_additional_params *additional_params,
uint32_t idx);
/**
* wmi_extract_twt_del_dialog_comp_event() - Extract WMI event params for TWT
* delete dialog completion event