Lines Matching full:rates

721 			   struct ieee80211_tx_rate *rates)  in mt7603_wtbl_set_rates()  argument
739 rates[i] = rates[n_rates - 1]; in mt7603_wtbl_set_rates()
742 memcpy(sta->rateset[rateset].rates, rates, in mt7603_wtbl_set_rates()
743 sizeof(sta->rateset[rateset].rates)); in mt7603_wtbl_set_rates()
749 ref = &sta->rateset[rateset].rates[0]; in mt7603_wtbl_set_rates()
752 rates = sta->rateset[rateset].rates; in mt7603_wtbl_set_rates()
753 for (i = 0; i < ARRAY_SIZE(sta->rateset[rateset].rates); i++) { in mt7603_wtbl_set_rates()
761 if ((ref->flags ^ rates[i].flags) & IEEE80211_TX_RC_SHORT_GI) in mt7603_wtbl_set_rates()
762 rates[i].flags ^= IEEE80211_TX_RC_SHORT_GI; in mt7603_wtbl_set_rates()
765 if (rates[i].idx != rates[k].idx) in mt7603_wtbl_set_rates()
767 if ((rates[i].flags ^ rates[k].flags) & in mt7603_wtbl_set_rates()
771 if (!rates[i].idx) in mt7603_wtbl_set_rates()
774 rates[i].idx--; in mt7603_wtbl_set_rates()
781 val[0] = mt7603_mac_tx_rate_val(dev, &rates[0], stbc, &bw); in mt7603_wtbl_set_rates()
797 val[1] = mt7603_mac_tx_rate_val(dev, &rates[1], stbc, &bw); in mt7603_wtbl_set_rates()
803 val[2] = mt7603_mac_tx_rate_val(dev, &rates[2], stbc, &bw); in mt7603_wtbl_set_rates()
809 val[3] = mt7603_mac_tx_rate_val(dev, &rates[3], stbc, &bw); in mt7603_wtbl_set_rates()
913 struct ieee80211_tx_rate *rate = &info->control.rates[0]; in mt7603_mac_write_txwi()
1065 mt7603_wtbl_set_rates(dev, msta, &info->control.rates[0], in mt7603_tx_prepare_skb()
1066 msta->rates); in mt7603_tx_prepare_skb()
1098 fixed_rate = info->status.rates[0].count; in mt7603_fill_txs()
1129 info->status.rates[0].count = count; in mt7603_fill_txs()
1141 info->status.rates[0] = rs->probe_rate; in mt7603_fill_txs()
1146 sta->rates); in mt7603_fill_txs()
1151 info->status.rates[0] = rs->rates[first_idx / 2]; in mt7603_fill_txs()
1153 info->status.rates[0].count = 0; in mt7603_fill_txs()
1159 cur_rate = &rs->rates[idx / 2]; in mt7603_fill_txs()
1163 if (idx && (cur_rate->idx != info->status.rates[i].idx || in mt7603_fill_txs()
1164 cur_rate->flags != info->status.rates[i].flags)) { in mt7603_fill_txs()
1166 if (i == ARRAY_SIZE(info->status.rates)) { in mt7603_fill_txs()
1171 info->status.rates[i] = *cur_rate; in mt7603_fill_txs()
1172 info->status.rates[i].count = 0; in mt7603_fill_txs()
1175 info->status.rates[i].count += cur_count; in mt7603_fill_txs()
1179 final_rate_flags = info->status.rates[i].flags; in mt7603_fill_txs()
1206 info->status.rates[i].idx = final_rate; in mt7603_fill_txs()
1207 info->status.rates[i].flags = final_rate_flags; in mt7603_fill_txs()
1231 info->status.rates[0].count = 0; in mt7603_mac_add_txs_skb()
1232 info->status.rates[0].idx = -1; in mt7603_mac_add_txs_skb()