Home
last modified time | relevance | path

Searched refs:valid_links (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/net/wireless/
Dwext-sme.c127 if (wdev->valid_links) in cfg80211_mgd_wext_giwfreq()
214 if (wdev->valid_links) in cfg80211_mgd_wext_giwessid()
310 if (wdev->valid_links) { in cfg80211_mgd_wext_giwap()
Dwext-compat.c418 if (wdev->valid_links) in __cfg80211_set_encryption()
609 if (wdev->valid_links) { in cfg80211_wext_siwencode()
1291 if (dev->ieee80211_ptr->valid_links) in cfg80211_wext_siwrate()
1318 if (!wdev->valid_links && wdev->links[0].client.current_bss) in cfg80211_wext_giwrate()
1364 if (wdev->valid_links || !wdev->links[0].client.current_bss) { in cfg80211_wireless_stats()
Dchan.c1443 if (link_id || wdev->valid_links & BIT(0)) { in wdev_chandef()
1445 WARN_ON(!(wdev->valid_links & BIT(link_id))); in wdev_chandef()
Dutil.c1942 WARN_ON(wdev->valid_links); in cfg80211_wdev_bi()
1968 if (wdev->valid_links) in cfg80211_calculate_bi_data()
Dmlme.c950 if (wdev->valid_links) in cfg80211_cac_event()
Dreg.c2385 if (!wdev->valid_links && link > 0) in reg_wdev_chan_valid()
2387 if (!(wdev->valid_links & BIT(link))) in reg_wdev_chan_valid()
Dnl80211.c3291 if (wdev && wdev->valid_links) in __nl80211_set_channel()
3745 if (rdev->ops->get_channel && !wdev->valid_links) { in nl80211_send_iface()
5662 } else if (wdev->valid_links) { in nl80211_start_ap()
5733 } else if (wdev->valid_links) { in nl80211_start_ap()
15462 wdev->valid_links |= BIT(link_id); in nl80211_add_link()
15490 wdev->valid_links &= ~BIT(link_id); in nl80211_remove_link()
15649 if (wdev->valid_links && in nl80211_pre_doit()
15651 !(wdev->valid_links & BIT(nla_get_u16(link_id))))) { in nl80211_pre_doit()
15657 if (!wdev->valid_links && link_id) { in nl80211_pre_doit()
15665 (wdev && wdev->valid_links)) { in nl80211_pre_doit()
/linux-5.19.10/include/net/
Dcfg80211.h5693 u16 valid_links; member
5735 WARN_ON(link_id && !wdev->valid_links); in WARN_INVALID_LINK_ID()
5736 WARN_ON(wdev->valid_links && in WARN_INVALID_LINK_ID()
5737 !(wdev->valid_links & BIT(link_id))); in WARN_INVALID_LINK_ID()
5742 link_id < ((wdev)->valid_links ? ARRAY_SIZE((wdev)->links) : 1); \
5744 if (!(wdev)->valid_links || \
5745 ((wdev)->valid_links & BIT(link_id)))