Lines Matching refs:mcs_map
2166 static int ath12k_mac_get_max_vht_mcs_map(u16 mcs_map, int nss) in ath12k_mac_get_max_vht_mcs_map() argument
2168 switch ((mcs_map >> (2 * nss)) & 0x3) { in ath12k_mac_get_max_vht_mcs_map()
2182 u16 mcs_map; in ath12k_peer_assoc_h_vht_limit() local
2186 mcs_map = ath12k_mac_get_max_vht_mcs_map(tx_mcs_set, nss) & in ath12k_peer_assoc_h_vht_limit()
2189 if (mcs_map) in ath12k_peer_assoc_h_vht_limit()
2190 idx_limit = fls(mcs_map) - 1; in ath12k_peer_assoc_h_vht_limit()
2396 static int ath12k_mac_get_max_he_mcs_map(u16 mcs_map, int nss) in ath12k_mac_get_max_he_mcs_map() argument
2398 switch ((mcs_map >> (2 * nss)) & 0x3) { in ath12k_mac_get_max_he_mcs_map()
2411 u16 mcs_map; in ath12k_peer_assoc_h_he_limit() local
2415 mcs_map = ath12k_mac_get_max_he_mcs_map(tx_mcs_set, nss) & in ath12k_peer_assoc_h_he_limit()
2418 if (mcs_map) in ath12k_peer_assoc_h_he_limit()
2419 idx_limit = fls(mcs_map) - 1; in ath12k_peer_assoc_h_he_limit()