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
....@@ -189,23 +189,13 @@
189189 s32
190190 wl_cfg80211_set_channel(struct wiphy *wiphy, struct net_device *dev,
191191 struct ieee80211_channel *chan,
192
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 6, 0))
193
- enum nl80211_channel_type channel_type
194
-#else
195
- enum nl80211_chan_width width
196
-#endif
197
-);
192
+ enum nl80211_channel_type channel_type);
198193 #endif /* ((LINUX_VERSION < VERSION(3, 6, 0)) || WL_COMPAT_WIRELESS */
199194 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 4, 0)) || \
200195 defined(WL_COMPAT_WIRELESS)
201196 extern s32 wl_cfg80211_start_ap(struct wiphy *wiphy, struct net_device *dev,
202197 struct cfg80211_ap_settings *info);
203
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 19, 2) || defined(CFG80211_BKPORT_MLO)
204
-extern s32 wl_cfg80211_stop_ap(struct wiphy *wiphy, struct net_device *dev,
205
- unsigned int link_id);
206
-#else
207198 extern s32 wl_cfg80211_stop_ap(struct wiphy *wiphy, struct net_device *dev);
208
-#endif /* CFG80211_BKPORT_MLO */
209199 extern s32 wl_cfg80211_change_beacon(struct wiphy *wiphy, struct net_device *dev,
210200 struct cfg80211_beacon_data *info);
211201 #else
....@@ -258,7 +248,4 @@
258248 #ifdef SUPPORT_AP_BWCTRL
259249 extern void wl_restore_ap_bw(struct bcm_cfg80211 *cfg);
260250 #endif /* SUPPORT_AP_BWCTRL */
261
-
262
-extern int wl_chspec_chandef(chanspec_t chanspec,
263
- struct cfg80211_chan_def *chandef, struct wiphy *wiphy);
264251 #endif /* _wl_cfgvif_h_ */