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_cfgvendor.h | 95 -----------------------------------------------
1 files changed, 1 insertions(+), 94 deletions(-)
diff --git a/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_cfgvendor.h b/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_cfgvendor.h
old mode 100644
new mode 100755
index 8826e6d..231163d
--- a/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_cfgvendor.h
+++ b/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_cfgvendor.h
@@ -157,10 +157,6 @@
ANDROID_NL80211_SUBCMD_TX_POWER_RANGE_START = 0x1900,
ANDROID_NL80211_SUBCMD_TX_POWER_RANGE_END = 0x19FF,
- /* define all TWT related commands between 0x2140 and 0x214F */
- ANDROID_NL80211_SUBCMD_TWT_START = 0x2140,
- ANDROID_NL80211_SUBCMD_TWT_END = 0x214F,
-
/* This is reserved for future usage */
} ANDROID_VENDOR_SUB_COMMAND;
@@ -249,13 +245,6 @@
APF_SUBCMD_GET_CAPABILITIES = ANDROID_NL80211_SUBCMD_PKT_FILTER_RANGE_START,
APF_SUBCMD_SET_FILTER,
WIFI_SUBCMD_TX_POWER_SCENARIO = ANDROID_NL80211_SUBCMD_TX_POWER_RANGE_START,
-
- ANDR_TWT_SUBCMD_GET_CAP = ANDROID_NL80211_SUBCMD_TWT_START,
- ANDR_TWT_SUBCMD_SETUP,
- ANDR_TWT_SUBCMD_TEARDOWN,
- ANDR_TWT_SUBCMD_INFO_FRAME,
- ANDR_TWT_SUBCMD_GET_STATS,
- ANDR_TWT_SUBCMD_CLR_STATS,
/* Add more sub commands here */
VENDOR_SUBCMD_MAX
};
@@ -607,9 +596,7 @@
BRCM_VENDOR_EVENT_CU = 38,
BRCM_VENDOR_EVENT_WIPS = 39,
NAN_ASYNC_RESPONSE_DISABLED = 40,
- BRCM_VENDOR_EVENT_RCC_INFO = 41,
- BRCM_VENDOR_EVENT_TWT = 43,
- WL_VENDOR_EVENT_LAST
+ BRCM_VENDOR_EVENT_RCC_INFO = 41
} wl_vendor_event_t;
enum andr_wifi_attr {
@@ -768,86 +755,6 @@
/* Add any new HAL_START attribute prior to SET_HAL_START_ATTRIBUTE_MAX */
SET_HAL_START_ATTRIBUTE_MAX
} SET_HAL_START_ATTRIBUTE;
-
-#ifdef WL_TWT
-typedef enum {
- WIFI_TWT_EVENT_SETUP = 1,
- WIFI_TWT_EVENT_TEARDOWN = 2,
- WIFI_TWT_EVENT_INFO_FRM = 3,
- WIFI_TWT_EVENT_NOTIFY = 4
-} wifi_twt_sub_event;
-
-typedef enum {
- WIFI_TWT_ATTR_NONE = 0,
- WIFI_TWT_ATTR_SUB_EVENT = 1,
- WIFI_TWT_ATTR_REASON_CODE = 2,
- WIFI_TWT_ATTR_STATUS = 3,
- WIFI_TWT_ATTR_SETUP_CMD = 4,
- WIFI_TWT_ATTR_FLOW_FLAGS = 5,
- WIFI_TWT_ATTR_FLOW_ID = 6,
- WIFI_TWT_ATTR_CHANNEL = 7,
- WIFI_TWT_ATTR_NEGOTIATION_TYPE = 8,
- WIFI_TWT_ATTR_WAKETIME_H = 9,
- WIFI_TWT_ATTR_WAKETIME_L = 10,
- WIFI_TWT_ATTR_WAKE_DURATION = 11,
- WIFI_TWT_ATTR_WAKE_INTERVAL = 12,
- WIFI_TWT_ATTR_BID = 13,
- WIFI_TWT_ATTR_ALLTWT = 14,
- WIFI_TWT_ATTR_NEXT_TWT_H = 15,
- WIFI_TWT_ATTR_NEXT_TWT_L = 16,
- WIFI_TWT_ATTR_CONFIG_ID = 17,
- WIFI_TWT_ATTR_NOTIFICATION = 18,
- WIFI_TWT_ATTR_FLOW_TYPE = 19,
- WIFI_TWT_ATTR_TRIGGER_TYPE = 20,
-
- WIFI_TWT_ATTR_MAX
-} wifi_twt_attribute;
-#endif /* WL_TWT */
-
-#ifdef WL_TWT_HAL_IF
-#define BRCM_TWT_HAL_VENDOR_EVENT_BUF_LEN 500
-
-typedef enum {
- ANDR_TWT_ATTR_NONE = 0,
- ANDR_TWT_ATTR_CONFIG_ID = 1,
- ANDR_TWT_ATTR_NEGOTIATION_TYPE = 2,
- ANDR_TWT_ATTR_TRIGGER_TYPE = 3,
- ANDR_TWT_ATTR_WAKE_DURATION = 4,
- ANDR_TWT_ATTR_WAKE_INTERVAL = 5,
- ANDR_TWT_ATTR_WAKE_INTERVAL_MIN = 6,
- ANDR_TWT_ATTR_WAKE_INTERVAL_MAX = 7,
- ANDR_TWT_ATTR_WAKE_DURATION_MIN = 8,
- ANDR_TWT_ATTR_WAKE_DURATION_MAX = 9,
- ANDR_TWT_ATTR_AVG_PKT_SIZE = 10,
- ANDR_TWT_ATTR_AVG_PKT_NUM = 11,
- ANDR_TWT_ATTR_WAKETIME_OFFSET = 12,
- ANDR_TWT_ATTR_ALL_TWT = 13,
- ANDR_TWT_ATTR_RESUME_TIME = 14,
- ANDR_TWT_ATTR_AVG_EOSP_DUR = 15,
- ANDR_TWT_ATTR_EOSP_CNT = 16,
- ANDR_TWT_ATTR_NUM_SP = 17,
- ANDR_TWT_ATTR_DEVICE_CAP = 18,
- ANDR_TWT_ATTR_PEER_CAP = 19,
- ANDR_TWT_ATTR_STATUS = 20,
- ANDR_TWT_ATTR_REASON_CODE = 21,
- ANDR_TWT_ATTR_TWT_RESUMED = 22,
- ANDR_TWT_ATTR_TWT_NOTIFICATION = 23,
- ANDR_TWT_ATTR_SUB_EVENT = 24,
- ANDR_TWT_ATTR_NUM_PEER_STATS = 25,
- ANDR_TWT_ATTR_AVG_PKT_NUM_TX = 26,
- ANDR_TWT_ATTR_AVG_PKT_SIZE_TX = 27,
- ANDR_TWT_ATTR_AVG_PKT_NUM_RX = 28,
- ANDR_TWT_ATTR_AVG_PKT_SIZE_RX = 29,
- ANDR_TWT_ATTR_MAX
-} andr_twt_attribute;
-
-typedef enum {
- ANDR_TWT_EVENT_SETUP = 1,
- ANDR_TWT_EVENT_TEARDOWN = 2,
- ANDR_TWT_EVENT_INFO_FRM = 3,
- ANDR_TWT_EVENT_NOTIFY = 4
-} andr_twt_sub_event;
-#endif /* WL_TWT_HAL_IF */
/* Capture the BRCM_VENDOR_SUBCMD_PRIV_STRINGS* here */
#define BRCM_VENDOR_SCMD_CAPA "cap"
--
Gitblit v1.6.2