summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorAndrew Zaborowski <andrew.zaborowski@intel.com>2018-11-28 17:26:34 +0800
committerMin Liu <minliu@codeaurora.org>2018-11-28 17:29:44 +0800
commit0dbd3a4c45026c1812a82345cdc9de593865ef50 (patch)
tree83259a1b75230d66b1cdd5e52acfd71584124e82 /include/uapi
parent58a9174f204e980b45317eec4e240f4afc3c24c0 (diff)
cfg80211: NL80211_ATTR_SOCKET_OWNER support for CMD_CONNECT
Disconnect or deauthenticate when the owning socket is closed if this flag is supplied to CMD_CONNECT or CMD_ASSOCIATE. This may be used to ensure userspace daemon doesn't leave an unmanaged connection behind. In some situations it would be possible to account for that, to some degree, in the deamon restart code or in the up/down scripts without the use of this attribute. But there will be systems where the daemon can go away for varying periods without a warning due to local resource management. Signed-off-by: Andrew Zaborowski <andrew.zaborowski@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Git-commit: 36a554cec119bbd20c4ec0cb96bd4712d124bfea Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/ mac80211-next.git Change-Id: Ic09ee323fc6215059d5c2572ba3e77c56addad32 CRs-Fixed: 2182553 Signed-off-by: Srinivas Dasari <dasaris@codeaurora.org> Signed-off-by: Jiachao Wu <jiacwu@codeaurora.org> Signed-off-by: Min Liu <minliu@codeaurora.org>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/nl80211.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index 03c9d5aef5c7..749f6507dfa3 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -1833,6 +1833,8 @@ enum nl80211_commands {
* regulatory indoor configuration would be owned by the netlink socket
* that configured the indoor setting, and the indoor operation would be
* cleared when the socket is closed.
+ * If set during %NL80211_CMD_ASSOCIATE or %NL80211_CMD_CONNECT the
+ * station will deauthenticate when the socket is closed.
*
* @NL80211_ATTR_TDLS_INITIATOR: flag attribute indicating the current end is
* the TDLS link initiator.