diff options
author | Christian Lamparter <chunkeey@googlemail.com> | 2011-10-14 18:14:49 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-09 16:00:59 -0500 |
commit | c74d084f914e16e42730bcf625ab3f37a4cae8d4 (patch) | |
tree | 2d25a95c18b679d2bd56fae50d2f185851c0d8d5 /include/linux/ieee80211.h | |
parent | fa5e91bc7715c772342b197269a85aa3ced16900 (diff) |
mac80211: handle HT PHY BSS membership selector value correctly
802.11n-2009 extends the supported rates element with a
magic value which can be used to prevent legacy stations
from joining the BSS.
However, this magic value is not a rate like the others
and the magic can simply be ignored/skipped at this late
stage.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>---
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/ieee80211.h')
-rw-r--r-- | include/linux/ieee80211.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 48363c3c40f8..9789aedb2453 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h | |||
@@ -770,6 +770,9 @@ struct ieee80211_mgmt { | |||
770 | } u; | 770 | } u; |
771 | } __attribute__ ((packed)); | 771 | } __attribute__ ((packed)); |
772 | 772 | ||
773 | /* Supported Rates value encodings in 802.11n-2009 7.3.2.2 */ | ||
774 | #define BSS_MEMBERSHIP_SELECTOR_HT_PHY 127 | ||
775 | |||
773 | /* mgmt header + 1 byte category code */ | 776 | /* mgmt header + 1 byte category code */ |
774 | #define IEEE80211_MIN_ACTION_SIZE offsetof(struct ieee80211_mgmt, u.action.u) | 777 | #define IEEE80211_MIN_ACTION_SIZE offsetof(struct ieee80211_mgmt, u.action.u) |
775 | 778 | ||