Home
last modified time | relevance | path

Searched refs:last_rate (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.6/drivers/net/wireless/mediatek/mt7601u/
Dmac.c70 int cur_idx, last_rate; in mt76_mac_fill_tx_status() local
73 last_rate = min_t(int, st->retry, IEEE80211_TX_MAX_RATES - 1); in mt76_mac_fill_tx_status()
74 mt76_mac_process_tx_rate(&rate[last_rate], st->rate); in mt76_mac_fill_tx_status()
75 if (last_rate < IEEE80211_TX_MAX_RATES - 1) in mt76_mac_fill_tx_status()
76 rate[last_rate + 1].idx = -1; in mt76_mac_fill_tx_status()
78 cur_idx = rate[last_rate].idx + st->retry; in mt76_mac_fill_tx_status()
79 for (i = 0; i <= last_rate; i++) { in mt76_mac_fill_tx_status()
80 rate[i].flags = rate[last_rate].flags; in mt76_mac_fill_tx_status()
85 if (last_rate > 0) in mt76_mac_fill_tx_status()
86 rate[last_rate - 1].count = st->retry + 1 - last_rate; in mt76_mac_fill_tx_status()
/Linux-v6.6/net/mac80211/
Ds1g.c14 sta->deflink.tx_stats.last_rate.flags |= IEEE80211_TX_RC_S1G_MCS; in ieee80211_s1g_sta_rate_init()
15 sta->deflink.rx_stats.last_rate = in ieee80211_s1g_sta_rate_init()
Dsta_info.h438 u32 last_rate; member
557 struct ieee80211_tx_rate last_rate; member
Dstatus.c960 sta->deflink.tx_stats.last_rate = in __ieee80211_tx_status()
1243 sta->deflink.tx_stats.last_rate = info->status.rates[0]; in ieee80211_tx_rate_update()
Dairtime.c653 struct ieee80211_tx_rate *tx_rate = &sta->deflink.tx_stats.last_rate; in ieee80211_calc_expected_tx_airtime()
Dsta_info.c2457 u32 rate = READ_ONCE(sta_get_last_rx_stats(sta)->last_rate); in sta_set_rate_info_rx()
2715 sta_set_rate_info_tx(sta, &sta->deflink.tx_stats.last_rate, in sta_set_sinfo()
Dmesh_hwmp.c317 sta_set_rate_info_tx(sta, &sta->deflink.tx_stats.last_rate, &rinfo); in ieee80211s_update_metric()
Drx.c1739 link_sta->rx_stats.last_rate = in ieee80211_rx_h_sta_process()
1752 link_sta->rx_stats.last_rate = sta_stats_encode_rate(status); in ieee80211_rx_h_sta_process()
4743 stats->last_rate = sta_stats_encode_rate(status); in ieee80211_rx_8023()
Dtx.c792 tx->sta->deflink.tx_stats.last_rate = txrc.reported_rate; in ieee80211_tx_h_rate_ctrl()
794 tx->sta->deflink.tx_stats.last_rate = txrc.reported_rate; in ieee80211_tx_h_rate_ctrl()
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/
Dmt76x02_mac.c481 struct ieee80211_tx_rate last_rate; in mt76x02_mac_fill_tx_status() local
506 mt76x02_mac_process_tx_rate(&last_rate, st->rate, in mt76x02_mac_fill_tx_status()
512 info->status.rates[i] = last_rate; in mt76x02_mac_fill_tx_status()
518 if (info->status.rates[i].idx == last_rate.idx) in mt76x02_mac_fill_tx_status()
/Linux-v6.6/drivers/net/wireless/intel/ipw2x00/
Dipw2200.h1256 u32 last_rate; member
Dipw2200.c4070 priv->last_rate = 0; in ipw_reset_stats()
4253 priv->last_rate = ipw_get_current_rate(priv); in ipw_gather_stats()
4255 rate_quality = priv->last_rate * 40 / max_rate + 60; in ipw_gather_stats()
4257 rate_quality, priv->last_rate / 1000000); in ipw_gather_stats()
9187 wrqu->bitrate.value = priv->last_rate; in ipw_wx_get_rate()
10547 priv->last_rate = ipw_get_current_rate(priv); in ipw_link_up()