Lines Matching refs:mcs_map
36 mt7915_mcu_get_sta_nss(u16 mcs_map) in mt7915_mcu_get_sta_nss() argument
41 u8 nss_mcs = (mcs_map >> (2 * (nss - 1))) & 3; in mt7915_mcu_get_sta_nss()
52 u16 mcs_map) in mt7915_mcu_set_sta_he_mcs() argument
63 switch ((mcs_map >> (2 * nss)) & 0x3) { in mt7915_mcu_set_sta_he_mcs()
93 mcs_map &= ~(0x3 << (nss * 2)); in mt7915_mcu_set_sta_he_mcs()
94 mcs_map |= mcs << (nss * 2); in mt7915_mcu_set_sta_he_mcs()
102 *he_mcs = cpu_to_le16(mcs_map); in mt7915_mcu_set_sta_he_mcs()
111 u16 mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map); in mt7915_mcu_set_sta_vht_mcs() local
115 for (nss = 0; nss < max_nss; nss++, mcs_map >>= 2) { in mt7915_mcu_set_sta_vht_mcs()
116 switch (mcs_map & 0x3) { in mt7915_mcu_set_sta_vht_mcs()
691 struct ieee80211_he_mcs_nss_supp mcs_map; in mt7915_mcu_sta_he_tlv() local
782 mcs_map = sta->deflink.he_cap.he_mcs_nss_supp; in mt7915_mcu_sta_he_tlv()
789 le16_to_cpu(mcs_map.rx_mcs_80p80)); in mt7915_mcu_sta_he_tlv()
793 le16_to_cpu(mcs_map.rx_mcs_160)); in mt7915_mcu_sta_he_tlv()
798 le16_to_cpu(mcs_map.rx_mcs_80)); in mt7915_mcu_sta_he_tlv()
1065 u16 mcs_map = le16_to_cpu(pc->vht_mcs.rx_mcs_map); in mt7915_mcu_sta_bfer_vht() local
1066 u8 nss_mcs = mt7915_mcu_get_sta_nss(mcs_map); in mt7915_mcu_sta_bfer_vht()
1105 u16 mcs_map = le16_to_cpu(pc->he_mcs_nss_supp.rx_mcs_80); in mt7915_mcu_sta_bfer_he() local
1106 u8 nss_mcs = mt7915_mcu_get_sta_nss(mcs_map); in mt7915_mcu_sta_bfer_he()
1131 mcs_map = le16_to_cpu(pc->he_mcs_nss_supp.rx_mcs_160); in mt7915_mcu_sta_bfer_he()
1132 nss_mcs = mt7915_mcu_get_sta_nss(mcs_map); in mt7915_mcu_sta_bfer_he()
1139 mcs_map = le16_to_cpu(pc->he_mcs_nss_supp.rx_mcs_80p80); in mt7915_mcu_sta_bfer_he()
1140 nss_mcs = mt7915_mcu_get_sta_nss(mcs_map); in mt7915_mcu_sta_bfer_he()