o80211s: (nl80211) add basic comments to allow pynl80211 add new virtual interfaces
PATCH 7/7 o80211s: (nl80211) add basic comments to allow pynl80211 add new virtual interfaces
Signed-off-by Luis Carlos Cobo <[email protected]>
--- include/linux/nl80211.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
include/linux/nl80211.h +5 -1
@@ -52,6 +52,7 @@ enum nl80211_commands {NL80211_CMD_GET_INTERFACE ,/* can dump */ NL80211_CMD_SET_INTERFACE , +/* %input: wiphy, ifname, {iftype} */ NL80211_CMD_NEW_INTERFACE , NL80211_CMD_DEL_INTERFACE,
@@ -87,12 +88,15 @@ enum nl80211_commands {enum nl80211_attrs {/* don't change the order or add anything inbetween, this is ABI! */ NL80211_ATTR_UNSPEC , - +/* %type: u32 */ NL80211_ATTR_WIPHY ,NL80211_ATTR_WIPHY_NAME , +/* %type: u32 */ NL80211_ATTR_IFINDEX , +/* %type: nulstring */ NL80211_ATTR_IFNAME , +/* %type: u32 */ NL80211_ATTR_IFTYPE ,/* add attributes here, update the policy in nl80211.c */
Signature · 1 line
1.5.2.5
Nah, you should use iw instead now.
johannes