Page MenuHomeFreeBSD

D43658.diff
No OneTemporary

D43658.diff

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

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)

Event Timeline