commit | 2b5e19677592c167d012c2d129407f39d2bdeb8d | [log] [tgz] |
---|---|---|
author | Thomas Pedersen <thomas@cozybit.com> | Thu Feb 14 11:20:13 2013 -0800 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Feb 15 09:41:40 2013 +0100 |
tree | db898021baebc1b462b78d00048d0cf9ef3f0aa8 | |
parent | 4a3cb702b05868f67c4ee3da3380461c5b90b4ca [diff] |
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>