mac80211: add API to request TDLS operation from userspace
authorArik Nemtsov <arik@wizery.com>
Wed, 11 Jun 2014 14:18:25 +0000 (17:18 +0300)
committerChristian Lamparter <chunkeey@googlemail.com>
Thu, 1 Jan 2015 13:49:58 +0000 (14:49 +0100)
Write a mac80211 to the cfg80211 API for requesting a userspace TDLS
operation. Define TDLS specific reason codes that can be used here.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
include/linux/ieee80211.h

index f20d40d71746366f4280b74e3ac81b5c248a7df6..54278c7d2ed2eff5157771006db0c0738e5fdbac 100644 (file)
@@ -1641,6 +1641,9 @@ enum ieee80211_reasoncode {
        WLAN_REASON_INVALID_RSN_IE_CAP = 22,
        WLAN_REASON_IEEE8021X_FAILED = 23,
        WLAN_REASON_CIPHER_SUITE_REJECTED = 24,
+       /* TDLS (802.11z) */
+       WLAN_REASON_TDLS_TEARDOWN_UNREACHABLE = 25,
+       WLAN_REASON_TDLS_TEARDOWN_UNSPECIFIED = 26,
        /* 802.11e */
        WLAN_REASON_DISASSOC_UNSPECIFIED_QOS = 32,
        WLAN_REASON_DISASSOC_QAP_NO_BANDWIDTH = 33,