]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fixes for mesh powersave logic
authorMarco Porsch <marco@cozybit.com>
Tue, 15 Oct 2013 10:29:24 +0000 (12:29 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 28 Oct 2013 14:05:26 +0000 (15:05 +0100)
commit650d2c375f34686cf4cfb30ad3350e62a326c382
tree8e0029fb0d6bddf726c17fe141cc64072f3c4722
parentea427b3ead73ad8f4a0cd4bbf595e556b1101351
mac80211: fixes for mesh powersave logic

This patch fixes errors in the mesh powersave logic which
cause that remote peers do not get peer power mode change
notifications and mesh peer service periods (MPSPs) got
stuck.

When closing a peer link, set the (now invalid) peer-specific
power mode to 'unknown'.

Avoid overhead when local power mode is unchanged.

Reliably clear MPSP flags on peering status update.

Avoid MPSP flags getting stuck by not requesting a further
MPSP ownership if we already are an MPSP owner.

Signed-off-by: Marco Porsch <marco@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/mesh_plink.c
net/mac80211/mesh_ps.c