diff options
author | adrian <adrian@FreeBSD.org> | 2012-03-04 05:52:26 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-03-04 05:52:26 +0000 |
commit | 56640b8eb712cbfcedae88cf79e7114bd2fde38e (patch) | |
tree | eb13a0e480f1f0663c32d3d52d31e6486b2e7cfa /sys/net80211/ieee80211.h | |
parent | 8d7335fa92b63c3acd810fb4432ac1d312739f25 (diff) | |
download | FreeBSD-src-56640b8eb712cbfcedae88cf79e7114bd2fde38e.zip FreeBSD-src-56640b8eb712cbfcedae88cf79e7114bd2fde38e.tar.gz |
* Introduce new flag for QoS control field;
* Change in mesh_input to validate that QoS is set and Mesh Control field
is present, also both bytes of the QoS are read;
* Moved defragmentation in mesh_input before we try to forward packet as
inferred from amendment spec, because Mesh Control field only present in first
fragment;
* Changed in ieee80211_encap to set QoS subtype and Mesh Control field present,
only first fragment have Mesh Control field present bit equal to 1;
Submitted by: monthadar@gmail.com
Diffstat (limited to 'sys/net80211/ieee80211.h')
-rw-r--r-- | sys/net80211/ieee80211.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211.h b/sys/net80211/ieee80211.h index d3425b5..c43c71b 100644 --- a/sys/net80211/ieee80211.h +++ b/sys/net80211/ieee80211.h @@ -199,6 +199,13 @@ struct ieee80211_qosframe_addr4 { #define IEEE80211_QOS_EOSP 0x10 /* EndOfService Period*/ #define IEEE80211_QOS_EOSP_S 4 #define IEEE80211_QOS_TID 0x0f +/* qos[1] byte used for all frames sent by mesh STAs in a mesh BSS */ +#define IEEE80211_QOS_MC 0x10 /* Mesh control */ +/* Mesh power save level*/ +#define IEEE80211_QOS_MESH_PSL 0x20 +/* Mesh Receiver Service Period Initiated */ +#define IEEE80211_QOS_RSPI 0x40 +/* bits 11 to 15 reserved */ /* does frame have QoS sequence control data */ #define IEEE80211_QOS_HAS_SEQ(wh) \ |