Home
last modified time | relevance | path

Searched refs:ratetbl (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/net/mac80211/
H A Drate.c723 struct ieee80211_sta_rates *ratetbl = NULL; in rate_control_fill_sta_table() local
727 ratetbl = rcu_dereference(sta->rates); in rate_control_fill_sta_table()
737 } else if (ratetbl) { in rate_control_fill_sta_table()
738 rates[i].idx = ratetbl->rate[i].idx; in rate_control_fill_sta_table()
739 rates[i].flags = ratetbl->rate[i].flags; in rate_control_fill_sta_table()
741 rates[i].count = ratetbl->rate[i].count_rts; in rate_control_fill_sta_table()
743 rates[i].count = ratetbl->rate[i].count_cts; in rate_control_fill_sta_table()
745 rates[i].count = ratetbl->rate[i].count; in rate_control_fill_sta_table()
H A Drc80211_minstrel_ht.c1443 struct ieee80211_sta_rates *ratetbl, int offset, int index) in minstrel_ht_set_rate() argument
1456 ratetbl->rate[offset].count = 2; in minstrel_ht_set_rate()
1457 ratetbl->rate[offset].count_rts = 2; in minstrel_ht_set_rate()
1458 ratetbl->rate[offset].count_cts = 2; in minstrel_ht_set_rate()
1460 ratetbl->rate[offset].count = mrs->retry_count; in minstrel_ht_set_rate()
1461 ratetbl->rate[offset].count_cts = mrs->retry_count; in minstrel_ht_set_rate()
1462 ratetbl->rate[offset].count_rts = mrs->retry_count_rtscts; in minstrel_ht_set_rate()
1484 ratetbl->rate[offset].count = ratetbl->rate[offset].count_rts; in minstrel_ht_set_rate()
1488 ratetbl->rate[offset].idx = idx; in minstrel_ht_set_rate()
1489 ratetbl->rate[offset].flags = flags; in minstrel_ht_set_rate()
H A Dtx.c691 struct ieee80211_sta_rates *ratetbl = NULL; in ieee80211_tx_h_rate_ctrl() local
773 ratetbl = rcu_dereference(tx->sta->sta.rates); in ieee80211_tx_h_rate_ctrl()
776 if (ratetbl) { in ieee80211_tx_h_rate_ctrl()
778 .idx = ratetbl->rate[0].idx, in ieee80211_tx_h_rate_ctrl()
779 .flags = ratetbl->rate[0].flags, in ieee80211_tx_h_rate_ctrl()
780 .count = ratetbl->rate[0].count in ieee80211_tx_h_rate_ctrl()
783 if (ratetbl->rate[0].idx < 0) in ieee80211_tx_h_rate_ctrl()
801 if (ratetbl) in ieee80211_tx_h_rate_ctrl()
/openbmc/linux/drivers/net/wireless/ath/ath5k/
H A Dbase.c734 struct ieee80211_sta_rates *ratetbl; in ath5k_merge_ratetbl() local
740 ratetbl = rcu_dereference(sta->rates); in ath5k_merge_ratetbl()
741 if (!ratetbl) in ath5k_merge_ratetbl()
754 bf->rates[i].idx = ratetbl->rate[i].idx; in ath5k_merge_ratetbl()
755 bf->rates[i].flags = ratetbl->rate[i].flags; in ath5k_merge_ratetbl()
757 bf->rates[i].count = ratetbl->rate[i].count_rts; in ath5k_merge_ratetbl()
759 bf->rates[i].count = ratetbl->rate[i].count_cts; in ath5k_merge_ratetbl()
761 bf->rates[i].count = ratetbl->rate[i].count; in ath5k_merge_ratetbl()
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dxmit.c166 struct ieee80211_sta_rates *ratetbl; in ath_merge_ratetbl() local
172 ratetbl = rcu_dereference(sta->rates); in ath_merge_ratetbl()
173 if (!ratetbl) in ath_merge_ratetbl()
186 bf->rates[i].idx = ratetbl->rate[i].idx; in ath_merge_ratetbl()
187 bf->rates[i].flags = ratetbl->rate[i].flags; in ath_merge_ratetbl()
189 bf->rates[i].count = ratetbl->rate[i].count_rts; in ath_merge_ratetbl()
191 bf->rates[i].count = ratetbl->rate[i].count_cts; in ath_merge_ratetbl()
193 bf->rates[i].count = ratetbl->rate[i].count; in ath_merge_ratetbl()