]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5787f656a6fd6a29059895001bdd9388c802ed02
tree182cdbcfffa95409a1a6973e28ba0fa41cdf4bb0
parentd63bdf11f8045950ca64692a261f6e8c651ee80e
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