Lines Matching refs:txrc
669 struct ieee80211_tx_rate_control txrc; in ieee80211_tx_h_rate_ctrl() local
673 memset(&txrc, 0, sizeof(txrc)); in ieee80211_tx_h_rate_ctrl()
681 txrc.hw = &tx->local->hw; in ieee80211_tx_h_rate_ctrl()
682 txrc.sband = sband; in ieee80211_tx_h_rate_ctrl()
683 txrc.bss_conf = &tx->sdata->vif.bss_conf; in ieee80211_tx_h_rate_ctrl()
684 txrc.skb = tx->skb; in ieee80211_tx_h_rate_ctrl()
685 txrc.reported_rate.idx = -1; in ieee80211_tx_h_rate_ctrl()
686 txrc.rate_idx_mask = tx->sdata->rc_rateidx_mask[info->band]; in ieee80211_tx_h_rate_ctrl()
689 txrc.rate_idx_mcs_mask = in ieee80211_tx_h_rate_ctrl()
692 txrc.bss = (tx->sdata->vif.type == NL80211_IFTYPE_AP || in ieee80211_tx_h_rate_ctrl()
699 txrc.rts = true; in ieee80211_tx_h_rate_ctrl()
702 info->control.use_rts = txrc.rts; in ieee80211_tx_h_rate_ctrl()
714 txrc.short_preamble = true; in ieee80211_tx_h_rate_ctrl()
716 info->control.short_preamble = txrc.short_preamble; in ieee80211_tx_h_rate_ctrl()
742 rate_control_get_rate(tx->sdata, tx->sta, &txrc); in ieee80211_tx_h_rate_ctrl()
766 if (txrc.reported_rate.idx < 0) { in ieee80211_tx_h_rate_ctrl()
767 txrc.reported_rate = tx->rate; in ieee80211_tx_h_rate_ctrl()
769 tx->sta->tx_stats.last_rate = txrc.reported_rate; in ieee80211_tx_h_rate_ctrl()
771 tx->sta->tx_stats.last_rate = txrc.reported_rate; in ieee80211_tx_h_rate_ctrl()
4442 struct ieee80211_tx_rate_control txrc; in __ieee80211_beacon_get() local
4590 memset(&txrc, 0, sizeof(txrc)); in __ieee80211_beacon_get()
4591 txrc.hw = hw; in __ieee80211_beacon_get()
4592 txrc.sband = local->hw.wiphy->bands[band]; in __ieee80211_beacon_get()
4593 txrc.bss_conf = &sdata->vif.bss_conf; in __ieee80211_beacon_get()
4594 txrc.skb = skb; in __ieee80211_beacon_get()
4595 txrc.reported_rate.idx = -1; in __ieee80211_beacon_get()
4596 txrc.rate_idx_mask = sdata->rc_rateidx_mask[band]; in __ieee80211_beacon_get()
4597 txrc.bss = true; in __ieee80211_beacon_get()
4598 rate_control_get_rate(sdata, NULL, &txrc); in __ieee80211_beacon_get()