Searched refs:mcs_map (Results 1 – 7 of 7) sorted by relevance
/drivers/net/wireless/mediatek/mt76/mt76x0/ |
D | init.c | 18 u16 mcs_map = 0; in mt76x0_vht_cap_mask() local 24 mcs_map |= (IEEE80211_VHT_MCS_SUPPORT_0_7 << (i * 2)); in mt76x0_vht_cap_mask() 26 mcs_map |= in mt76x0_vht_cap_mask() 29 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in mt76x0_vht_cap_mask() 30 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in mt76x0_vht_cap_mask()
|
/drivers/net/wireless/realtek/rtw88/ |
D | main.c | 406 u16 mcs_map = le16_to_cpu(sta->vht_cap.vht_mcs.rx_mcs_map); in get_vht_ra_mask() local 411 for (i = 0, nss = 12; i < 4; i++, mcs_map >>= 2, nss += 10) { in get_vht_ra_mask() 412 vht_mcs_cap = mcs_map & 0x3; in get_vht_ra_mask() 801 u16 mcs_map; in rtw_init_vht_cap() local 817 mcs_map = IEEE80211_VHT_MCS_SUPPORT_0_9 << 0 | in rtw_init_vht_cap() 826 mcs_map |= IEEE80211_VHT_MCS_SUPPORT_0_9 << 2; in rtw_init_vht_cap() 829 mcs_map |= IEEE80211_VHT_MCS_NOT_SUPPORTED << 2; in rtw_init_vht_cap() 832 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in rtw_init_vht_cap() 833 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in rtw_init_vht_cap()
|
/drivers/net/wireless/marvell/mwifiex/ |
D | 11ac.c | 56 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/mediatek/mt76/ |
D | mac80211.c | 118 u16 mcs_map = 0; in mt76_init_stream_cap() local 139 mcs_map |= (IEEE80211_VHT_MCS_SUPPORT_0_9 << (i * 2)); in mt76_init_stream_cap() 141 mcs_map |= in mt76_init_stream_cap() 144 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in mt76_init_stream_cap() 145 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in mt76_init_stream_cap()
|
/drivers/net/wireless/realtek/rtlwifi/ |
D | base.c | 230 u16 mcs_map; in _rtl_init_hw_vht_capab() local 246 mcs_map = IEEE80211_VHT_MCS_SUPPORT_0_9 << 0 | in _rtl_init_hw_vht_capab() 255 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in _rtl_init_hw_vht_capab() 258 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in _rtl_init_hw_vht_capab() 262 u16 mcs_map; in _rtl_init_hw_vht_capab() local 278 mcs_map = IEEE80211_VHT_MCS_SUPPORT_0_9 << 0 | in _rtl_init_hw_vht_capab() 287 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in _rtl_init_hw_vht_capab() 290 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in _rtl_init_hw_vht_capab()
|
/drivers/net/wireless/ath/ath10k/ |
D | mac.c | 165 static int ath10k_mac_get_max_vht_mcs_map(u16 mcs_map, int nss) in ath10k_mac_get_max_vht_mcs_map() argument 167 switch ((mcs_map >> (2 * nss)) & 0x3) { in ath10k_mac_get_max_vht_mcs_map() 2461 u16 mcs_map; in ath10k_peer_assoc_h_vht_limit() local 2465 mcs_map = ath10k_mac_get_max_vht_mcs_map(tx_mcs_set, nss) & in ath10k_peer_assoc_h_vht_limit() 2468 if (mcs_map) in ath10k_peer_assoc_h_vht_limit() 2469 idx_limit = fls(mcs_map) - 1; in ath10k_peer_assoc_h_vht_limit() 4531 u16 mcs_map; in ath10k_create_vht_cap() local 4563 mcs_map = 0; in ath10k_create_vht_cap() 4566 mcs_map |= IEEE80211_VHT_MCS_SUPPORT_0_9 << (i * 2); in ath10k_create_vht_cap() 4568 mcs_map |= IEEE80211_VHT_MCS_NOT_SUPPORTED << (i * 2); in ath10k_create_vht_cap() [all …]
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | cfg80211.c | 6282 u16 mcs_map; in brcmf_get_mcs_map() local 6285 for (i = 0, mcs_map = 0xFFFF; i < nchain; i++) in brcmf_get_mcs_map() 6286 mcs_map = (mcs_map << 2) | supp; in brcmf_get_mcs_map() 6288 return cpu_to_le16(mcs_map); in brcmf_get_mcs_map() 6295 __le16 mcs_map; in brcmf_update_vht_cap() local 6309 mcs_map = brcmf_get_mcs_map(nchain, IEEE80211_VHT_MCS_SUPPORT_0_9); in brcmf_update_vht_cap() 6310 band->vht_cap.vht_mcs.rx_mcs_map = mcs_map; in brcmf_update_vht_cap() 6311 band->vht_cap.vht_mcs.tx_mcs_map = mcs_map; in brcmf_update_vht_cap()
|