Lines Matching refs:tx_rate_idx
1173 sta->tx_max_rate = sta->tx_rate = sta->tx_rate_idx = 0; in prism2_check_tx_rates()
1178 sta->tx_rate_idx = 0; in prism2_check_tx_rates()
1185 sta->tx_rate_idx = 1; in prism2_check_tx_rates()
1192 sta->tx_rate_idx = 2; in prism2_check_tx_rates()
1199 sta->tx_rate_idx = 3; in prism2_check_tx_rates()
2652 sta->tx_count[sta->tx_rate_idx]++; in ap_update_sta_tx_rate()
2656 sta->tx_rate_idx < sta->tx_max_rate) { in ap_update_sta_tx_rate()
2659 old_rate = new_rate = sta->tx_rate_idx; in ap_update_sta_tx_rate()
2663 sta->tx_rate_idx = new_rate; in ap_update_sta_tx_rate()
2667 if (old_rate != sta->tx_rate_idx) { in ap_update_sta_tx_rate()
2668 switch (sta->tx_rate_idx) { in ap_update_sta_tx_rate()
2851 sta->tx_rate_idx > 0 && meta->rate <= sta->tx_rate) { in hostap_handle_sta_tx_exc()
2854 old = rate = sta->tx_rate_idx; in hostap_handle_sta_tx_exc()
2858 sta->tx_rate_idx = rate; in hostap_handle_sta_tx_exc()
2862 if (old != sta->tx_rate_idx) { in hostap_handle_sta_tx_exc()
2863 switch (sta->tx_rate_idx) { in hostap_handle_sta_tx_exc()
3160 sta->tx_max_rate = sta->tx_rate_idx = 3; in hostap_add_sta()