Skip to contentSkip to conversation

mac80211: Update mesh config IE to 11s draft 3.02

PATCH New Javier Cardona 1 participant 1 message Aug 20, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mac80211: Update mesh config IE to 11s draft 3.02

The mesh config information element has changed significantly since draft 1.08 This patch brings it up to date.

Thanks to Sam Leffler and Rui Paulo for identifying this.

---
 include/linux/ieee80211.h  |    2 +-
 net/mac80211/ieee80211_i.h |    4 +++
 net/mac80211/mesh.c        |   49 ++++++++++++++++++++++++++++++-------------
 3 files changed, 39 insertions(+), 16 deletions(-)
include/linux/ieee80211.h +1 -1
index 21556a2..52e15e0 100644
@@ -115,7 +115,7 @@
 #define IEEE80211_MAX_SSID_LEN		32
 
 #define IEEE80211_MAX_MESH_ID_LEN	32
-#define IEEE80211_MESH_CONFIG_LEN	19
+#define IEEE80211_MESH_CONFIG_LEN	24
 
 #define IEEE80211_QOS_CTL_LEN		2
 #define IEEE80211_QOS_CTL_TID_MASK	0x000F
net/mac80211/ieee80211_i.h +4 -0
index 93e618a..455cc7a 100644
@@ -367,6 +367,10 @@ struct ieee80211_if_mesh {
 	u8 mesh_pm_id[4];
 	/* Congestion Control Mode Identifier */
 	u8 mesh_cc_id[4];
+	/* Synchronization Protocol Identifier */
+	u8 mesh_sp_id[4];
+	/* Authentication Protocol Identifier */
+	u8 mesh_auth_id[4];
 	/* Local mesh Destination Sequence Number */
 	u32 dsn;
 	/* Last used PREQ ID */
net/mac80211/mesh.c +34 -15

89 lines not on this page · raw message

Signature · 1 line
1.5.4.3