From 756bddb20611e597c2f3df0da831392507ca74e4 Mon Sep 17 00:00:00 2001 From: Luke Craig Date: Thu, 23 Jul 2026 15:02:22 -0400 Subject: [PATCH] configs/6.13: enable CONFIG_MAC80211_HWSIM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cfg80211/mac80211 are already =y, but no real radio driver can load under emulation (vendor Wi-Fi modules are built for a different kernel). Building in the virtual radio provides a real phy with full nl80211 so wifi-detect/hostapd/netifd can bring up wlan* with no RF hardware — useful for validating a rehosted target's Wi-Fi bring-up chain. (.inc files run through the C preprocessor, so the note above the option uses // comments, not #.) --- configs/6.13/all-common.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configs/6.13/all-common.inc b/configs/6.13/all-common.inc index fff1110..70efc45 100644 --- a/configs/6.13/all-common.inc +++ b/configs/6.13/all-common.inc @@ -143,6 +143,10 @@ CONFIG_KSM=y CONFIG_LEGACY_PTY_COUNT=16 CONFIG_LOG_BUF_SHIFT=14 CONFIG_MAC80211=y +// Virtual 802.11 radio for rehosting devices whose real Wi-Fi driver (mt76 etc.) cannot +// load on the donor kernel: a real cfg80211 phy with full nl80211 so wifi-detect/hostapd/ +// netifd bring up wlan* with no RF hardware. Built-in so the phy exists at boot. RUT2M RF model. +CONFIG_MAC80211_HWSIM=y CONFIG_MAGIC_SYSRQ=y CONFIG_MINIX_FS=y CONFIG_MODULES=y