Lines Matching refs:mcs_map
177 static int ath10k_mac_get_max_vht_mcs_map(u16 mcs_map, int nss) in ath10k_mac_get_max_vht_mcs_map() argument
179 switch ((mcs_map >> (2 * nss)) & 0x3) { in ath10k_mac_get_max_vht_mcs_map()
2482 u16 mcs_map; in ath10k_peer_assoc_h_vht_limit() local
2486 mcs_map = ath10k_mac_get_max_vht_mcs_map(tx_mcs_set, nss) & in ath10k_peer_assoc_h_vht_limit()
2489 if (mcs_map) in ath10k_peer_assoc_h_vht_limit()
2490 idx_limit = fls(mcs_map) - 1; in ath10k_peer_assoc_h_vht_limit()
4867 u16 mcs_map; in ath10k_create_vht_cap() local
4892 mcs_map = 0; in ath10k_create_vht_cap()
4895 mcs_map |= IEEE80211_VHT_MCS_SUPPORT_0_9 << (i * 2); in ath10k_create_vht_cap()
4897 mcs_map |= IEEE80211_VHT_MCS_NOT_SUPPORTED << (i * 2); in ath10k_create_vht_cap()
4903 vht_cap.vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in ath10k_create_vht_cap()
4904 vht_cap.vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in ath10k_create_vht_cap()