Searched refs:ratetbl (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/net/mac80211/ |
D | rc80211_minstrel.c | 113 minstrel_set_rate(struct minstrel_sta_info *mi, struct ieee80211_sta_rates *ratetbl, in minstrel_set_rate() argument 118 ratetbl->rate[offset].idx = r->rix; in minstrel_set_rate() 119 ratetbl->rate[offset].count = r->adjusted_retry_count; in minstrel_set_rate() 120 ratetbl->rate[offset].count_cts = r->retry_count_cts; in minstrel_set_rate() 121 ratetbl->rate[offset].count_rts = r->stats.retry_count_rtscts; in minstrel_set_rate() 127 struct ieee80211_sta_rates *ratetbl; in minstrel_update_rates() local 130 ratetbl = kzalloc(sizeof(*ratetbl), GFP_ATOMIC); in minstrel_update_rates() 131 if (!ratetbl) in minstrel_update_rates() 135 minstrel_set_rate(mi, ratetbl, i++, mi->max_tp_rate[0]); in minstrel_update_rates() 139 minstrel_set_rate(mi, ratetbl, i++, mi->max_tp_rate[1]); in minstrel_update_rates() [all …]
|
D | rate.c | 718 struct ieee80211_sta_rates *ratetbl = NULL; in rate_control_fill_sta_table() local 722 ratetbl = rcu_dereference(sta->rates); in rate_control_fill_sta_table() 732 } else if (ratetbl) { in rate_control_fill_sta_table() 733 rates[i].idx = ratetbl->rate[i].idx; in rate_control_fill_sta_table() 734 rates[i].flags = ratetbl->rate[i].flags; in rate_control_fill_sta_table() 736 rates[i].count = ratetbl->rate[i].count_rts; in rate_control_fill_sta_table() 738 rates[i].count = ratetbl->rate[i].count_cts; in rate_control_fill_sta_table() 740 rates[i].count = ratetbl->rate[i].count; in rate_control_fill_sta_table()
|
D | rc80211_minstrel_ht.c | 1062 struct ieee80211_sta_rates *ratetbl, int offset, int index) in minstrel_ht_set_rate() argument 1074 ratetbl->rate[offset].count = 2; in minstrel_ht_set_rate() 1075 ratetbl->rate[offset].count_rts = 2; in minstrel_ht_set_rate() 1076 ratetbl->rate[offset].count_cts = 2; in minstrel_ht_set_rate() 1078 ratetbl->rate[offset].count = mrs->retry_count; in minstrel_ht_set_rate() 1079 ratetbl->rate[offset].count_cts = mrs->retry_count; in minstrel_ht_set_rate() 1080 ratetbl->rate[offset].count_rts = mrs->retry_count_rtscts; in minstrel_ht_set_rate() 1098 ratetbl->rate[offset].count = ratetbl->rate[offset].count_rts; in minstrel_ht_set_rate() 1102 ratetbl->rate[offset].idx = idx; in minstrel_ht_set_rate() 1103 ratetbl->rate[offset].flags = flags; in minstrel_ht_set_rate()
|
D | tx.c | 681 struct ieee80211_sta_rates *ratetbl = NULL; in ieee80211_tx_h_rate_ctrl() local 756 ratetbl = rcu_dereference(tx->sta->sta.rates); in ieee80211_tx_h_rate_ctrl() 759 if (ratetbl) { in ieee80211_tx_h_rate_ctrl() 761 .idx = ratetbl->rate[0].idx, in ieee80211_tx_h_rate_ctrl() 762 .flags = ratetbl->rate[0].flags, in ieee80211_tx_h_rate_ctrl() 763 .count = ratetbl->rate[0].count in ieee80211_tx_h_rate_ctrl() 766 if (ratetbl->rate[0].idx < 0) in ieee80211_tx_h_rate_ctrl() 784 if (ratetbl) in ieee80211_tx_h_rate_ctrl()
|