cfg80211: Add TDLS event to allow drivers to request operations
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 16 Nov 2012 20:49:57 +0000 (22:49 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 19 Nov 2012 14:47:32 +0000 (15:47 +0100)
commit3475b0946bd2057497628790d4b4fce4bfdcc304
tree182cdbcfffa95409a1a6973e28ba0fa41cdf4bb0
parent90b9e446fbb64630c72cab48c007d7081aec2533
cfg80211: Add TDLS event to allow drivers to request operations

The NL80211_CMD_TDLS_OPER command was previously used only for userspace
request for the kernel code to perform TDLS operations. However, there
are also cases where the driver may need to request operations from
userspace, e.g., when using security on the AP path. Add a new cfg80211
function for generating a TDLS operation event for drivers to request a
new link to be set up (NL80211_TDLS_SETUP) or an existing link to be
torn down (NL80211_TDLS_TEARDOWN). Drivers can optionally use these
events, e.g., based on noticing data traffic being sent to a peer
station that is seen with good signal strength.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c
net/wireless/trace.h