Lines Matching refs:tx_rate_idx
1235 sta->tx_max_rate = sta->tx_rate = sta->tx_rate_idx = 0; in prism2_check_tx_rates()
1240 sta->tx_rate_idx = 0; in prism2_check_tx_rates()
1247 sta->tx_rate_idx = 1; in prism2_check_tx_rates()
1254 sta->tx_rate_idx = 2; in prism2_check_tx_rates()
1261 sta->tx_rate_idx = 3; in prism2_check_tx_rates()
2709 sta->tx_count[sta->tx_rate_idx]++; in ap_update_sta_tx_rate()
2713 sta->tx_rate_idx < sta->tx_max_rate) { in ap_update_sta_tx_rate()
2716 old_rate = new_rate = sta->tx_rate_idx; in ap_update_sta_tx_rate()
2720 sta->tx_rate_idx = new_rate; in ap_update_sta_tx_rate()
2724 if (old_rate != sta->tx_rate_idx) { in ap_update_sta_tx_rate()
2725 switch (sta->tx_rate_idx) { in ap_update_sta_tx_rate()
2908 sta->tx_rate_idx > 0 && meta->rate <= sta->tx_rate) { in hostap_handle_sta_tx_exc()
2911 old = rate = sta->tx_rate_idx; in hostap_handle_sta_tx_exc()
2915 sta->tx_rate_idx = rate; in hostap_handle_sta_tx_exc()
2919 if (old != sta->tx_rate_idx) { in hostap_handle_sta_tx_exc()
2920 switch (sta->tx_rate_idx) { in hostap_handle_sta_tx_exc()
3218 sta->tx_max_rate = sta->tx_rate_idx = 3; in hostap_add_sta()