Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107308695
D43658.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D43658.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/ieee80211.h b/sys/compat/linuxkpi/common/include/linux/ieee80211.h
--- a/sys/compat/linuxkpi/common/include/linux/ieee80211.h
+++ b/sys/compat/linuxkpi/common/include/linux/ieee80211.h
@@ -197,11 +197,12 @@
#define IEEE80211_PPE_THRES_RU_INDEX_BITMASK_MASK 8 /* TODO FIXME ax? */
#define IEEE80211_HE_PPE_THRES_INFO_HEADER_SIZE 16 /* TODO FIXME ax? */
-#define IEEE80211_HT_OP_MODE_PROTECTION 0x03 /* MASK */
-#define IEEE80211_HT_OP_MODE_PROTECTION_NONE 0x00
-#define IEEE80211_HT_OP_MODE_PROTECTION_20MHZ 0x01
-#define IEEE80211_HT_OP_MODE_PROTECTION_NONHT_MIXED 0x02
-#define IEEE80211_HT_OP_MODE_PROTECTION_NONMEMBER 0x03
+/* 802.11-2012, Table 8-130-HT Operation element fields and subfields, HT Protection */
+#define IEEE80211_HT_OP_MODE_PROTECTION IEEE80211_HTINFO_OPMODE /* Mask. */
+#define IEEE80211_HT_OP_MODE_PROTECTION_NONE IEEE80211_HTINFO_OPMODE_PURE /* No protection */
+#define IEEE80211_HT_OP_MODE_PROTECTION_NONMEMBER IEEE80211_HTINFO_OPMODE_PROTOPT /* Nonmember protection */
+#define IEEE80211_HT_OP_MODE_PROTECTION_20MHZ IEEE80211_HTINFO_OPMODE_HT20PR /* 20 MHz protection */
+#define IEEE80211_HT_OP_MODE_PROTECTION_NONHT_MIXED IEEE80211_HTINFO_OPMODE_MIXED /* Non-HT mixed */
/* 9.6.13.1, Table 9-342 TDLS Action field values. */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 13, 7:51 AM (20 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15779401
Default Alt Text
D43658.diff (1 KB)
Attached To
Mode
D43658: LinuxKPI: 802.11: correct HT protection fields
Attached
Detach File
Event Timeline
Log In to Comment