forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_cfgvif.h
old mode 100644new mode 100755
....@@ -195,12 +195,7 @@
195195 defined(WL_COMPAT_WIRELESS)
196196 extern s32 wl_cfg80211_start_ap(struct wiphy *wiphy, struct net_device *dev,
197197 struct cfg80211_ap_settings *info);
198
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 19, 2) || defined(CFG80211_BKPORT_MLO)
199
-extern s32 wl_cfg80211_stop_ap(struct wiphy *wiphy, struct net_device *dev,
200
- unsigned int link_id);
201
-#else
202198 extern s32 wl_cfg80211_stop_ap(struct wiphy *wiphy, struct net_device *dev);
203
-#endif
204199 extern s32 wl_cfg80211_change_beacon(struct wiphy *wiphy, struct net_device *dev,
205200 struct cfg80211_beacon_data *info);
206201 #else
....@@ -253,7 +248,4 @@
253248 #ifdef SUPPORT_AP_BWCTRL
254249 extern void wl_restore_ap_bw(struct bcm_cfg80211 *cfg);
255250 #endif /* SUPPORT_AP_BWCTRL */
256
-
257
-extern int wl_chspec_chandef(chanspec_t chanspec,
258
- struct cfg80211_chan_def *chandef, struct wiphy *wiphy);
259251 #endif /* _wl_cfgvif_h_ */