]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: set mesh formation field properly
authorJacob Minshall <jacob@cozybit.com>
Wed, 29 May 2013 21:32:36 +0000 (14:32 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 3 Jun 2013 15:03:18 +0000 (17:03 +0200)
commit30e8d996b82bc5a2e1c41f069c942d68dd4f4ba0
treed6f791d3507a28ffe6ac3fba22f9b72219981735
parent05f568641d5460b7d64092e03a78dc981cb6436f
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