Lines Matching refs:iftype
541 enum nl80211_iftype iftype) in cfg80211_chandef_dfs_required() argument
549 switch (iftype) { in cfg80211_chandef_dfs_required()
718 switch (wdev->iftype) { in cfg80211_beaconing_iface_active()
758 switch (wdev->iftype) { in cfg80211_wdev_on_sub_chan()
1217 static bool cfg80211_ir_permissive_check_wdev(enum nl80211_iftype iftype, in cfg80211_ir_permissive_check_wdev() argument
1226 if (wdev->iftype == NL80211_IFTYPE_STATION && in cfg80211_ir_permissive_check_wdev()
1237 if (iftype == NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_check_wdev()
1238 wdev->iftype == NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_check_wdev()
1289 enum nl80211_iftype iftype, in cfg80211_ir_permissive_chan() argument
1302 if (iftype != NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_chan()
1303 iftype != NL80211_IFTYPE_STATION && in cfg80211_ir_permissive_chan()
1304 iftype != NL80211_IFTYPE_P2P_CLIENT) in cfg80211_ir_permissive_chan()
1325 ret = cfg80211_ir_permissive_check_wdev(iftype, wdev, chan); in cfg80211_ir_permissive_chan()
1337 enum nl80211_iftype iftype, in _cfg80211_reg_can_beacon() argument
1344 trace_cfg80211_reg_can_beacon(wiphy, chandef, iftype, check_no_ir); in _cfg80211_reg_can_beacon()
1349 if (cfg80211_chandef_dfs_required(wiphy, chandef, iftype) > 0 && in _cfg80211_reg_can_beacon()
1363 enum nl80211_iftype iftype) in cfg80211_reg_can_beacon() argument
1365 return _cfg80211_reg_can_beacon(wiphy, chandef, iftype, true); in cfg80211_reg_can_beacon()
1371 enum nl80211_iftype iftype) in cfg80211_reg_can_beacon_relax() argument
1384 check_no_ir = !cfg80211_ir_permissive_chan(wiphy, iftype, in cfg80211_reg_can_beacon_relax()
1387 return _cfg80211_reg_can_beacon(wiphy, chandef, iftype, check_no_ir); in cfg80211_reg_can_beacon_relax()
1448 switch (wdev->iftype) { in wdev_chandef()