Skip to contentSkip to conversation

o80211s: (nl80211) add basic comments to allow pynl80211 add new virtual interfaces

PATCH In review Luis Carlos Cobo 2 participants 2 messages Oct 31, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 7/7 o80211s: (nl80211) add basic comments to allow pynl80211 add new virtual interfaces

---
 include/linux/nl80211.h |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
include/linux/nl80211.h +5 -1
index 0e6abae..e90e0ea 100644
@@ -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