]> 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)
commit9daf68c3e50c38d82610afae850766f535a3888a
tree182cdbcfffa95409a1a6973e28ba0fa41cdf4bb0
parentb00da7e0a4938d4bf0675341d708f466f5deb8a4
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