Skip to content

configs/6.13: enable CONFIG_MAC80211_HWSIM#56

Open
lacraig2 wants to merge 1 commit into
mainfrom
add-mac80211-hwsim
Open

configs/6.13: enable CONFIG_MAC80211_HWSIM#56
lacraig2 wants to merge 1 commit into
mainfrom
add-mac80211-hwsim

Conversation

@lacraig2

Copy link
Copy Markdown
Contributor

What

Enables CONFIG_MAC80211_HWSIM in the shared 6.13 config (configs/6.13/all-common.inc).

Why

cfg80211/mac80211 are already =y, but under emulation no real radio driver can load (vendor Wi-Fi modules are built for a different kernel), so there is no phy and wifi detection finds nothing. Building in the virtual radio gives a real phy with full nl80211, so wifi-detect/hostapd/netifd can bring up wlan* with no RF hardware. This is useful for validating a rehosted target's Wi-Fi bring-up chain end to end.

Notes

  • One line added next to CONFIG_MAC80211. --config-only lints cleanly for mipsel (deps satisfied); the option lands in the resulting linted defconfig.
  • .inc files are run through the C preprocessor, so the explanatory comment uses // (a # line is parsed as a preprocessor directive and errors).

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 #.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant