Searched refs:last_rate (Results 1 - 8 of 8) sorted by relevance

/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
H A Dmac.c62 int cur_idx, last_rate; mt76_mac_fill_tx_status() local
65 last_rate = min_t(int, st->retry, IEEE80211_TX_MAX_RATES - 1); mt76_mac_fill_tx_status()
66 mt76_mac_process_tx_rate(&rate[last_rate], st->rate); mt76_mac_fill_tx_status()
67 if (last_rate < IEEE80211_TX_MAX_RATES - 1) mt76_mac_fill_tx_status()
68 rate[last_rate + 1].idx = -1; mt76_mac_fill_tx_status()
70 cur_idx = rate[last_rate].idx + st->retry; mt76_mac_fill_tx_status()
71 for (i = 0; i <= last_rate; i++) { mt76_mac_fill_tx_status()
72 rate[i].flags = rate[last_rate].flags; mt76_mac_fill_tx_status()
77 if (last_rate > 0) mt76_mac_fill_tx_status()
78 rate[last_rate - 1].count = st->retry + 1 - last_rate; mt76_mac_fill_tx_status()
/linux-4.4.14/net/mac80211/
H A Dsta_info.h469 struct ieee80211_tx_rate last_rate; member in struct:sta_info::__anon14998
H A Dmesh_hwmp.c332 sta_set_rate_info_tx(sta, &sta->tx_stats.last_rate, &rinfo); airtime_link_metric_get()
H A Dstatus.c789 sta->tx_stats.last_rate = ieee80211_tx_status()
H A Dsta_info.c1971 sta_set_rate_info_tx(sta, &sta->tx_stats.last_rate, sta_set_sinfo()
H A Dtx.c760 tx->sta->tx_stats.last_rate = txrc.reported_rate; ieee80211_tx_h_rate_ctrl()
762 tx->sta->tx_stats.last_rate = txrc.reported_rate; ieee80211_tx_h_rate_ctrl()
/linux-4.4.14/drivers/net/wireless/ipw2x00/
H A Dipw2200.h1271 u32 last_rate; member in struct:ipw_priv
H A Dipw2200.c4140 priv->last_rate = 0; ipw_reset_stats()
4323 priv->last_rate = ipw_get_current_rate(priv); ipw_gather_stats()
4325 rate_quality = priv->last_rate * 40 / max_rate + 60; ipw_gather_stats()
4327 rate_quality, priv->last_rate / 1000000); ipw_gather_stats()
9264 wrqu->bitrate.value = priv->last_rate; ipw_wx_get_rate()
10624 priv->last_rate = ipw_get_current_rate(priv); ipw_link_up()

Completed in 389 milliseconds