Searched refs:mcs_map (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/net/wireless/mwifiex/
H A D11ac.c56 u8 bands, u16 mcs_map) mwifiex_convert_mcsmap_to_maxrate()
71 mcs = GET_VHTNSSMCS(mcs_map, i); mwifiex_convert_mcsmap_to_maxrate()
75 mcs = GET_VHTNSSMCS(mcs_map, nss); mwifiex_convert_mcsmap_to_maxrate()
55 mwifiex_convert_mcsmap_to_maxrate(struct mwifiex_private *priv, u8 bands, u16 mcs_map) mwifiex_convert_mcsmap_to_maxrate() argument
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
H A Dbase.c249 u16 mcs_map; _rtl_init_hw_vht_capab() local
267 mcs_map = IEEE80211_VHT_MCS_SUPPORT_0_9 << 0 | _rtl_init_hw_vht_capab()
276 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); _rtl_init_hw_vht_capab()
279 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); _rtl_init_hw_vht_capab()
283 u16 mcs_map; _rtl_init_hw_vht_capab() local
301 mcs_map = IEEE80211_VHT_MCS_SUPPORT_0_9 << 0 | _rtl_init_hw_vht_capab()
310 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); _rtl_init_hw_vht_capab()
313 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); _rtl_init_hw_vht_capab()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
H A Dmac.c123 static int ath10k_mac_get_max_vht_mcs_map(u16 mcs_map, int nss) ath10k_mac_get_max_vht_mcs_map() argument
125 switch ((mcs_map >> (2 * nss)) & 0x3) { ath10k_mac_get_max_vht_mcs_map()
2255 u16 mcs_map; ath10k_peer_assoc_h_vht_limit() local
2259 mcs_map = ath10k_mac_get_max_vht_mcs_map(tx_mcs_set, nss) & ath10k_peer_assoc_h_vht_limit()
2262 if (mcs_map) ath10k_peer_assoc_h_vht_limit()
2263 idx_limit = fls(mcs_map) - 1; ath10k_peer_assoc_h_vht_limit()
3796 u16 mcs_map; ath10k_create_vht_cap() local
3821 mcs_map = 0; ath10k_create_vht_cap()
3824 mcs_map |= IEEE80211_VHT_MCS_SUPPORT_0_9 << (i * 2); ath10k_create_vht_cap()
3826 mcs_map |= IEEE80211_VHT_MCS_NOT_SUPPORTED << (i * 2); ath10k_create_vht_cap()
3829 vht_cap.vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); ath10k_create_vht_cap()
3830 vht_cap.vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); ath10k_create_vht_cap()
/linux-4.4.14/net/mac80211/
H A Drc80211_minstrel_ht.c232 minstrel_get_valid_vht_rates(int bw, int nss, __le16 mcs_map) minstrel_get_valid_vht_rates() argument
248 switch ((le16_to_cpu(mcs_map) >> (2 * (nss - 1))) & 3) { minstrel_get_valid_vht_rates()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
H A Dcfg80211.c5612 u16 mcs_map; brcmf_get_mcs_map() local
5615 for (i = 0, mcs_map = 0xFFFF; i < nchain; i++) brcmf_get_mcs_map()
5616 mcs_map = (mcs_map << 2) | supp; brcmf_get_mcs_map()
5618 return cpu_to_le16(mcs_map); brcmf_get_mcs_map()
5624 __le16 mcs_map; brcmf_update_vht_cap() local
5638 mcs_map = brcmf_get_mcs_map(nchain, IEEE80211_VHT_MCS_SUPPORT_0_9); brcmf_update_vht_cap()
5639 band->vht_cap.vht_mcs.rx_mcs_map = mcs_map; brcmf_update_vht_cap()
5640 band->vht_cap.vht_mcs.tx_mcs_map = mcs_map; brcmf_update_vht_cap()

Completed in 319 milliseconds