Lines Matching refs:mcs_map
198 mt7915_mcu_get_sta_nss(u16 mcs_map) in mt7915_mcu_get_sta_nss() argument
203 u8 nss_mcs = (mcs_map >> (2 * (nss - 1))) & 3; in mt7915_mcu_get_sta_nss()
219 u16 mcs_map; in mt7915_mcu_set_sta_he_mcs() local
223 mcs_map = le16_to_cpu(sta->deflink.he_cap.he_mcs_nss_supp.rx_mcs_80p80); in mt7915_mcu_set_sta_he_mcs()
226 mcs_map = le16_to_cpu(sta->deflink.he_cap.he_mcs_nss_supp.rx_mcs_160); in mt7915_mcu_set_sta_he_mcs()
229 mcs_map = le16_to_cpu(sta->deflink.he_cap.he_mcs_nss_supp.rx_mcs_80); in mt7915_mcu_set_sta_he_mcs()
236 switch ((mcs_map >> (2 * nss)) & 0x3) { in mt7915_mcu_set_sta_he_mcs()
266 mcs_map &= ~(0x3 << (nss * 2)); in mt7915_mcu_set_sta_he_mcs()
267 mcs_map |= mcs << (nss * 2); in mt7915_mcu_set_sta_he_mcs()
274 *he_mcs = cpu_to_le16(mcs_map); in mt7915_mcu_set_sta_he_mcs()
281 u16 mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map); in mt7915_mcu_set_sta_vht_mcs() local
285 for (nss = 0; nss < max_nss; nss++, mcs_map >>= 2) { in mt7915_mcu_set_sta_vht_mcs()
286 switch (mcs_map & 0x3) { in mt7915_mcu_set_sta_vht_mcs()
1937 u16 mcs_map = le16_to_cpu(pc->vht_mcs.rx_mcs_map); in mt7915_mcu_sta_bfer_vht() local
1938 u8 nss_mcs = mt7915_mcu_get_sta_nss(mcs_map); in mt7915_mcu_sta_bfer_vht()
1976 u16 mcs_map = le16_to_cpu(pc->he_mcs_nss_supp.rx_mcs_80); in mt7915_mcu_sta_bfer_he() local
1977 u8 nss_mcs = mt7915_mcu_get_sta_nss(mcs_map); in mt7915_mcu_sta_bfer_he()
2000 mcs_map = le16_to_cpu(pc->he_mcs_nss_supp.rx_mcs_160); in mt7915_mcu_sta_bfer_he()
2001 nss_mcs = mt7915_mcu_get_sta_nss(mcs_map); in mt7915_mcu_sta_bfer_he()
2008 mcs_map = le16_to_cpu(pc->he_mcs_nss_supp.rx_mcs_80p80); in mt7915_mcu_sta_bfer_he()
2009 nss_mcs = mt7915_mcu_get_sta_nss(mcs_map); in mt7915_mcu_sta_bfer_he()