Searched refs:valid_links (Results 1 – 8 of 8) sorted by relevance
127 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()
418 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()
1443 if (link_id || wdev->valid_links & BIT(0)) { in wdev_chandef()1445 WARN_ON(!(wdev->valid_links & BIT(link_id))); in wdev_chandef()
1942 WARN_ON(wdev->valid_links); in cfg80211_wdev_bi()1968 if (wdev->valid_links) in cfg80211_calculate_bi_data()
950 if (wdev->valid_links) in cfg80211_cac_event()
2385 if (!wdev->valid_links && link > 0) in reg_wdev_chan_valid()2387 if (!(wdev->valid_links & BIT(link))) in reg_wdev_chan_valid()
3291 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()
5693 u16 valid_links; member5735 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)))