From: Jacob Minshall Date: Wed, 29 May 2013 21:32:36 +0000 (-0700) Subject: mac80211: set mesh formation field properly X-Git-Tag: 1.9.9~5 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=c3a3b04f9a47e7eb88815f7fb89f1bf15b3911ca;p=carl9170fw.git mac80211: set mesh formation field properly Cap max peerings at 63 in accordance with IEEE-2012 8.4.2.100.7. Triggers a beacon regeneration every time the number of peerings changes. Previously this would only happen if the "accepting peerings" bit changed. Signed-off-by: Jacob Minshall Signed-off-by: Johannes Berg --- diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index a334caf..27833d9 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -143,6 +143,7 @@ static inline u16 ieee80211_sn_sub(u16 sn1, u16 sn2) #define IEEE80211_MAX_RTS_THRESHOLD 2353 #define IEEE80211_MAX_AID 2007 #define IEEE80211_MAX_TIM_LEN 251 +#define IEEE80211_MAX_MESH_PEERINGS 63 /* Maximum size for the MA-UNITDATA primitive, 802.11 standard section 6.2.1.1.2.