Browse Source

qca-wifi: Fix for removal of common_wmi_handle

Add changes to remove usage of common_wmi_handle
Instead use wmi_unified_t as opaque pointer

Change-Id: Icaad5f740e4a3c7de5cbe7a5713ae0a9b550b542
Akshay Kosigi 6 năm trước cách đây
mục cha
commit
3769272bbd
2 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 2 2
      cfr/src/target_if_cfr.c
  2. 1 1
      cfr/src/target_if_cfr_8074v2.c

+ 2 - 2
cfr/src/target_if_cfr.c

@@ -35,7 +35,7 @@ int target_if_cfr_stop_capture(struct wlan_objmgr_pdev *pdev,
 {
 	struct peer_cfr *pe;
 	struct peer_cfr_params param = {0};
-	struct common_wmi_handle *pdev_wmi_handle = NULL;
+	struct wmi_unified *pdev_wmi_handle = NULL;
 	struct wlan_objmgr_vdev *vdev = {0};
 	struct pdev_cfr *pdev_cfrobj;
 	int retv = 0;
@@ -82,7 +82,7 @@ int target_if_cfr_start_capture(struct wlan_objmgr_pdev *pdev,
 				struct cfr_capture_params *cfr_params)
 {
 	struct peer_cfr_params param = {0};
-	struct common_wmi_handle *pdev_wmi_handle = NULL;
+	struct wmi_unified *pdev_wmi_handle = NULL;
 	struct wlan_objmgr_vdev *vdev;
 	int retv = 0;
 

+ 1 - 1
cfr/src/target_if_cfr_8074v2.c

@@ -304,7 +304,7 @@ target_if_peer_capture_event(ol_scn_t sc, uint8_t *data, uint32_t datalen)
 {
 	QDF_STATUS retval = 0;
 	ol_ath_soc_softc_t *scn = (ol_ath_soc_softc_t *)sc;
-	struct common_wmi_handle *wmi_handle;
+	struct wmi_unified *wmi_handle;
 	struct wlan_objmgr_psoc *psoc;
 	struct wlan_objmgr_pdev *pdev;
 	struct wlan_objmgr_vdev *vdev;