configs/6.13: enable CONFIG_MAC80211_HWSIM#56
Open
lacraig2 wants to merge 1 commit into
Open
Conversation
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 #.)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Enables
CONFIG_MAC80211_HWSIMin the shared 6.13 config (configs/6.13/all-common.inc).Why
cfg80211/mac80211are 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 andwifidetection finds nothing. Building in the virtual radio gives a real phy with full nl80211, sowifi-detect/hostapd/netifdcan bring upwlan*with no RF hardware. This is useful for validating a rehosted target's Wi-Fi bring-up chain end to end.Notes
CONFIG_MAC80211.--config-onlylints cleanly for mipsel (deps satisfied); the option lands in the resulting linted defconfig..incfiles are run through the C preprocessor, so the explanatory comment uses//(a#line is parsed as a preprocessor directive and errors).