Lines Matching refs:nss
602 int nss; in mt7915_set_stream_vht_txbf_caps() local
608 nss = hweight8(phy->mt76->chainmask); in mt7915_set_stream_vht_txbf_caps()
619 if (nss < 2) in mt7915_set_stream_vht_txbf_caps()
625 nss - 1); in mt7915_set_stream_vht_txbf_caps()
630 int vif, int nss) in mt7915_set_stream_he_txbf_caps() argument
672 if (nss < 2) in mt7915_set_stream_he_txbf_caps()
676 elem->phy_cap_info[7] |= min_t(int, nss - 1, 2) << 3; in mt7915_set_stream_he_txbf_caps()
687 c = (nss - 1) | in mt7915_set_stream_he_txbf_caps()
697 mt7915_gen_ppe_thresh(u8 *he_ppet, int nss) in mt7915_gen_ppe_thresh() argument
702 he_ppet[0] = FIELD_PREP(IEEE80211_PPE_THRES_NSS_MASK, nss - 1) | in mt7915_gen_ppe_thresh()
707 nss * hweight8(ru_bit_mask) * 2; in mt7915_gen_ppe_thresh()
721 int i, idx = 0, nss = hweight8(phy->mt76->chainmask); in mt7915_init_he_caps() local
726 if (i < nss) in mt7915_init_he_caps()
732 if (i < nss / 2) in mt7915_init_he_caps()
848 mt7915_set_stream_he_txbf_caps(he_cap, i, nss); in mt7915_init_he_caps()
853 mt7915_gen_ppe_thresh(he_cap->ppe_thres, nss); in mt7915_init_he_caps()