Home
last modified time | relevance | path

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

/net/mac80211/
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()
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()
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()