Lines Matching full:nss
45 u8 nss; in mt7915_mcu_get_sta_nss() local
47 for (nss = 8; nss > 0; nss--) { in mt7915_mcu_get_sta_nss()
48 u8 nss_mcs = (mcs_map >> (2 * (nss - 1))) & 3; in mt7915_mcu_get_sta_nss()
54 return nss - 1; in mt7915_mcu_get_sta_nss()
65 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_he_mcs() local
67 for (nss = 0; nss < max_nss; nss++) { in mt7915_mcu_set_sta_he_mcs()
70 switch ((mcs_map >> (2 * nss)) & 0x3) { in mt7915_mcu_set_sta_he_mcs()
84 mcs = mcs ? fls(mcs & mask[nss]) - 1 : -1; in mt7915_mcu_set_sta_he_mcs()
100 mcs_map &= ~(0x3 << (nss * 2)); in mt7915_mcu_set_sta_he_mcs()
101 mcs_map |= mcs << (nss * 2); in mt7915_mcu_set_sta_he_mcs()
104 if (is_mt7915(&dev->mt76) && nss > 1 && in mt7915_mcu_set_sta_he_mcs()
119 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_vht_mcs() local
122 for (nss = 0; nss < max_nss; nss++, mcs_map >>= 2) { in mt7915_mcu_set_sta_vht_mcs()
137 vht_mcs[nss] = cpu_to_le16(mcs & mask[nss]); in mt7915_mcu_set_sta_vht_mcs()
140 if (is_mt7915(&dev->mt76) && nss > 1 && in mt7915_mcu_set_sta_vht_mcs()
150 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_ht_mcs() local
152 for (nss = 0; nss < max_nss; nss++) in mt7915_mcu_set_sta_ht_mcs()
153 ht_mcs[nss] = sta->deflink.ht_cap.mcs.rx_mask[nss] & mask[nss]; in mt7915_mcu_set_sta_ht_mcs()
1618 /* sta_rec_ra accommodates BW, NSS and only MCS range format in mt7915_mcu_add_rate_ctrl()
3737 rate->nss = res->nsts + 1; in mt7915_mcu_get_rx_rate()