Changeset View
Changeset View
Standalone View
Standalone View
sys/net80211/ieee80211.h
| Show First 20 Lines • Show All 1,466 Lines • ▼ Show 20 Lines | |||||
| #define IEEE80211_WEP_KEYLEN 5 /* 40bit */ | #define IEEE80211_WEP_KEYLEN 5 /* 40bit */ | ||||
| #define IEEE80211_WEP_IVLEN 3 /* 24bit */ | #define IEEE80211_WEP_IVLEN 3 /* 24bit */ | ||||
| #define IEEE80211_WEP_KIDLEN 1 /* 1 octet */ | #define IEEE80211_WEP_KIDLEN 1 /* 1 octet */ | ||||
| #define IEEE80211_WEP_CRCLEN 4 /* CRC-32 */ | #define IEEE80211_WEP_CRCLEN 4 /* CRC-32 */ | ||||
| #define IEEE80211_WEP_TOTLEN (IEEE80211_WEP_IVLEN + \ | #define IEEE80211_WEP_TOTLEN (IEEE80211_WEP_IVLEN + \ | ||||
| IEEE80211_WEP_KIDLEN + \ | IEEE80211_WEP_KIDLEN + \ | ||||
| IEEE80211_WEP_CRCLEN) | IEEE80211_WEP_CRCLEN) | ||||
| #define IEEE80211_WEP_NKID 4 /* number of key ids */ | #define IEEE80211_WEP_NKID 4 /* number of WEP/global key ids */ | ||||
| #define IEEE80211_MAX_NKID 6 /* number of WEP/global/iGTK key ids */ | |||||
| #define IEEE80211_IGTK_NKID 2 /* number of iGTK key IDs */ | |||||
| /* | /* | ||||
| * 802.11i defines an extended IV for use with non-WEP ciphers. | * 802.11i defines an extended IV for use with non-WEP ciphers. | ||||
| * When the EXTIV bit is set in the key id byte an additional | * When the EXTIV bit is set in the key id byte an additional | ||||
| * 4 bytes immediately follow the IV for TKIP. For CCMP the | * 4 bytes immediately follow the IV for TKIP. For CCMP the | ||||
| * EXTIV bit is likewise set but the 8 bytes represent the | * EXTIV bit is likewise set but the 8 bytes represent the | ||||
| * CCMP header rather than IV+extended-IV. | * CCMP header rather than IV+extended-IV. | ||||
| */ | */ | ||||
| ▲ Show 20 Lines • Show All 112 Lines • Show Last 20 Lines | |||||