diff options
author | sam <sam@FreeBSD.org> | 2008-05-12 00:15:30 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2008-05-12 00:15:30 +0000 |
commit | f663b621286051ac42452779cf814624994dae88 (patch) | |
tree | 3cf79416d2ad19b6945f31a06a6e43e73f0d5527 /sys/net80211/ieee80211_ddb.c | |
parent | 544a240c14d88ab9e4515a136add5e80481a9d28 (diff) | |
download | FreeBSD-src-f663b621286051ac42452779cf814624994dae88.zip FreeBSD-src-f663b621286051ac42452779cf814624994dae88.tar.gz |
Minor cleanup of vap create work:
o add IEEE80211_C_STA capability to indicate sta mode is supported
(was previously assumed) and mark drivers as capable
o add ieee80211_opcap array to map an opmode to the equivalent capability bit
o move IEEE80211_C_OPMODE definition to where capabilities are defined so it's
clear it should be kept in sync (on future additions)
o check device capabilities in clone create before trying to create a vap;
this makes driver checks unneeded
o make error codes return on failed clone request unique
o temporarily add console printfs on clone request failures to aid in
debugging; these will move under DIAGNOSTIC or similar before release
Diffstat (limited to 'sys/net80211/ieee80211_ddb.c')
-rw-r--r-- | sys/net80211/ieee80211_ddb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_ddb.c b/sys/net80211/ieee80211_ddb.c index fd860c7..92dd460 100644 --- a/sys/net80211/ieee80211_ddb.c +++ b/sys/net80211/ieee80211_ddb.c @@ -71,7 +71,7 @@ __FBSDID("$FreeBSD$"); #define IEEE80211_FVEN_BITS "\20" #define IEEE80211_C_BITS \ - "\20\7FF\10TURBOP\11IBSS\12PMGT" \ + "\20\1STA\7FF\10TURBOP\11IBSS\12PMGT" \ "\13HOSTAP\14AHDEMO\15SWRETRY\16TXPMGT\17SHSLOT\20SHPREAMBLE" \ "\21MONITOR\22DFS\30WPA1\31WPA2\32BURST\33WME\34WDS\36BGSCAN" \ "\37TXFRAG" |