History

nl80211: Stop scheduled scan if netlink client disappears

An attribute NL80211_ATTR_SOCKET_OWNER can be set by the scan initiator. If present, the attribute will cause the scan to be stopped if the client dies.

Jukka Rissanen committed 11 years ago

Commit 93a1e861 parent 31a60ed5 files · +40 −0Browse files

Showing the changes to include/uapi/linux (1 of 5 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+3−0
@@ -1672,6 +1672,9 @@ enum nl80211_commands { · 1671 unmodified lines
16721672 * @NL80211_ATTR_SOCKET_OWNER: Flag attribute, if set during interface
16731673 * creation then the new interface will be owned by the netlink socket
16741674 * that created it and will be destroyed when the socket is closed.
1675+ * If set during scheduled scan start then the new scan req will be
1676+ * owned by the netlink socket that created it and the scheduled scan will
1677+ * be stopped when the socket is closed.
16751678 *
16761679 * @NL80211_ATTR_TDLS_INITIATOR: flag attribute indicating the current end is
16771680 * the TDLS link initiator.