Lines Matching defs:txrc
690 struct ieee80211_tx_rate_control txrc;
695 memset(&txrc, 0, sizeof(txrc));
703 txrc.hw = &tx->local->hw;
704 txrc.sband = sband;
705 txrc.bss_conf = &tx->sdata->vif.bss_conf;
706 txrc.skb = tx->skb;
707 txrc.reported_rate.idx = -1;
708 txrc.rate_idx_mask = tx->sdata->rc_rateidx_mask[info->band];
711 txrc.rate_idx_mcs_mask =
714 txrc.bss = (tx->sdata->vif.type == NL80211_IFTYPE_AP ||
721 txrc.rts = true;
724 info->control.use_rts = txrc.rts;
736 txrc.short_preamble = true;
738 info->control.short_preamble = txrc.short_preamble;
765 rate_control_get_rate(tx->sdata, tx->sta, &txrc);
789 if (txrc.reported_rate.idx < 0) {
790 txrc.reported_rate = tx->rate;
792 tx->sta->deflink.tx_stats.last_rate = txrc.reported_rate;
794 tx->sta->deflink.tx_stats.last_rate = txrc.reported_rate;
5178 struct ieee80211_tx_rate_control txrc;
5200 memset(&txrc, 0, sizeof(txrc));
5201 txrc.hw = hw;
5202 txrc.sband = local->hw.wiphy->bands[band];
5203 txrc.bss_conf = link->conf;
5204 txrc.skb = skb;
5205 txrc.reported_rate.idx = -1;
5207 txrc.rate_idx_mask = sdata->beacon_rateidx_mask[band];
5209 txrc.rate_idx_mask = sdata->rc_rateidx_mask[band];
5210 txrc.bss = true;
5211 rate_control_get_rate(sdata, NULL, &txrc);