Lines Matching full:rates

732 			   struct ieee80211_tx_rate *rates)  in mt7603_wtbl_set_rates()  argument
750 rates[i] = rates[n_rates - 1]; in mt7603_wtbl_set_rates()
753 memcpy(sta->rateset[rateset].rates, rates, in mt7603_wtbl_set_rates()
754 sizeof(sta->rateset[rateset].rates)); in mt7603_wtbl_set_rates()
760 ref = &sta->rateset[rateset].rates[0]; in mt7603_wtbl_set_rates()
763 rates = sta->rateset[rateset].rates; in mt7603_wtbl_set_rates()
764 for (i = 0; i < ARRAY_SIZE(sta->rateset[rateset].rates); i++) { in mt7603_wtbl_set_rates()
772 if ((ref->flags ^ rates[i].flags) & IEEE80211_TX_RC_SHORT_GI) in mt7603_wtbl_set_rates()
773 rates[i].flags ^= IEEE80211_TX_RC_SHORT_GI; in mt7603_wtbl_set_rates()
776 if (rates[i].idx != rates[k].idx) in mt7603_wtbl_set_rates()
778 if ((rates[i].flags ^ rates[k].flags) & in mt7603_wtbl_set_rates()
782 if (!rates[i].idx) in mt7603_wtbl_set_rates()
785 rates[i].idx--; in mt7603_wtbl_set_rates()
792 val[0] = mt7603_mac_tx_rate_val(dev, &rates[0], stbc, &bw); in mt7603_wtbl_set_rates()
808 val[1] = mt7603_mac_tx_rate_val(dev, &rates[1], stbc, &bw); in mt7603_wtbl_set_rates()
814 val[2] = mt7603_mac_tx_rate_val(dev, &rates[2], stbc, &bw); in mt7603_wtbl_set_rates()
820 val[3] = mt7603_mac_tx_rate_val(dev, &rates[3], stbc, &bw); in mt7603_wtbl_set_rates()
924 struct ieee80211_tx_rate *rate = &info->control.rates[0]; in mt7603_mac_write_txwi()
1076 mt7603_wtbl_set_rates(dev, msta, &info->control.rates[0], in mt7603_tx_prepare_skb()
1077 msta->rates); in mt7603_tx_prepare_skb()
1109 fixed_rate = info->status.rates[0].count; in mt7603_fill_txs()
1140 info->status.rates[0].count = count; in mt7603_fill_txs()
1152 info->status.rates[0] = rs->probe_rate; in mt7603_fill_txs()
1157 sta->rates); in mt7603_fill_txs()
1162 info->status.rates[0] = rs->rates[first_idx / 2]; in mt7603_fill_txs()
1164 info->status.rates[0].count = 0; in mt7603_fill_txs()
1170 cur_rate = &rs->rates[idx / 2]; in mt7603_fill_txs()
1174 if (idx && (cur_rate->idx != info->status.rates[i].idx || in mt7603_fill_txs()
1175 cur_rate->flags != info->status.rates[i].flags)) { in mt7603_fill_txs()
1177 if (i == ARRAY_SIZE(info->status.rates)) { in mt7603_fill_txs()
1182 info->status.rates[i] = *cur_rate; in mt7603_fill_txs()
1183 info->status.rates[i].count = 0; in mt7603_fill_txs()
1186 info->status.rates[i].count += cur_count; in mt7603_fill_txs()
1190 final_rate_flags = info->status.rates[i].flags; in mt7603_fill_txs()
1217 info->status.rates[i].idx = final_rate; in mt7603_fill_txs()
1218 info->status.rates[i].flags = final_rate_flags; in mt7603_fill_txs()
1242 info->status.rates[0].count = 0; in mt7603_mac_add_txs_skb()
1243 info->status.rates[0].idx = -1; in mt7603_mac_add_txs_skb()