Lines Matching refs:sta
223 struct ieee80211_sta *sta, in __rate_control_send_low() argument
243 if (!rate_supported(sta, sband->band, i)) in __rate_control_send_low()
265 struct sta_info *sta; in rate_control_send_low() local
281 sta = container_of(pubsta, struct sta_info, sta); in rate_control_send_low()
282 if (ieee80211_vif_is_mesh(&sta->sdata->vif)) in rate_control_send_low()
534 static void rate_control_fill_sta_table(struct ieee80211_sta *sta, in rate_control_fill_sta_table() argument
542 if (sta && !info->control.skip_table) in rate_control_fill_sta_table()
543 ratetbl = rcu_dereference(sta->rates); in rate_control_fill_sta_table()
573 struct ieee80211_sta *sta, in rate_control_apply_mask() argument
608 if (sta) { in rate_control_apply_mask()
610 mask &= sta->supp_rates[info->band]; in rate_control_apply_mask()
612 mcs_mask[i] &= sta->ht_cap.mcs.rx_mask[i]; in rate_control_apply_mask()
632 struct ieee80211_sta *sta, in ieee80211_get_tx_rates() argument
642 rate_control_fill_sta_table(sta, info, dest, max_rates); in ieee80211_get_tx_rates()
651 rate_control_apply_mask(sdata, sta, sband, info, dest, max_rates); in ieee80211_get_tx_rates()
654 __rate_control_send_low(&sdata->local->hw, sband, sta, info, in ieee80211_get_tx_rates()
657 if (sta) in ieee80211_get_tx_rates()
663 struct sta_info *sta, in rate_control_get_rate() argument
672 if (sta && test_sta_flag(sta, WLAN_STA_RATE_CONTROL)) { in rate_control_get_rate()
673 ista = &sta->sta; in rate_control_get_rate()
674 priv_sta = sta->rate_ctrl_priv; in rate_control_get_rate()
700 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); in rate_control_set_rates() local
714 drv_sta_rate_tbl_update(hw_to_local(hw), sta->sdata, pubsta); in rate_control_set_rates()