svn commit: r246807 - head/sys/net80211
Monthadar Al Jaberi
monthadar at FreeBSD.org
Thu Feb 14 20:00:39 UTC 2013
Author: monthadar
Date: Thu Feb 14 20:00:38 2013
New Revision: 246807
URL: http://svnweb.freebsd.org/changeset/base/246807
Log:
Mesh: QoS Control field bit flags fix.
* The following bit flags where incroccetly defined:
o Mesh Control Present
o Mesh Power Save Level
o RSPI
This is now corrected according to Table 8.4 as per IEEE 802.11 2012;
Approved by: adrian (mentor)
Modified:
head/sys/net80211/ieee80211.h
Modified: head/sys/net80211/ieee80211.h
==============================================================================
--- head/sys/net80211/ieee80211.h Thu Feb 14 19:46:41 2013 (r246806)
+++ head/sys/net80211/ieee80211.h Thu Feb 14 20:00:38 2013 (r246807)
@@ -200,11 +200,11 @@ struct ieee80211_qosframe_addr4 {
#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 */
+#define IEEE80211_QOS_MC 0x01 /* Mesh control */
/* Mesh power save level*/
-#define IEEE80211_QOS_MESH_PSL 0x20
+#define IEEE80211_QOS_MESH_PSL 0x02
/* Mesh Receiver Service Period Initiated */
-#define IEEE80211_QOS_RSPI 0x40
+#define IEEE80211_QOS_RSPI 0x04
/* bits 11 to 15 reserved */
/* does frame have QoS sequence control data */
More information about the svn-src-head
mailing list