Lines Matching refs:mcs_map
123 static int ath10k_mac_get_max_vht_mcs_map(u16 mcs_map, int nss) in ath10k_mac_get_max_vht_mcs_map() argument
125 switch ((mcs_map >> (2 * nss)) & 0x3) { in ath10k_mac_get_max_vht_mcs_map()
2289 u16 mcs_map; in ath10k_peer_assoc_h_vht_limit() local
2293 mcs_map = ath10k_mac_get_max_vht_mcs_map(tx_mcs_set, nss) & in ath10k_peer_assoc_h_vht_limit()
2296 if (mcs_map) in ath10k_peer_assoc_h_vht_limit()
2297 idx_limit = fls(mcs_map) - 1; in ath10k_peer_assoc_h_vht_limit()
3830 u16 mcs_map; in ath10k_create_vht_cap() local
3855 mcs_map = 0; in ath10k_create_vht_cap()
3858 mcs_map |= IEEE80211_VHT_MCS_SUPPORT_0_9 << (i * 2); in ath10k_create_vht_cap()
3860 mcs_map |= IEEE80211_VHT_MCS_NOT_SUPPORTED << (i * 2); in ath10k_create_vht_cap()
3863 vht_cap.vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in ath10k_create_vht_cap()
3864 vht_cap.vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in ath10k_create_vht_cap()