]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: track TDLS initiator internally
authorArik Nemtsov <arik@wizery.com>
Thu, 17 Jul 2014 14:14:17 +0000 (17:14 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 21 Jul 2014 10:14:03 +0000 (12:14 +0200)
commit654e180797c874e00e309682140865f90cfe0b6e
tree957d99d21d0caf75a60c51897a4636db27c7a6c7
parent6d1d19130f12cc4c9ba8791366911efd20314c4c
mac80211: track TDLS initiator internally

Infer the TDLS initiator and track it in mac80211 via a STA flag. This
avoids breaking old userspace that doesn't pass it via nl80211 APIs.

The only case where userspace will need to pass the initiator is when the
STA is removed due to unreachability before a teardown packet is sent.
Support for unreachability was only recently added to wpa_supplicant, so
it won't be a problem in practice.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.h
net/mac80211/tdls.c