Lines Matching refs:txrate

19 	struct rate_info *txrate = &arsta->txrate;  in ath11k_debugfs_sta_add_tx_stats()  local
27 gi = FIELD_GET(RATE_INFO_FLAGS_SHORT_GI, arsta->txrate.flags); in ath11k_debugfs_sta_add_tx_stats()
28 mcs = txrate->mcs; in ath11k_debugfs_sta_add_tx_stats()
29 bw = ath11k_mac_mac80211_bw_to_ath11k_bw(txrate->bw); in ath11k_debugfs_sta_add_tx_stats()
30 nss = txrate->nss - 1; in ath11k_debugfs_sta_add_tx_stats()
34 if (txrate->flags & RATE_INFO_FLAGS_HE_MCS) { in ath11k_debugfs_sta_add_tx_stats()
41 } else if (txrate->flags & RATE_INFO_FLAGS_VHT_MCS) { in ath11k_debugfs_sta_add_tx_stats()
48 } else if (txrate->flags & RATE_INFO_FLAGS_MCS) { in ath11k_debugfs_sta_add_tx_stats()
69 if (txrate->flags & RATE_INFO_FLAGS_HE_MCS) { in ath11k_debugfs_sta_add_tx_stats()
74 } else if (txrate->flags & RATE_INFO_FLAGS_MCS) { in ath11k_debugfs_sta_add_tx_stats()
158 memset(&arsta->txrate, 0, sizeof(arsta->txrate)); in ath11k_debugfs_sta_update_txcompl()
175 arsta->txrate.legacy = rate; in ath11k_debugfs_sta_update_txcompl()
182 arsta->txrate.mcs = mcs + 8 * (arsta->last_txrate.nss - 1); in ath11k_debugfs_sta_update_txcompl()
183 arsta->txrate.flags = RATE_INFO_FLAGS_MCS; in ath11k_debugfs_sta_update_txcompl()
185 arsta->txrate.flags |= RATE_INFO_FLAGS_SHORT_GI; in ath11k_debugfs_sta_update_txcompl()
192 arsta->txrate.mcs = mcs; in ath11k_debugfs_sta_update_txcompl()
193 arsta->txrate.flags = RATE_INFO_FLAGS_VHT_MCS; in ath11k_debugfs_sta_update_txcompl()
195 arsta->txrate.flags |= RATE_INFO_FLAGS_SHORT_GI; in ath11k_debugfs_sta_update_txcompl()
200 arsta->txrate.nss = arsta->last_txrate.nss; in ath11k_debugfs_sta_update_txcompl()
201 arsta->txrate.bw = ath11k_mac_bw_to_mac80211_bw(bw); in ath11k_debugfs_sta_update_txcompl()