mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
LinuxKPI: 802.11: correct HT protection fields
It seems during the initial buildup of the file, the defines were
either mixed or not flagged as "FIXME".
Define the values through to the net80211 definitions and also
annotate them by at least some standards reference.
MFC after: 3 days
Fixes: 6b4cac814e
Reviewed by: cc
Differential Revision: https://reviews.freebsd.org/D43658
This commit is contained in:
parent
48d689d6ca
commit
53eb2c63c9
|
@ -197,11 +197,12 @@ enum ieee80211_min_mpdu_start_spacing {
|
|||
#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. */
|
||||
|
|
Loading…
Reference in a new issue