]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mac80211: protect TDLS discovery session
authorArik Nemtsov <arik@wizery.com>
Wed, 11 Jun 2014 14:18:27 +0000 (17:18 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 23 Jun 2014 12:28:19 +0000 (14:28 +0200)
commitee10f2c779b28c1d6e87ac3e1bbb1aa8b62fa891
tree03619136498fe1a91731bad32ac70592168ce230
parent7adc3e4664bc5bd382fa181e6a4506f5b5b583d8
mac80211: protect TDLS discovery session

After sending a TDLS discovery-request, we expect a reply to arrive on
the AP's channel. We must stay on the channel (no PSM, scan, etc.), since
a TDLS setup-response is a direct packet not buffered by the AP.
Add a new mac80211 driver callback to allow discovery session protection.

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