Home
last modified time | relevance | path

Searched refs:ntype (Results 1 – 3 of 3) sorted by relevance

/net/wireless/
Dutil.c1016 struct net_device *dev, enum nl80211_iftype ntype, in cfg80211_change_iface() argument
1029 if (ntype == NL80211_IFTYPE_P2P_DEVICE || in cfg80211_change_iface()
1030 ntype == NL80211_IFTYPE_NAN) in cfg80211_change_iface()
1034 !(rdev->wiphy.interface_modes & (1 << ntype))) in cfg80211_change_iface()
1037 if (ntype != otype) { in cfg80211_change_iface()
1040 (ntype == NL80211_IFTYPE_ADHOC || in cfg80211_change_iface()
1041 ntype == NL80211_IFTYPE_STATION || in cfg80211_change_iface()
1042 ntype == NL80211_IFTYPE_P2P_CLIENT)) in cfg80211_change_iface()
1084 err = rdev_change_virtual_intf(rdev, dev, ntype, params); in cfg80211_change_iface()
1086 WARN_ON(!err && dev->ieee80211_ptr->iftype != ntype); in cfg80211_change_iface()
[all …]
Dcore.h453 struct net_device *dev, enum nl80211_iftype ntype,
Dnl80211.c4141 enum nl80211_iftype otype, ntype; in nl80211_set_interface() local
4147 otype = ntype = dev->ieee80211_ptr->iftype; in nl80211_set_interface()
4150 ntype = nla_get_u32(info->attrs[NL80211_ATTR_IFTYPE]); in nl80211_set_interface()
4151 if (otype != ntype) in nl80211_set_interface()
4158 if (ntype != NL80211_IFTYPE_MESH_POINT) in nl80211_set_interface()
4179 err = nl80211_valid_4addr(rdev, dev, params.use_4addr, ntype); in nl80211_set_interface()
4186 err = nl80211_parse_mon_options(rdev, ntype, info, &params); in nl80211_set_interface()
4193 err = cfg80211_change_iface(rdev, dev, ntype, &params); in nl80211_set_interface()