Searched refs:ntype (Results 1 – 3 of 3) sorted by relevance
/net/wireless/ |
D | util.c | 1097 struct net_device *dev, enum nl80211_iftype ntype, in cfg80211_change_iface() argument 1110 if (ntype == NL80211_IFTYPE_P2P_DEVICE || in cfg80211_change_iface() 1111 ntype == NL80211_IFTYPE_NAN) in cfg80211_change_iface() 1115 !(rdev->wiphy.interface_modes & (1 << ntype))) in cfg80211_change_iface() 1118 if (ntype != otype) { in cfg80211_change_iface() 1121 (ntype == NL80211_IFTYPE_ADHOC || in cfg80211_change_iface() 1122 ntype == NL80211_IFTYPE_STATION || in cfg80211_change_iface() 1123 ntype == NL80211_IFTYPE_P2P_CLIENT)) in cfg80211_change_iface() 1165 err = rdev_change_virtual_intf(rdev, dev, ntype, params); in cfg80211_change_iface() 1167 WARN_ON(!err && dev->ieee80211_ptr->iftype != ntype); in cfg80211_change_iface() [all …]
|
D | core.h | 471 struct net_device *dev, enum nl80211_iftype ntype,
|
D | nl80211.c | 4220 enum nl80211_iftype otype, ntype; in nl80211_set_interface() local 4226 otype = ntype = dev->ieee80211_ptr->iftype; in nl80211_set_interface() 4229 ntype = nla_get_u32(info->attrs[NL80211_ATTR_IFTYPE]); in nl80211_set_interface() 4230 if (otype != ntype) in nl80211_set_interface() 4237 if (ntype != NL80211_IFTYPE_MESH_POINT) in nl80211_set_interface() 4258 err = nl80211_valid_4addr(rdev, dev, params.use_4addr, ntype); in nl80211_set_interface() 4265 err = nl80211_parse_mon_options(rdev, ntype, info, ¶ms); in nl80211_set_interface() 4272 err = cfg80211_change_iface(rdev, dev, ntype, ¶ms); in nl80211_set_interface()
|