mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
[net80211] add some more QoS frame subtypes.
This commit is contained in:
parent
c3fa65b1c8
commit
f3ef2aa1bd
1 changed files with 11 additions and 0 deletions
|
|
@ -157,8 +157,17 @@ struct ieee80211_qosframe_addr4 {
|
|||
#define IEEE80211_FC0_SUBTYPE_CFPOLL 0x60
|
||||
#define IEEE80211_FC0_SUBTYPE_CF_ACK_CF_ACK 0x70
|
||||
#define IEEE80211_FC0_SUBTYPE_QOS 0x80
|
||||
#define IEEE80211_FC0_SUBTYPE_QOS_CFACK 0x90
|
||||
#define IEEE80211_FC0_SUBTYPE_QOS_CFPOLL 0xa0
|
||||
#define IEEE80211_FC0_SUBTYPE_QOS_CFACKPOLL 0xb0
|
||||
#define IEEE80211_FC0_SUBTYPE_QOS_NULL 0xc0
|
||||
|
||||
#define IEEE80211_FC0_QOSDATA \
|
||||
(IEEE80211_FC0_TYPE_DATA|IEEE80211_FC0_SUBTYPE_QOS|IEEE80211_FC0_VERSION_0)
|
||||
|
||||
#define IEEE80211_IS_QOSDATA(wh) \
|
||||
((wh)->i_fc[0] == IEEE80211_FC0_QOSDATA)
|
||||
|
||||
#define IEEE80211_FC1_DIR_MASK 0x03
|
||||
#define IEEE80211_FC1_DIR_NODS 0x00 /* STA->STA */
|
||||
#define IEEE80211_FC1_DIR_TODS 0x01 /* STA->AP */
|
||||
|
|
@ -199,6 +208,8 @@ struct ieee80211_qosframe_addr4 {
|
|||
#define IEEE80211_NWID_LEN 32
|
||||
#define IEEE80211_MESHID_LEN 32
|
||||
|
||||
#define IEEE80211_QOS_CTL_LEN 2
|
||||
|
||||
#define IEEE80211_QOS_TXOP 0x00ff
|
||||
/* bit 8 is reserved */
|
||||
#define IEEE80211_QOS_AMSDU 0x80
|
||||
|
|
|
|||
Loading…
Reference in a new issue