Browse Source

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
Kiran Venkatappa 8 years ago
parent
commit
3f061a9d37
3 changed files with 12 additions and 2 deletions
  1. 1 1
      wmi_unified_api.h
  2. 10 0
      wmi_unified_param.h
  3. 1 1
      wmi_unified_priv.h

+ 1 - 1
wmi_unified_api.h

@@ -1232,7 +1232,7 @@ QDF_STATUS wmi_extract_gpio_input_ev_param(void *wmi_hdl,
 		void *evt_buf, uint32_t *gpio_num);
 
 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);
 
 QDF_STATUS wmi_extract_nfcal_power_ev_param(void *wmi_hdl, void *evt_buf,
 		wmi_host_pdev_nfcal_power_all_channels_event *param);

+ 10 - 0
wmi_unified_param.h

@@ -7383,4 +7383,14 @@ struct wmi_host_fips_event_param {
 	uint32_t data_len;
 	uint32_t *data;
 };
+
+/**
+ * struct wmi_host_proxy_ast_reserve_param
+ * @pdev_id: pdev id
+ * @result: result
+ */
+struct wmi_host_proxy_ast_reserve_param {
+	uint32_t pdev_id;
+	uint32_t result;
+};
 #endif /* _WMI_UNIFIED_PARAM_H_ */

+ 1 - 1
wmi_unified_priv.h

@@ -1055,7 +1055,7 @@ QDF_STATUS (*extract_gpio_input_ev_param)(wmi_unified_t wmi_handle,
 	void *evt_buf, uint32_t *gpio_num);
 
 QDF_STATUS (*extract_pdev_reserve_ast_ev_param)(wmi_unified_t wmi_handle,
-	void *evt_buf, uint32_t *result);
+		void *evt_buf, struct wmi_host_proxy_ast_reserve_param *param);
 
 QDF_STATUS (*extract_nfcal_power_ev_param)(wmi_unified_t wmi_handle,
 		void *evt_buf,