hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_cfgvif.h
....@@ -189,7 +189,12 @@
189189 s32
190190 wl_cfg80211_set_channel(struct wiphy *wiphy, struct net_device *dev,
191191 struct ieee80211_channel *chan,
192
- enum nl80211_channel_type channel_type);
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
+);
193198 #endif /* ((LINUX_VERSION < VERSION(3, 6, 0)) || WL_COMPAT_WIRELESS */
194199 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 4, 0)) || \
195200 defined(WL_COMPAT_WIRELESS)
....@@ -200,7 +205,7 @@
200205 unsigned int link_id);
201206 #else
202207 extern s32 wl_cfg80211_stop_ap(struct wiphy *wiphy, struct net_device *dev);
203
-#endif
208
+#endif /* CFG80211_BKPORT_MLO */
204209 extern s32 wl_cfg80211_change_beacon(struct wiphy *wiphy, struct net_device *dev,
205210 struct cfg80211_beacon_data *info);
206211 #else