Lines Matching refs:sta
193 enum nl80211_chan_width ieee80211_get_sta_bw(struct ieee80211_sta *sta) in ieee80211_get_sta_bw() argument
195 switch (sta->bandwidth) { in ieee80211_get_sta_bw()
197 if (sta->ht_cap.ht_supported) in ieee80211_get_sta_bw()
226 struct sta_info *sta; in ieee80211_get_max_required_bw() local
229 list_for_each_entry_rcu(sta, &sdata->local->sta_list, list) { in ieee80211_get_max_required_bw()
230 if (sdata != sta->sdata && in ieee80211_get_max_required_bw()
231 !(sta->sdata->bss && sta->sdata->bss == sdata->bss)) in ieee80211_get_max_required_bw()
234 if (!sta->uploaded) in ieee80211_get_max_required_bw()
237 max_bw = max(max_bw, ieee80211_get_sta_bw(&sta->sta)); in ieee80211_get_max_required_bw()
571 struct sta_info *sta; in ieee80211_recalc_chanctx_chantype() local
595 list_for_each_entry_rcu(sta, &local->sta_list, list) { in ieee80211_recalc_chanctx_chantype()
596 if (!sta->uploaded || in ieee80211_recalc_chanctx_chantype()
597 !test_sta_flag(sta, WLAN_STA_TDLS_WIDER_BW) || in ieee80211_recalc_chanctx_chantype()
598 !test_sta_flag(sta, WLAN_STA_AUTHORIZED) || in ieee80211_recalc_chanctx_chantype()
599 !sta->tdls_chandef.chan) in ieee80211_recalc_chanctx_chantype()
602 compat = cfg80211_chandef_compatible(&sta->tdls_chandef, in ieee80211_recalc_chanctx_chantype()