mac80211: set mesh formation field properly
commite05ecccdf752122a439b03c3190458d2c8f0bac6
authorJacob Minshall <jacob@cozybit.com>
Wed, 29 May 2013 21:32:36 +0000 (29 14:32 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 3 Jun 2013 15:03:18 +0000 (3 17:03 +0200)
treed6f791d3507a28ffe6ac3fba22f9b72219981735
parent866403a7bdd3941cbb4e2085d8ac368dcabe800c
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
net/mac80211/mesh.c
net/mac80211/mesh.h