Searched refs:last_rate (Results 1 – 4 of 4) sorted by relevance
70 int cur_idx, last_rate; in mt76_mac_fill_tx_status() local73 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()
481 struct ieee80211_tx_rate last_rate; in mt76x02_mac_fill_tx_status() local506 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()
1256 u32 last_rate; member
4070 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()