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.
Showing the changes to include/uapi/linux (1 of 5 files). Show all
Unified · Split
| @@ -1672,6 +1672,9 @@ enum nl80211_commands { · 1671 unmodified lines | ||
| 1672 | 1672 | * @NL80211_ATTR_SOCKET_OWNER: Flag attribute, if set during interface |
| 1673 | 1673 | * creation then the new interface will be owned by the netlink socket |
| 1674 | 1674 | * 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. | |
| 1675 | 1678 | * |
| 1676 | 1679 | * @NL80211_ATTR_TDLS_INITIATOR: flag attribute indicating the current end is |
| 1677 | 1680 | * the TDLS link initiator. |