From: Arik Nemtsov Date: Wed, 11 Jun 2014 14:18:25 +0000 (+0300) Subject: mac80211: add API to request TDLS operation from userspace X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=commitdiff_plain;h=f80f7de4f187297b7338ae212544362b67316857 mac80211: add API to request TDLS operation from userspace 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 Signed-off-by: Johannes Berg Signed-off-by: Christian Lamparter --- diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index f20d40d..54278c7 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -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,