History

nl80211: Replace interface socket owner attribute with more generic one

Replace NL80211_ATTR_IFACE_SOCKET_OWNER attribute with more generic NL80211_ATTR_SOCKET_OWNER that can be used with other commands that interface creation.

Jukka Rissanen committed 12 years ago

Commit 18e5ca61 parent 6b67e012 files · +6 −5Browse files

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

Unified · Split

include/uapi/linux/nl80211.h+4−3
@@ -1652,9 +1652,9 @@ enum nl80211_commands { · 1651 unmodified lines
1652 * @NL80211_ATTR_TDLS_PEER_CAPABILITY: flags for TDLS peer capabilities, u32.1652 * @NL80211_ATTR_TDLS_PEER_CAPABILITY: flags for TDLS peer capabilities, u32.
1653 * As specified in the &enum nl80211_tdls_peer_capability.1653 * As specified in the &enum nl80211_tdls_peer_capability.
1654 *1654 *
1655 * @NL80211_ATTR_IFACE_SOCKET_OWNER: flag attribute, if set during interface1655 * @NL80211_ATTR_SOCKET_OWNER: Flag attribute, if set during interface
1656 * creation then the new interface will be owned by the netlink socket1656 * creation then the new interface will be owned by the netlink socket
1657 * that created it and will be destroyed when the socket is closed1657 * that created it and will be destroyed when the socket is closed.
1658 *1658 *
1659 * @NL80211_ATTR_TDLS_INITIATOR: flag attribute indicating the current end is1659 * @NL80211_ATTR_TDLS_INITIATOR: flag attribute indicating the current end is
1660 * the TDLS link initiator.1660 * the TDLS link initiator.
@@ -2024,7 +2024,7 @@ enum nl80211_attrs { · 363 unmodified lines
2024 2024
2025 NL80211_ATTR_TDLS_PEER_CAPABILITY,2025 NL80211_ATTR_TDLS_PEER_CAPABILITY,
2026 2026
2027 NL80211_ATTR_IFACE_SOCKET_OWNER,2027 NL80211_ATTR_SOCKET_OWNER,
2028 2028
2029 NL80211_ATTR_CSA_C_OFFSETS_TX,2029 NL80211_ATTR_CSA_C_OFFSETS_TX,
2030 NL80211_ATTR_MAX_CSA_COUNTERS,2030 NL80211_ATTR_MAX_CSA_COUNTERS,
@@ -2055,6 +2055,7 @@ enum nl80211_attrs { · 24 unmodified lines
2055/* source-level API compatibility */2055/* source-level API compatibility */
2056#define NL80211_ATTR_SCAN_GENERATION NL80211_ATTR_GENERATION2056#define NL80211_ATTR_SCAN_GENERATION NL80211_ATTR_GENERATION
2057#define NL80211_ATTR_MESH_PARAMS NL80211_ATTR_MESH_CONFIG2057#define NL80211_ATTR_MESH_PARAMS NL80211_ATTR_MESH_CONFIG
2058#define NL80211_ATTR_IFACE_SOCKET_OWNER NL80211_ATTR_SOCKET_OWNER
2058 2059
2059/*2060/*
2060 * Allow user space programs to use #ifdef on new attributes by defining them2061 * Allow user space programs to use #ifdef on new attributes by defining them