From b22da3d8526a935aa31e086e63f60ff3246cb61c Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Sat, 09 Dec 2023 07:24:11 +0000
Subject: [PATCH] add stmac read mac form eeprom
---
kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_cfg80211.h | 26 +++-----------------------
1 files changed, 3 insertions(+), 23 deletions(-)
diff --git a/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_cfg80211.h b/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_cfg80211.h
old mode 100644
new mode 100755
index 35ab3af..d5e7315
--- a/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_cfg80211.h
+++ b/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_cfg80211.h
@@ -1959,17 +1959,14 @@
u32 join_iovar_ver;
struct delayed_work ap_work; /* AP linkup timeout handler */
wl_event_idx_t eidx; /* event state tracker */
+#if defined (WL_SCHED_SCAN) && defined (SCHED_SCAN_DELAYED_WORK)
+ struct delayed_work sched_scan_stop_work;
+#endif
#ifdef WL_P2P_6G
bool p2p_6g_enabled; /* P2P 6G support enabled */
#endif /* WL_P2P_6G */
u32 halpid;
u8 country[WLC_CNTRY_BUF_SZ];
-#ifdef BCMDBUS
- bool bus_resuming;
-#endif /* BCMDBUS */
-#ifdef WL_ROAM_WAR
- struct ether_addr roaming_bssid;
-#endif /* WL_ROAM_WAR */
#if defined(RSSIAVG)
wl_rssi_cache_ctrl_t g_rssi_cache_ctrl;
wl_rssi_cache_ctrl_t g_connected_rssi_cache_ctrl;
@@ -3045,15 +3042,6 @@
} \
} while (0)
-#define WL_CHANNEL_COPY_FLAG(band_chan_arr) \
-do { \
- u32 arr_size, k; \
- arr_size = ARRAYSIZE(band_chan_arr); \
- for (k = 0; k < arr_size; k++) { \
- band_chan_arr[k].orig_flags = band_chan_arr[k].flags; \
- } \
-} while (0)
-
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 0))
#define CFG80211_PUT_BSS(wiphy, bss) cfg80211_put_bss(wiphy, bss);
#else
@@ -3103,14 +3091,6 @@
extern bool wl_customer6_legacy_chip_check(struct bcm_cfg80211 *cfg,
struct net_device *ndev);
#endif /* CUSTOMER_HW6 */
-#if !defined(WL_TWT) && defined(WL_TWT_HAL_IF)
-extern s32 wl_cfgvendor_notify_twt_event(struct bcm_cfg80211 *cfg,
- bcm_struct_cfgdev *cfgdev, const wl_event_msg_t *e, void *data);
-#endif /* !WL_TWT && WL_TWT_HAL_IF */
-#ifdef BCMDBUS
-s32
-__wl_cfg80211_up_resume(dhd_pub_t *dhd);
-#endif /* BCMDBUS */
void wl_wlfc_enable(struct bcm_cfg80211 *cfg, bool enable);
s32 wl_handle_join(struct bcm_cfg80211 *cfg, struct net_device *dev,
wlcfg_assoc_info_t *assoc_info);
--
Gitblit v1.6.2