* [PATCH rtw-next] wifi: rtw88: 8723d: add iface combination
@ 2026-10-16 21:41 Carl Quist
0 siblings, 0 replies; only message in thread
From: Carl Quist @ 2026-10-16 21:41 UTC (permalink / raw)
To: Ping-Ke Shih; +Cc: linux-wireless, Carl Quist
Allow 8723d to operate a station and an AP interface concurrently, using
the combination already enabled for 8822c: one station plus one AP on the
same channel.
Without it, the AP interface cannot be brought up while the station is
active (hostapd: "Could not set interface ap0 flags (UP): Device or
resource busy"), so an RTL8723DE laptop cannot share its Wi-Fi
connection.
Tested on RTL8723DE [10ec:d723], firmware 48.0.0, kernel 7.2.5, with
hostapd 2.12 on a second (AP) interface with its own MAC address:
- the AP ran beside the associated station on 2.4 GHz channel 1 (HT20)
for about four hours and served a smartphone client;
- the AP was started and stopped repeatedly without affecting the
station;
- with the AP running, the station was disconnected and reconnected
four times; it re-associated within one second each time and the AP
stayed up.
Assisted-by: LLM
Signed-off-by: Carl Quist <equalizerjr@gmail.com>
---
Notes:
An AI coding assistant (Claude Opus 5.5) helped investigate this, write the
change and run the tests above; I reviewed the change and tested it on my
own RTL8723DE laptop.
drivers/net/wireless/realtek/rtw88/main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wireless/realtek/rtw88/main.c b/drivers/net/wireless/realtek/rtw88/main.c
index 0f23498..c64a3ba 100644
--- a/drivers/net/wireless/realtek/rtw88/main.c
+++ b/drivers/net/wireless/realtek/rtw88/main.c
@@ -2299,7 +2299,8 @@ int rtw_register_hw(struct rtw_dev *rtwdev, struct ieee80211_hw *hw)
hw->wiphy->max_scan_ssids = RTW_SCAN_MAX_SSIDS;
hw->wiphy->max_scan_ie_len = rtw_get_max_scan_ie_len(rtwdev);
- if (rtwdev->chip->id == RTW_CHIP_TYPE_8822C) {
+ if (rtwdev->chip->id == RTW_CHIP_TYPE_8822C ||
+ rtwdev->chip->id == RTW_CHIP_TYPE_8723D) {
hw->wiphy->iface_combinations = rtw_iface_combs;
hw->wiphy->n_iface_combinations = ARRAY_SIZE(rtw_iface_combs);
}
--
2.55.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-16 21:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-16 21:41 [PATCH rtw-next] wifi: rtw88: 8723d: add iface combination Carl Quist
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox