diff options
author | sam <sam@FreeBSD.org> | 2009-01-27 23:00:38 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-01-27 23:00:38 +0000 |
commit | 61a0b86ec5e1712eaaf5d4593415ee015f670f75 (patch) | |
tree | c890c1c517bdb02c5033e74d3d82e3c9446cbb6a /sys/net80211/ieee80211.h | |
parent | 189648aebebc024f0096453ff810297193234a64 (diff) | |
download | FreeBSD-src-61a0b86ec5e1712eaaf5d4593415ee015f670f75.zip FreeBSD-src-61a0b86ec5e1712eaaf5d4593415ee015f670f75.tar.gz |
o make %b msg bit defines public (to user apps too)
o rename IEEE80211_C_CRYPTO_BITS to IEEE80211_CRYPTO_BITS
Diffstat (limited to 'sys/net80211/ieee80211.h')
-rw-r--r-- | sys/net80211/ieee80211.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211.h b/sys/net80211/ieee80211.h index 6caaefd..fb63507 100644 --- a/sys/net80211/ieee80211.h +++ b/sys/net80211/ieee80211.h @@ -502,6 +502,11 @@ struct ieee80211_frame_bar { #define IEEE80211_CAPINFO_DSSSOFDM 0x2000 /* bits 14-15 are reserved */ +#define IEEE80211_CAPINFO_BITS \ + "\20\1ESS\2IBSS\3CF_POLLABLE\4CF_POLLREQ\5PRIVACY\6SHORT_PREAMBLE" \ + "\7PBCC\10CHNL_AGILITY\11SPECTRUM_MGMT\13SHORT_SLOTTIME\14RSN" \ + "\16DSSOFDM" + /* * 802.11i/WPA information element (maximally sized). */ @@ -562,6 +567,11 @@ struct ieee80211_ie_htcap { #define IEEE80211_HTCAP_40INTOLERANT 0x4000 /* 40MHz intolerant */ #define IEEE80211_HTCAP_LSIGTXOPPROT 0x8000 /* L-SIG TXOP prot */ +#define IEEE80211_HTCAP_BITS \ + "\20\1LDPC\2CHWIDTH40\5GREENFIELD\6SHORTGI20\7SHORTGI40\10TXSTBC" \ + "\13DELBA\14AMSDU(7935)\15DSSSCCK40\16PSMP\1740INTOLERANT" \ + "\20LSIGTXOPPROT" + /* HT parameters (hc_param) */ #define IEEE80211_HTCAP_MAXRXAMPDU 0x03 /* max rx A-MPDU factor */ #define IEEE80211_HTCAP_MAXRXAMPDU_S 0 @@ -754,6 +764,9 @@ struct ieee80211_ath_ie { #define IEEE80211_ERP_USE_PROTECTION 0x02 #define IEEE80211_ERP_LONG_PREAMBLE 0x04 +#define IEEE80211_ERP_BITS \ + "\20\1NON_ERP_PRESENT\2USE_PROTECTION\3LONG_PREAMBLE" + #define ATH_OUI 0x7f0300 /* Atheros OUI */ #define ATH_OUI_TYPE 0x01 #define ATH_OUI_SUBTYPE 0x01 |