Lines Matching refs:txrc
672 struct ieee80211_tx_rate_control txrc; in ieee80211_tx_h_rate_ctrl() local
676 memset(&txrc, 0, sizeof(txrc)); in ieee80211_tx_h_rate_ctrl()
684 txrc.hw = &tx->local->hw; in ieee80211_tx_h_rate_ctrl()
685 txrc.sband = sband; in ieee80211_tx_h_rate_ctrl()
686 txrc.bss_conf = &tx->sdata->vif.bss_conf; in ieee80211_tx_h_rate_ctrl()
687 txrc.skb = tx->skb; in ieee80211_tx_h_rate_ctrl()
688 txrc.reported_rate.idx = -1; in ieee80211_tx_h_rate_ctrl()
689 txrc.rate_idx_mask = tx->sdata->rc_rateidx_mask[info->band]; in ieee80211_tx_h_rate_ctrl()
692 txrc.rate_idx_mcs_mask = in ieee80211_tx_h_rate_ctrl()
695 txrc.bss = (tx->sdata->vif.type == NL80211_IFTYPE_AP || in ieee80211_tx_h_rate_ctrl()
702 txrc.rts = true; in ieee80211_tx_h_rate_ctrl()
705 info->control.use_rts = txrc.rts; in ieee80211_tx_h_rate_ctrl()
717 txrc.short_preamble = true; in ieee80211_tx_h_rate_ctrl()
719 info->control.short_preamble = txrc.short_preamble; in ieee80211_tx_h_rate_ctrl()
745 rate_control_get_rate(tx->sdata, tx->sta, &txrc); in ieee80211_tx_h_rate_ctrl()
769 if (txrc.reported_rate.idx < 0) { in ieee80211_tx_h_rate_ctrl()
770 txrc.reported_rate = tx->rate; in ieee80211_tx_h_rate_ctrl()
772 tx->sta->tx_stats.last_rate = txrc.reported_rate; in ieee80211_tx_h_rate_ctrl()
774 tx->sta->tx_stats.last_rate = txrc.reported_rate; in ieee80211_tx_h_rate_ctrl()
4218 struct ieee80211_tx_rate_control txrc; in __ieee80211_beacon_get() local
4366 memset(&txrc, 0, sizeof(txrc)); in __ieee80211_beacon_get()
4367 txrc.hw = hw; in __ieee80211_beacon_get()
4368 txrc.sband = local->hw.wiphy->bands[band]; in __ieee80211_beacon_get()
4369 txrc.bss_conf = &sdata->vif.bss_conf; in __ieee80211_beacon_get()
4370 txrc.skb = skb; in __ieee80211_beacon_get()
4371 txrc.reported_rate.idx = -1; in __ieee80211_beacon_get()
4372 txrc.rate_idx_mask = sdata->rc_rateidx_mask[band]; in __ieee80211_beacon_get()
4373 txrc.bss = true; in __ieee80211_beacon_get()
4374 rate_control_get_rate(sdata, NULL, &txrc); in __ieee80211_beacon_get()