2007-10-31 01:45:14

by Luis Carlos Cobo

[permalink] [raw]
Subject: [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(-)

diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index 0e6abae..e90e0ea 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -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 */
--
1.5.2.5