]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
mac80211: disconnect TDLS stations on STA CSA
authorArik Nemtsov <arik@wizery.com>
Tue, 19 May 2015 11:36:48 +0000 (14:36 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 20 May 2015 13:14:54 +0000 (15:14 +0200)
commitc5a71688e1e56e155fb79b8d699322f4f0793cc8
tree3baf7a265ccf7c832fcef9ad604836cbafb57e2b
parent464daaf04cb633ae1530652fd23cdea0f0d21dd5
mac80211: disconnect TDLS stations on STA CSA

When a station does a channel switch, it's not well defined what its TDLS
peers would do. Avoid a situation when the local side marks a potentially
disconnected peer as a TDLS peer.
Keeping peers connected through CSA is doubly problematic with the upcoming
TDLS WIDER-BW feature which allows peers to widen the BSS channel. The
new channel transitioned-to might not be compatible and would require
a re-negotiation anyway.

Make sure to disallow new TDLS link during CSA.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c
net/mac80211/tdls.c