• Home
  • Raw
  • Download

Lines Matching refs:iftype

363 			   enum nl80211_iftype iftype)  in ieee80211_data_to_8023()  argument
391 if (unlikely(iftype != NL80211_IFTYPE_AP && in ieee80211_data_to_8023()
392 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023()
393 iftype != NL80211_IFTYPE_P2P_GO)) in ieee80211_data_to_8023()
397 if (unlikely(iftype != NL80211_IFTYPE_WDS && in ieee80211_data_to_8023()
398 iftype != NL80211_IFTYPE_MESH_POINT && in ieee80211_data_to_8023()
399 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023()
400 iftype != NL80211_IFTYPE_STATION)) in ieee80211_data_to_8023()
402 if (iftype == NL80211_IFTYPE_MESH_POINT) { in ieee80211_data_to_8023()
422 if ((iftype != NL80211_IFTYPE_STATION && in ieee80211_data_to_8023()
423 iftype != NL80211_IFTYPE_P2P_CLIENT && in ieee80211_data_to_8023()
424 iftype != NL80211_IFTYPE_MESH_POINT) || in ieee80211_data_to_8023()
428 if (iftype == NL80211_IFTYPE_MESH_POINT) { in ieee80211_data_to_8023()
444 if (iftype != NL80211_IFTYPE_ADHOC && in ieee80211_data_to_8023()
445 iftype != NL80211_IFTYPE_STATION) in ieee80211_data_to_8023()
480 enum nl80211_iftype iftype, in ieee80211_data_from_8023() argument
502 switch (iftype) { in ieee80211_data_from_8023()
597 const u8 *addr, enum nl80211_iftype iftype, in ieee80211_amsdu_to_8023s() argument
609 err = ieee80211_data_to_8023(skb, addr, iftype); in ieee80211_amsdu_to_8023s()
872 enum nl80211_iftype otype = dev->ieee80211_ptr->iftype; in cfg80211_change_iface()
928 WARN_ON(!err && dev->ieee80211_ptr->iftype != ntype); in cfg80211_change_iface()
1281 int i, j, iftype; in cfg80211_iter_combinations() local
1293 for (iftype = 0; iftype < NUM_NL80211_IFTYPES; iftype++) { in cfg80211_iter_combinations()
1294 num_interfaces += iftype_num[iftype]; in cfg80211_iter_combinations()
1295 if (iftype_num[iftype] > 0 && in cfg80211_iter_combinations()
1296 !(wiphy->software_iftypes & BIT(iftype))) in cfg80211_iter_combinations()
1297 used_iftypes |= BIT(iftype); in cfg80211_iter_combinations()
1317 for (iftype = 0; iftype < NUM_NL80211_IFTYPES; iftype++) { in cfg80211_iter_combinations()
1318 if (wiphy->software_iftypes & BIT(iftype)) in cfg80211_iter_combinations()
1322 if (!(limits[j].types & BIT(iftype))) in cfg80211_iter_combinations()
1324 if (limits[j].max < iftype_num[iftype]) in cfg80211_iter_combinations()
1326 limits[j].max -= iftype_num[iftype]; in cfg80211_iter_combinations()
1387 enum nl80211_iftype iftype, in cfg80211_can_use_iftype_chan() argument
1407 if (WARN_ON(iftype >= NUM_NL80211_IFTYPES)) in cfg80211_can_use_iftype_chan()
1411 if (rdev->wiphy.software_iftypes & BIT(iftype)) { in cfg80211_can_use_iftype_chan()
1420 num[iftype] = 1; in cfg80211_can_use_iftype_chan()
1443 if (wdev_iter->iftype == NL80211_IFTYPE_P2P_DEVICE) { in cfg80211_can_use_iftype_chan()
1453 if (rdev->wiphy.software_iftypes & BIT(wdev_iter->iftype)) in cfg80211_can_use_iftype_chan()
1488 num[wdev_iter->iftype]++; in cfg80211_can_use_iftype_chan()