Lines Matching full:nss
12 void mt76_connac_gen_ppe_thresh(u8 *he_ppet, int nss) in mt76_connac_gen_ppe_thresh() argument
17 he_ppet[0] = FIELD_PREP(IEEE80211_PPE_THRES_NSS_MASK, nss - 1) | in mt76_connac_gen_ppe_thresh()
22 nss * hweight8(ru_bit_mask) * 2; in mt76_connac_gen_ppe_thresh()
278 for (nss = 0; i < ARRAY_SIZE(mask->control[band]._mcs); i++) { \
287 nss = i + 1; \
300 u8 nss = 0, mode = 0, band = chandef->chan->band; in mt76_connac2_mac_tx_rate_val() local
337 return FIELD_PREP(MT_TX_RATE_NSS, nss) | in mt76_connac2_mac_tx_rate_val()
634 rate.nss = FIELD_GET(MT_TX_RATE_NSS, txrate) + 1; in mt76_connac2_mac_fill_txs()
637 if (stbc && rate.nss > 1) in mt76_connac2_mac_fill_txs()
638 rate.nss >>= 1; in mt76_connac2_mac_fill_txs()
640 if (rate.nss - 1 < ARRAY_SIZE(stats->tx_nss)) in mt76_connac2_mac_fill_txs()
641 stats->tx_nss[rate.nss - 1]++; in mt76_connac2_mac_fill_txs()
1017 u8 stbc, gi, bw, dcm, nss; in mt76_connac2_mac_fill_rx_rate() local
1025 nss = FIELD_GET(MT_PRXV_NSTS, v0) + 1; in mt76_connac2_mac_fill_rx_rate()
1060 status->nss = nss; in mt76_connac2_mac_fill_rx_rate()
1071 status->nss = nss; in mt76_connac2_mac_fill_rx_rate()