]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: cache mesh beacon
authorThomas Pedersen <thomas@cozybit.com>
Thu, 14 Feb 2013 19:20:13 +0000 (11:20 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Feb 2013 08:41:40 +0000 (09:41 +0100)
commit2bade45a66311f7c37ec8f65f315ab87bc2e19e5
treedb898021baebc1b462b78d00048d0cf9ef3f0aa8
parent7c51195a2288bc0b9cd718c7db73a968ff390070
mac80211: cache mesh beacon

Previously, the entire mesh beacon would be generated each
time the beacon timer fired. Instead generate a beacon
head and tail (so the TIM can easily be inserted when mesh
power save is on) when starting a mesh or the MBSS
parameters change.

Also add a mutex for protecting beacon updates and
preventing leaks.

Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/mesh.c
net/mac80211/mesh.h
net/mac80211/mesh_plink.c
net/mac80211/tx.c