diff options
author | 2016-01-25 12:51:14 +0000 | |
---|---|---|
committer | 2016-01-25 12:51:14 +0000 | |
commit | bc38ac7a48371a0577b66a34bbea835b33657910 (patch) | |
tree | db1dcde49750fcb6334df69e786cf0b4926564dd | |
parent | Zero when malloc'ing a buffer to be copyed out to userland to avoid (diff) | |
download | wireguard-openbsd-bc38ac7a48371a0577b66a34bbea835b33657910.tar.xz wireguard-openbsd-bc38ac7a48371a0577b66a34bbea835b33657910.zip |
Add short comments explaining HT protection modes.
-rw-r--r-- | sys/net80211/ieee80211.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net80211/ieee80211.h b/sys/net80211/ieee80211.h index ae0348702c6..7085ba5598a 100644 --- a/sys/net80211/ieee80211.h +++ b/sys/net80211/ieee80211.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211.h,v 1.56 2016/01/06 19:56:50 stsp Exp $ */ +/* $OpenBSD: ieee80211.h,v 1.57 2016/01/25 12:51:14 stsp Exp $ */ /* $NetBSD: ieee80211.h,v 1.6 2004/04/30 23:51:53 dyoung Exp $ */ /*- @@ -1016,10 +1016,10 @@ enum { * HT protection modes (see 802.11-2012 8.4.2.59) */ enum ieee80211_htprot { - IEEE80211_HTPROT_NONE = 0, - IEEE80211_HTPROT_NONMEMBER, - IEEE80211_HTPROT_20MHZ, - IEEE80211_HTPROT_NONHT_MIXED, + IEEE80211_HTPROT_NONE = 0, /* only 20/40MHz HT STAs exist */ + IEEE80211_HTPROT_NONMEMBER, /* non-HT STA overlaps our channel */ + IEEE80211_HTPROT_20MHZ, /* 20MHz HT STA on a 40MHz channel */ + IEEE80211_HTPROT_NONHT_MIXED, /* non-HT STA associated to our BSS */ }; #endif /* _NET80211_IEEE80211_H_ */ |