mac80211: set mesh formation field properly
authorJacob Minshall <jacob@cozybit.com>
Wed, 29 May 2013 21:32:36 +0000 (14:32 -0700)
committerChristian Lamparter <chunkeey@googlemail.com>
Wed, 23 Oct 2013 21:00:18 +0000 (23:00 +0200)
commitc3a3b04f9a47e7eb88815f7fb89f1bf15b3911ca
treed98999633a4d404f792000e7e44af62849fdd542
parent3318b89864b3bcd8fa5fc545ee8725e7a38c5a63
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 <jacob@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/ieee80211.h