Home
last modified time | relevance | path

Searched refs:mcs_map (Results 1 – 4 of 4) sorted by relevance

/drivers/net/wireless/mwifiex/
D11ac.c56 u8 bands, u16 mcs_map) in mwifiex_convert_mcsmap_to_maxrate() argument
71 mcs = GET_VHTNSSMCS(mcs_map, i); in mwifiex_convert_mcsmap_to_maxrate()
75 mcs = GET_VHTNSSMCS(mcs_map, nss); in mwifiex_convert_mcsmap_to_maxrate()
/drivers/net/wireless/realtek/rtlwifi/
Dbase.c249 u16 mcs_map; in _rtl_init_hw_vht_capab() local
267 mcs_map = IEEE80211_VHT_MCS_SUPPORT_0_9 << 0 | in _rtl_init_hw_vht_capab()
276 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in _rtl_init_hw_vht_capab()
279 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in _rtl_init_hw_vht_capab()
283 u16 mcs_map; in _rtl_init_hw_vht_capab() local
301 mcs_map = IEEE80211_VHT_MCS_SUPPORT_0_9 << 0 | in _rtl_init_hw_vht_capab()
310 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in _rtl_init_hw_vht_capab()
313 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in _rtl_init_hw_vht_capab()
/drivers/net/wireless/ath/ath10k/
Dmac.c123 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()
[all …]
/drivers/net/wireless/brcm80211/brcmfmac/
Dcfg80211.c5651 u16 mcs_map; in brcmf_get_mcs_map() local
5654 for (i = 0, mcs_map = 0xFFFF; i < nchain; i++) in brcmf_get_mcs_map()
5655 mcs_map = (mcs_map << 2) | supp; in brcmf_get_mcs_map()
5657 return cpu_to_le16(mcs_map); in brcmf_get_mcs_map()
5663 __le16 mcs_map; in brcmf_update_vht_cap() local
5677 mcs_map = brcmf_get_mcs_map(nchain, IEEE80211_VHT_MCS_SUPPORT_0_9); in brcmf_update_vht_cap()
5678 band->vht_cap.vht_mcs.rx_mcs_map = mcs_map; in brcmf_update_vht_cap()
5679 band->vht_cap.vht_mcs.tx_mcs_map = mcs_map; in brcmf_update_vht_cap()