diff options
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 7edaef6b29d6..d30960e1755c 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -3,15 +3,15 @@ | |||
3 | 3 | ||
4 | #include <linux/netlink.h> | 4 | #include <linux/netlink.h> |
5 | #include <linux/skbuff.h> | 5 | #include <linux/skbuff.h> |
6 | #include <linux/nl80211.h> | ||
6 | #include <net/genetlink.h> | 7 | #include <net/genetlink.h> |
7 | 8 | ||
8 | /* | 9 | /* |
9 | * 802.11 configuration in-kernel interface | 10 | * 802.11 configuration in-kernel interface |
10 | * | 11 | * |
11 | * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> | 12 | * Copyright 2006, 2007 Johannes Berg <johannes@sipsolutions.net> |
12 | */ | 13 | */ |
13 | 14 | ||
14 | |||
15 | /* Radiotap header iteration | 15 | /* Radiotap header iteration |
16 | * implemented in net/wireless/radiotap.c | 16 | * implemented in net/wireless/radiotap.c |
17 | * docs in Documentation/networking/radiotap-headers.txt | 17 | * docs in Documentation/networking/radiotap-headers.txt |
@@ -68,11 +68,16 @@ struct wiphy; | |||
68 | * @add_virtual_intf: create a new virtual interface with the given name | 68 | * @add_virtual_intf: create a new virtual interface with the given name |
69 | * | 69 | * |
70 | * @del_virtual_intf: remove the virtual interface determined by ifindex. | 70 | * @del_virtual_intf: remove the virtual interface determined by ifindex. |
71 | * | ||
72 | * @change_virtual_intf: change type of virtual interface | ||
73 | * | ||
71 | */ | 74 | */ |
72 | struct cfg80211_ops { | 75 | struct cfg80211_ops { |
73 | int (*add_virtual_intf)(struct wiphy *wiphy, char *name, | 76 | int (*add_virtual_intf)(struct wiphy *wiphy, char *name, |
74 | unsigned int type); | 77 | enum nl80211_iftype type); |
75 | int (*del_virtual_intf)(struct wiphy *wiphy, int ifindex); | 78 | int (*del_virtual_intf)(struct wiphy *wiphy, int ifindex); |
79 | int (*change_virtual_intf)(struct wiphy *wiphy, int ifindex, | ||
80 | enum nl80211_iftype type); | ||
76 | }; | 81 | }; |
77 | 82 | ||
78 | #endif /* __NET_CFG80211_H */ | 83 | #endif /* __NET_CFG80211_H */ |