瀏覽代碼

qcacmn: Change arguments for son rx ops

Change the arguments of son rx ops and make it compatible with
new SON api.

CRs-Fixed: 3127085
Change-Id: Ia6658763df145e34c2f6b8bde1c4a3f6e0ee94de
Balaganapathy Palanisamy 3 年之前
父節點
當前提交
08940324e7
共有 1 個文件被更改,包括 4 次插入8 次删除
  1. 4 8
      umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h

+ 4 - 8
umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h

@@ -1306,8 +1306,6 @@ struct wlan_lmac_if_son_tx_ops {
  * config_get: route son config from cfg80211
  * config_ext_set_get: route extended configs from cfg80211
  */
-struct wiphy;
-struct wireless_dev;
 struct wlan_lmac_if_son_rx_ops {
 	int (*deliver_event)(struct wlan_objmgr_vdev *vdev,
 			     struct wlan_objmgr_peer *peer,
@@ -1318,14 +1316,12 @@ struct wlan_lmac_if_son_rx_ops {
 				  int subtype, u_int8_t *frame,
 				  u_int16_t frame_len,
 				  void *meta_data);
-	int (*config_set)(struct wiphy *wiphy,
-			  struct wireless_dev *wdev,
+	int (*config_set)(struct wlan_objmgr_vdev *vdev,
 			  void *params);
-	int (*config_get)(struct wiphy *wiphy,
-			  struct wireless_dev *wdev,
+	int (*config_get)(struct wlan_objmgr_vdev *vdev,
 			  void *params);
-	int (*config_ext_set_get)(struct net_device *dev,
-				  void *req,
+	int (*config_ext_set_get)(struct wlan_objmgr_vdev *vdev,
+				  void *params,
 				  void *wri);
 };