]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/mac80211/cfg.c
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)
commit2b5e19677592c167d012c2d129407f39d2bdeb8d
treedb898021baebc1b462b78d00048d0cf9ef3f0aa8
parent4a3cb702b05868f67c4ee3da3380461c5b90b4ca
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