diff options
Diffstat (limited to 'include/linux/ieee80211.h')
-rw-r--r-- | include/linux/ieee80211.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 30621c27159f..214821af3d5b 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h | |||
@@ -81,18 +81,18 @@ | |||
81 | 81 | ||
82 | 82 | ||
83 | /* miscellaneous IEEE 802.11 constants */ | 83 | /* miscellaneous IEEE 802.11 constants */ |
84 | #define IEEE80211_MAX_FRAG_THRESHOLD 2346 | 84 | #define IEEE80211_MAX_FRAG_THRESHOLD 2352 |
85 | #define IEEE80211_MAX_RTS_THRESHOLD 2347 | 85 | #define IEEE80211_MAX_RTS_THRESHOLD 2353 |
86 | #define IEEE80211_MAX_AID 2007 | 86 | #define IEEE80211_MAX_AID 2007 |
87 | #define IEEE80211_MAX_TIM_LEN 251 | 87 | #define IEEE80211_MAX_TIM_LEN 251 |
88 | #define IEEE80211_MAX_DATA_LEN 2304 | ||
89 | /* Maximum size for the MA-UNITDATA primitive, 802.11 standard section | 88 | /* Maximum size for the MA-UNITDATA primitive, 802.11 standard section |
90 | 6.2.1.1.2. | 89 | 6.2.1.1.2. |
91 | 90 | ||
92 | The figure in section 7.1.2 suggests a body size of up to 2312 | 91 | 802.11e clarifies the figure in section 7.1.2. The frame body is |
93 | bytes is allowed, which is a bit confusing, I suspect this | 92 | up to 2304 octets long (maximum MSDU size) plus any crypt overhead. */ |
94 | represents the 2304 bytes of real data, plus a possible 8 bytes of | 93 | #define IEEE80211_MAX_DATA_LEN 2304 |
95 | WEP IV and ICV. (this interpretation suggested by Ramiro Barreiro) */ | 94 | /* 30 byte 4 addr hdr, 2 byte QoS, 2304 byte MSDU, 12 byte crypt, 4 byte FCS */ |
95 | #define IEEE80211_MAX_FRAME_LEN 2352 | ||
96 | 96 | ||
97 | #define IEEE80211_MAX_SSID_LEN 32 | 97 | #define IEEE80211_MAX_SSID_LEN 32 |
98 | 98 | ||