Changeset View
Changeset View
Standalone View
Standalone View
head/sys/net80211/ieee80211.h
Show First 20 Lines • Show All 809 Lines • ▼ Show 20 Lines | |||||
* as other than 0 violates the 11h spec. | * as other than 0 violates the 11h spec. | ||||
*/ | */ | ||||
#define IEEE80211_CSA_COUNT_MIN 2 | #define IEEE80211_CSA_COUNT_MIN 2 | ||||
#define IEEE80211_CSA_COUNT_MAX 255 | #define IEEE80211_CSA_COUNT_MAX 255 | ||||
/* rate set entries are in .5 Mb/s units, and potentially marked as basic */ | /* rate set entries are in .5 Mb/s units, and potentially marked as basic */ | ||||
#define IEEE80211_RATE_BASIC 0x80 | #define IEEE80211_RATE_BASIC 0x80 | ||||
#define IEEE80211_RATE_VAL 0x7f | #define IEEE80211_RATE_VAL 0x7f | ||||
#define IEEE80211_RV(v) ((v) & IEEE80211_RATE_VAL) | |||||
/* ERP information element flags */ | /* ERP information element flags */ | ||||
#define IEEE80211_ERP_NON_ERP_PRESENT 0x01 | #define IEEE80211_ERP_NON_ERP_PRESENT 0x01 | ||||
#define IEEE80211_ERP_USE_PROTECTION 0x02 | #define IEEE80211_ERP_USE_PROTECTION 0x02 | ||||
#define IEEE80211_ERP_LONG_PREAMBLE 0x04 | #define IEEE80211_ERP_LONG_PREAMBLE 0x04 | ||||
#define IEEE80211_ERP_BITS \ | #define IEEE80211_ERP_BITS \ | ||||
"\20\1NON_ERP_PRESENT\2USE_PROTECTION\3LONG_PREAMBLE" | "\20\1NON_ERP_PRESENT\2USE_PROTECTION\3LONG_PREAMBLE" | ||||
▲ Show 20 Lines • Show All 302 Lines • Show Last 20 Lines |