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/dhd_common.c | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_common.c b/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_common.c
old mode 100644
new mode 100755
index 7c83e58..7272fc3
--- a/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_common.c
+++ b/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_common.c
@@ -5154,11 +5154,16 @@
event_name, reason, bcn_mute_miti_evnt_data->uatbtt_count));
}
break;
-#ifdef WL_TWT
- case WLC_E_TWT:
- DHD_EVENT(("MACEVENT: %s, type:%d\n", event_name, reason));
+
+ case WLC_E_TWT_SETUP:
+ DHD_EVENT(("MACEVENT: %s, MAC %s\n", event_name, eabuf));
break;
-#endif /* WL_TWT */
+ case WLC_E_TWT_TEARDOWN:
+ DHD_EVENT(("MACEVENT: %s, MAC %s\n", event_name, eabuf));
+ break;
+ case WLC_E_TWT_INFO_FRM:
+ DHD_EVENT(("MACEVENT: %s, MAC %s\n", event_name, eabuf));
+ break;
default:
DHD_EVENT(("MACEVENT: %s %d, MAC %s, status %d, reason %d, auth %d\n",
event_name, event_type, eabuf, (int)status, (int)reason,
--
Gitblit v1.6.2