Lines Matching full:rates
251 status_rate = &status->rates[status->n_rates - 1]; in ieee80211_tx_radiotap_len()
261 else if (info->status.rates[0].idx >= 0 && in ieee80211_tx_radiotap_len()
262 !(info->status.rates[0].flags & in ieee80211_tx_radiotap_len()
281 } else if (info->status.rates[0].idx >= 0) { in ieee80211_tx_radiotap_len()
282 if (info->status.rates[0].flags & IEEE80211_TX_RC_MCS) in ieee80211_tx_radiotap_len()
284 else if (info->status.rates[0].flags & IEEE80211_TX_RC_VHT_MCS) in ieee80211_tx_radiotap_len()
306 status_rate = &status->rates[status->n_rates - 1]; in ieee80211_add_tx_radiotap_header()
333 } else if (info->status.rates[0].idx >= 0 && in ieee80211_add_tx_radiotap_header()
334 !(info->status.rates[0].flags & (IEEE80211_TX_RC_MCS | in ieee80211_add_tx_radiotap_header()
340 sband->bitrates[info->status.rates[0].idx].bitrate; in ieee80211_add_tx_radiotap_header()
356 if (info->status.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) in ieee80211_add_tx_radiotap_header()
358 if (info->status.rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) in ieee80211_add_tx_radiotap_header()
505 if (status_rate || info->status.rates[0].idx < 0) in ieee80211_add_tx_radiotap_header()
510 if (info->status.rates[0].flags & IEEE80211_TX_RC_MCS) { in ieee80211_add_tx_radiotap_header()
515 if (info->status.rates[0].flags & IEEE80211_TX_RC_SHORT_GI) in ieee80211_add_tx_radiotap_header()
517 if (info->status.rates[0].flags & IEEE80211_TX_RC_40_MHZ_WIDTH) in ieee80211_add_tx_radiotap_header()
519 if (info->status.rates[0].flags & IEEE80211_TX_RC_GREEN_FIELD) in ieee80211_add_tx_radiotap_header()
521 pos[2] = info->status.rates[0].idx; in ieee80211_add_tx_radiotap_header()
523 } else if (info->status.rates[0].flags & IEEE80211_TX_RC_VHT_MCS) { in ieee80211_add_tx_radiotap_header()
538 if (info->status.rates[0].flags & IEEE80211_TX_RC_SHORT_GI) in ieee80211_add_tx_radiotap_header()
543 if (info->status.rates[0].flags & IEEE80211_TX_RC_40_MHZ_WIDTH) in ieee80211_add_tx_radiotap_header()
545 else if (info->status.rates[0].flags & IEEE80211_TX_RC_80_MHZ_WIDTH) in ieee80211_add_tx_radiotap_header()
547 else if (info->status.rates[0].flags & IEEE80211_TX_RC_160_MHZ_WIDTH) in ieee80211_add_tx_radiotap_header()
554 *pos = (ieee80211_rate_get_vht_mcs(&info->status.rates[0]) << 4) | in ieee80211_add_tx_radiotap_header()
555 ieee80211_rate_get_vht_nss(&info->status.rates[0]); in ieee80211_add_tx_radiotap_header()
842 info->status.rates[i].idx = -1; in ieee80211_tx_get_rates()
843 info->status.rates[i].count = 0; in ieee80211_tx_get_rates()
845 } else if (info->status.rates[i].idx < 0) { in ieee80211_tx_get_rates()
849 info->status.rates[i].idx = -1; in ieee80211_tx_get_rates()
850 info->status.rates[i].count = 0; in ieee80211_tx_get_rates()
854 count += info->status.rates[i].count; in ieee80211_tx_get_rates()
961 info->status.rates[rates_idx]; in __ieee80211_tx_status()
1122 status->rates[status->n_rates - 1].rate_idx; in ieee80211_tx_status_ext()
1243 sta->deflink.tx_stats.last_rate = info->status.rates[0]; in ieee80211_tx_rate_update()