Home
last modified time | relevance | path

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

/net/wireless/
Dchan.c711 struct wireless_dev *wdev_iter; in cfg80211_go_permissive_chan() local
734 list_for_each_entry(wdev_iter, &rdev->wdev_list, list) { in cfg80211_go_permissive_chan()
738 if (wdev_iter->iftype != NL80211_IFTYPE_STATION || in cfg80211_go_permissive_chan()
739 !netif_running(wdev_iter->netdev)) in cfg80211_go_permissive_chan()
742 wdev_lock(wdev_iter); in cfg80211_go_permissive_chan()
743 if (wdev_iter->current_bss) in cfg80211_go_permissive_chan()
744 other_chan = wdev_iter->current_bss->pub.channel; in cfg80211_go_permissive_chan()
745 wdev_unlock(wdev_iter); in cfg80211_go_permissive_chan()
Dutil.c1392 struct wireless_dev *wdev_iter; in cfg80211_can_use_iftype_chan() local
1440 list_for_each_entry(wdev_iter, &rdev->wdev_list, list) { in cfg80211_can_use_iftype_chan()
1441 if (wdev_iter == wdev) in cfg80211_can_use_iftype_chan()
1443 if (wdev_iter->iftype == NL80211_IFTYPE_P2P_DEVICE) { in cfg80211_can_use_iftype_chan()
1444 if (!wdev_iter->p2p_started) in cfg80211_can_use_iftype_chan()
1446 } else if (wdev_iter->netdev) { in cfg80211_can_use_iftype_chan()
1447 if (!netif_running(wdev_iter->netdev)) in cfg80211_can_use_iftype_chan()
1453 if (rdev->wiphy.software_iftypes & BIT(wdev_iter->iftype)) in cfg80211_can_use_iftype_chan()
1462 mutex_lock_nested(&wdev_iter->mtx, 1); in cfg80211_can_use_iftype_chan()
1463 __acquire(wdev_iter->mtx); in cfg80211_can_use_iftype_chan()
[all …]
/net/mac80211/
Dutil.c3048 struct wireless_dev *wdev_iter; in ieee80211_check_combinations() local
3050 wdev_iter = &sdata_iter->wdev; in ieee80211_check_combinations()
3054 local->hw.wiphy->software_iftypes & BIT(wdev_iter->iftype)) in ieee80211_check_combinations()
3057 num[wdev_iter->iftype]++; in ieee80211_check_combinations()