Lines Matching refs:mcs
948 u8 cck, rate, bw, sgi, mcs, nss; in ath10k_htt_rx_h_rates() local
978 mcs = info2 & 0x1F; in ath10k_htt_rx_h_rates()
979 nss = mcs >> 3; in ath10k_htt_rx_h_rates()
983 status->rate_idx = mcs; in ath10k_htt_rx_h_rates()
1001 mcs = (info3 >> 4) & 0x0F; in ath10k_htt_rx_h_rates()
1018 mcs = 0; in ath10k_htt_rx_h_rates()
1022 if (mcs > 0x09) { in ath10k_htt_rx_h_rates()
1023 ath10k_warn(ar, "invalid MCS received %u\n", mcs); in ath10k_htt_rx_h_rates()
1045 status->rate_idx = mcs; in ath10k_htt_rx_h_rates()
3363 int idx, ht_idx, gi, mcs, bw, nss; in ath10k_accumulate_per_peer_tx_stats() local
3372 mcs = ATH10K_HW_MCS_RATE(pstats->ratecode); in ath10k_accumulate_per_peer_tx_stats()
3375 ht_idx = mcs + (nss - 1) * 8; in ath10k_accumulate_per_peer_tx_stats()
3376 idx = mcs * 8 + 8 * 10 * (nss - 1); in ath10k_accumulate_per_peer_tx_stats()
3382 STATS_OP_FMT(SUCC).vht[0][mcs] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3383 STATS_OP_FMT(SUCC).vht[1][mcs] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3384 STATS_OP_FMT(FAIL).vht[0][mcs] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3385 STATS_OP_FMT(FAIL).vht[1][mcs] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3386 STATS_OP_FMT(RETRY).vht[0][mcs] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3387 STATS_OP_FMT(RETRY).vht[1][mcs] += pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3396 mcs = legacy_rate_idx; in ath10k_accumulate_per_peer_tx_stats()
3398 STATS_OP_FMT(SUCC).legacy[0][mcs] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3399 STATS_OP_FMT(SUCC).legacy[1][mcs] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3400 STATS_OP_FMT(FAIL).legacy[0][mcs] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3401 STATS_OP_FMT(FAIL).legacy[1][mcs] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3402 STATS_OP_FMT(RETRY).legacy[0][mcs] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3403 STATS_OP_FMT(RETRY).legacy[1][mcs] += pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3415 STATS_OP_FMT(AMPDU).vht[0][mcs] += in ath10k_accumulate_per_peer_tx_stats()
3417 STATS_OP_FMT(AMPDU).vht[1][mcs] += in ath10k_accumulate_per_peer_tx_stats()
3494 txrate.mcs = ATH10K_HW_MCS_RATE(peer_stats->ratecode); in ath10k_update_per_peer_tx_stats()
3504 if (txrate.flags == WMI_RATE_PREAMBLE_VHT && txrate.mcs > 9) { in ath10k_update_per_peer_tx_stats()
3505 ath10k_warn(ar, "Invalid VHT mcs %hhd peer stats", txrate.mcs); in ath10k_update_per_peer_tx_stats()
3510 (txrate.mcs > 7 || txrate.nss < 1)) { in ath10k_update_per_peer_tx_stats()
3512 txrate.mcs, txrate.nss); in ath10k_update_per_peer_tx_stats()
3530 arsta->txrate.mcs = txrate.mcs + 8 * (txrate.nss - 1); in ath10k_update_per_peer_tx_stats()
3533 arsta->txrate.mcs = txrate.mcs; in ath10k_update_per_peer_tx_stats()
3552 txrate.mcs + ((txrate.nss - 1) * 8); in ath10k_update_per_peer_tx_stats()
3560 txrate.mcs, txrate.nss); in ath10k_update_per_peer_tx_stats()