aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 93a4b206833..902895dfbd4 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1033,7 +1033,8 @@ struct cfg80211_pmksa {
1033 * 1033 *
1034 * @add_virtual_intf: create a new virtual interface with the given name, 1034 * @add_virtual_intf: create a new virtual interface with the given name,
1035 * must set the struct wireless_dev's iftype. Beware: You must create 1035 * must set the struct wireless_dev's iftype. Beware: You must create
1036 * the new netdev in the wiphy's network namespace! 1036 * the new netdev in the wiphy's network namespace! Returns the netdev,
1037 * or an ERR_PTR.
1037 * 1038 *
1038 * @del_virtual_intf: remove the virtual interface determined by ifindex. 1039 * @del_virtual_intf: remove the virtual interface determined by ifindex.
1039 * 1040 *
@@ -1168,9 +1169,11 @@ struct cfg80211_ops {
1168 int (*suspend)(struct wiphy *wiphy); 1169 int (*suspend)(struct wiphy *wiphy);
1169 int (*resume)(struct wiphy *wiphy); 1170 int (*resume)(struct wiphy *wiphy);
1170 1171
1171 int (*add_virtual_intf)(struct wiphy *wiphy, char *name, 1172 struct net_device * (*add_virtual_intf)(struct wiphy *wiphy,
1172 enum nl80211_iftype type, u32 *flags, 1173 char *name,
1173 struct vif_params *params); 1174 enum nl80211_iftype type,
1175 u32 *flags,
1176 struct vif_params *params);
1174 int (*del_virtual_intf)(struct wiphy *wiphy, struct net_device *dev); 1177 int (*del_virtual_intf)(struct wiphy *wiphy, struct net_device *dev);
1175 int (*change_virtual_intf)(struct wiphy *wiphy, 1178 int (*change_virtual_intf)(struct wiphy *wiphy,
1176 struct net_device *dev, 1179 struct net_device *dev,