qcacmn: Add pdev_id in Pdev AST reserve event
pdev_id is required to identify the pdev object on which this event is recieved. Add pdev_id in the event extract API. Change-Id: Ia910d42af6a9d6099da1b7781601b0320dff80ba CRs-Fixed: 2003898
Cette révision appartient à :

révisé par
qcabuildsw

Parent
8e146df771
révision
5050aa8ac8
@@ -5538,18 +5538,18 @@ QDF_STATUS wmi_extract_gpio_input_ev_param(void *wmi_hdl,
|
||||
* param from event
|
||||
* @wmi_handle: wmi handle
|
||||
* @param evt_buf: pointer to event buffer
|
||||
* @param result: Pointer to hold reserve ast entry param
|
||||
* @param param: Pointer to hold reserve ast entry param
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_extract_pdev_reserve_ast_ev_param(void *wmi_hdl,
|
||||
void *evt_buf, uint32_t *result)
|
||||
void *evt_buf, struct wmi_host_proxy_ast_reserve_param *param)
|
||||
{
|
||||
wmi_unified_t wmi = (wmi_unified_t) wmi_hdl;
|
||||
|
||||
if (wmi->ops->extract_pdev_reserve_ast_ev_param)
|
||||
return wmi->ops->extract_pdev_reserve_ast_ev_param(wmi,
|
||||
evt_buf, result);
|
||||
evt_buf, param);
|
||||
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
@@ -6360,12 +6360,13 @@ static QDF_STATUS extract_gpio_input_ev_param_non_tlv(wmi_unified_t wmi_handle,
|
||||
*/
|
||||
static QDF_STATUS extract_pdev_reserve_ast_ev_param_non_tlv(
|
||||
wmi_unified_t wmi_handle,
|
||||
void *evt_buf, uint32_t *result)
|
||||
void *evt_buf, struct wmi_host_proxy_ast_reserve_param *param)
|
||||
{
|
||||
wmi_pdev_reserve_ast_entry_event *ev =
|
||||
(wmi_pdev_reserve_ast_entry_event *) evt_buf;
|
||||
|
||||
*result = ev->result;
|
||||
param->result = ev->result;
|
||||
param->pdev_id = WMI_NON_TLV_DEFAULT_PDEV_ID;
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur