Home
last modified time | relevance | path

Searched refs:vht_mcs (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.1.9/net/mac80211/
Dvht.c81 rxmcs_cap = le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ieee80211_apply_vhtcap_overrides()
87 txmcs_cap = le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map); in ieee80211_apply_vhtcap_overrides()
111 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(rxmcs_cap); in ieee80211_apply_vhtcap_overrides()
112 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(txmcs_cap); in ieee80211_apply_vhtcap_overrides()
229 memcpy(&vht_cap->vht_mcs, &vht_cap_ie->supp_mcs, in ieee80211_vht_cap_ie_to_sta_vht_cap()
236 vht_cap->vht_mcs.tx_highest &= in ieee80211_vht_cap_ie_to_sta_vht_cap()
243 own_rx = le16_to_cpu(own_cap.vht_mcs.rx_mcs_map); in ieee80211_vht_cap_ie_to_sta_vht_cap()
246 own_tx = le16_to_cpu(own_cap.vht_mcs.tx_mcs_map); in ieee80211_vht_cap_ie_to_sta_vht_cap()
249 peer_rx = le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ieee80211_vht_cap_ie_to_sta_vht_cap()
252 peer_tx = le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map); in ieee80211_vht_cap_ie_to_sta_vht_cap()
[all …]
Ddebugfs_sta.c624 le16_to_cpu(vhtc->vht_mcs.rx_mcs_map)); in sta_vht_capa_read()
625 if (vhtc->vht_mcs.rx_highest) in sta_vht_capa_read()
628 le16_to_cpu(vhtc->vht_mcs.rx_highest)); in sta_vht_capa_read()
630 le16_to_cpu(vhtc->vht_mcs.tx_mcs_map)); in sta_vht_capa_read()
631 if (vhtc->vht_mcs.tx_highest) in sta_vht_capa_read()
634 le16_to_cpu(vhtc->vht_mcs.tx_highest)); in sta_vht_capa_read()
Dmain.c1359 ie_cap = !!(sband->vht_cap.vht_mcs.tx_highest & in ieee80211_register_hw()
1374 sband->vht_cap.vht_mcs.tx_highest ^= in ieee80211_register_hw()
Drc80211_minstrel_ht.c1719 use_vht = vht_cap->vht_mcs.tx_mcs_map != cpu_to_le16(~0); in minstrel_ht_update_caps()
1821 vht_cap->vht_mcs.tx_mcs_map); in minstrel_ht_update_caps()
Drate.c796 sta_vht_cap = sta->deflink.vht_cap.vht_mcs.rx_mcs_map; in rate_control_cap_mask()
Dtx.c2126 u8 vht_mcs = 0, vht_nss = 0; in ieee80211_parse_tx_radiotap() local
2251 vht_mcs = iterator.this_arg[4] >> 4; in ieee80211_parse_tx_radiotap()
2252 if (vht_mcs > 11) in ieee80211_parse_tx_radiotap()
2253 vht_mcs = 0; in ieee80211_parse_tx_radiotap()
2288 ieee80211_rate_set_vht(info->control.rates, vht_mcs, in ieee80211_parse_tx_radiotap()
/linux-6.1.9/drivers/net/wireless/ath/wcn36xx/
Dmain.c760 sta->deflink.vht_cap.vht_mcs.rx_mcs_map; in wcn36xx_update_allowed_rates()
762 sta->deflink.vht_cap.vht_mcs.tx_mcs_map; in wcn36xx_update_allowed_rates()
1397 vht_cap->vht_mcs.rx_mcs_map = in wcn36xx_set_ieee80211_vht_caps()
1407 vht_cap->vht_mcs.rx_highest = cpu_to_le16(433); in wcn36xx_set_ieee80211_vht_caps()
1408 vht_cap->vht_mcs.tx_highest = vht_cap->vht_mcs.rx_highest; in wcn36xx_set_ieee80211_vht_caps()
1410 vht_cap->vht_mcs.tx_mcs_map = vht_cap->vht_mcs.rx_mcs_map; in wcn36xx_set_ieee80211_vht_caps()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/
Dbase.c255 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in _rtl_init_hw_vht_capab()
256 vht_cap->vht_mcs.rx_highest = 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()
259 vht_cap->vht_mcs.tx_highest = 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()
288 vht_cap->vht_mcs.rx_highest = 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()
291 vht_cap->vht_mcs.tx_highest = in _rtl_init_hw_vht_capab()
908 u16 tx_mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.tx_mcs_map); in _rtl_get_vht_highest_n_rate()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dmac.c1888 u8 max_nss, vht_mcs; in ath11k_peer_assoc_h_vht() local
1900 vht_mcs_mask = arvif->bitrate_mask.control[band].vht_mcs; in ath11k_peer_assoc_h_vht()
1956 vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >> in ath11k_peer_assoc_h_vht()
1959 if (vht_mcs != IEEE80211_VHT_MCS_NOT_SUPPORTED && in ath11k_peer_assoc_h_vht()
1964 arg->rx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.rx_highest); in ath11k_peer_assoc_h_vht()
1965 arg->rx_mcs_set = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ath11k_peer_assoc_h_vht()
1966 arg->tx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.tx_highest); in ath11k_peer_assoc_h_vht()
1968 __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map), vht_mcs_mask); in ath11k_peer_assoc_h_vht()
2579 vht_mcs_mask = arvif->bitrate_mask.control[band].vht_mcs; in ath11k_peer_assoc_h_phymode()
3970 for (i = 0; i < ARRAY_SIZE(mask->control[band].vht_mcs); i++) in ath11k_mac_bitrate_mask_num_vht_rates()
[all …]
Dcore.h743 u32 vht_mcs; member
/linux-6.1.9/drivers/net/wireless/ath/ath10k/
Dmac.c2326 vht_mcs_mask = arvif->bitrate_mask.control[band].vht_mcs; in ath10k_peer_assoc_h_ht()
2563 u8 max_nss, vht_mcs; in ath10k_peer_assoc_h_vht() local
2573 vht_mcs_mask = arvif->bitrate_mask.control[band].vht_mcs; in ath10k_peer_assoc_h_vht()
2607 for (i = 0, max_nss = 0, vht_mcs = 0; i < NL80211_VHT_NSS_MAX; i++) { in ath10k_peer_assoc_h_vht()
2608 vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >> in ath10k_peer_assoc_h_vht()
2611 if ((vht_mcs != IEEE80211_VHT_MCS_NOT_SUPPORTED) && in ath10k_peer_assoc_h_vht()
2617 __le16_to_cpu(vht_cap->vht_mcs.rx_highest); in ath10k_peer_assoc_h_vht()
2619 __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ath10k_peer_assoc_h_vht()
2621 __le16_to_cpu(vht_cap->vht_mcs.tx_highest); in ath10k_peer_assoc_h_vht()
2623 __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map), vht_mcs_mask); in ath10k_peer_assoc_h_vht()
[all …]
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwil_types.h614 __le16 vht_mcs[BRCMF_VHT_CAP_MCS_MAP_NSS_MAX]; /* supported mcs index bit map per nss */ member
628 __le16 vht_mcs[BRCMF_VHT_CAP_MCS_MAP_NSS_MAX]; /* supported mcs index bit map per nss */ member
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/
Diwl-nvm-parse.c515 vht_cap->vht_mcs.rx_mcs_map = in iwl_init_vht_hw_capab()
528 vht_cap->vht_mcs.rx_mcs_map |= in iwl_init_vht_hw_capab()
532 vht_cap->vht_mcs.tx_mcs_map = vht_cap->vht_mcs.rx_mcs_map; in iwl_init_vht_hw_capab()
534 vht_cap->vht_mcs.tx_highest |= in iwl_init_vht_hw_capab()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Drs-fw.c113 u16 rx_mcs = le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) & in rs_fw_vht_highest_rx_mcs_index()
142 .supp_mcs = vht_cap->vht_mcs, in rs_fw_vht_set_enabled_rates()
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/
Dmain.c947 u16 mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map); in get_vht_ra_mask()
1136 cfg_mask |= u64_encode_bits(mask->control[band].vht_mcs[0], in rtw_rate_mask_cfg()
1139 cfg_mask |= u64_encode_bits(mask->control[band].vht_mcs[1], in rtw_rate_mask_cfg()
1578 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in rtw_init_vht_cap()
1579 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in rtw_init_vht_cap()
1580 vht_cap->vht_mcs.rx_highest = highest; in rtw_init_vht_cap()
1581 vht_cap->vht_mcs.tx_highest = highest; in rtw_init_vht_cap()
Dtx.c113 tx_mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.tx_mcs_map); in get_highest_vht_tx_rate()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.c106 mt7915_mcu_set_sta_vht_mcs(struct ieee80211_sta *sta, __le16 *vht_mcs, in mt7915_mcu_set_sta_vht_mcs() argument
111 u16 mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map); in mt7915_mcu_set_sta_vht_mcs()
130 vht_mcs[nss] = cpu_to_le16(mcs & mask[nss]); in mt7915_mcu_set_sta_vht_mcs()
912 vht->vht_rx_mcs_map = sta->deflink.vht_cap.vht_mcs.rx_mcs_map; in mt7915_mcu_sta_vht_tlv()
913 vht->vht_tx_mcs_map = sta->deflink.vht_cap.vht_mcs.tx_mcs_map; in mt7915_mcu_sta_vht_tlv()
1065 u16 mcs_map = le16_to_cpu(pc->vht_mcs.rx_mcs_map); in mt7915_mcu_sta_bfer_vht()
1384 __sta_phy_bitrate_mask_check(vht_mcs, gi, 0, 0); in mt7915_mcu_add_rate_ctrl_fixed()
1529 mask->control[band].vht_mcs); in mt7915_mcu_sta_rate_ctrl_tlv()
Dmain.c174 memset(mvif->bitrate_mask.control[i].vht_mcs, 0xff, in mt7915_init_bitrate_mask()
175 sizeof(mvif->bitrate_mask.control[i].vht_mcs)); in mt7915_init_bitrate_mask()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Dmac80211.c268 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in mt76_init_stream_cap()
269 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in mt76_init_stream_cap()
271 vht_cap->vht_mcs.tx_highest |= in mt76_init_stream_cap()
Dmt76_connac_mac.c293 } else if (hweight16(mask->control[band].vht_mcs[0]) == 1) { in mt76_connac2_mac_tx_rate_val()
294 rateidx = ffs(mask->control[band].vht_mcs[0]) - 1; in mt76_connac2_mac_tx_rate_val()
/linux-6.1.9/drivers/net/wireless/
Dvirt_wifi.c129 .vht_mcs = {
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c1785 bitmap_rates[10] = mask->control[band].vht_mcs[0]; in mwifiex_cfg80211_set_bitrate_mask()
1787 bitmap_rates[11] = mask->control[band].vht_mcs[1]; in mwifiex_cfg80211_set_bitrate_mask()
2853 vht_info->vht_mcs.rx_mcs_map = cpu_to_le16( in mwifiex_setup_vht_caps()
2855 vht_info->vht_mcs.rx_highest = 0; in mwifiex_setup_vht_caps()
2856 vht_info->vht_mcs.tx_mcs_map = cpu_to_le16( in mwifiex_setup_vht_caps()
2858 vht_info->vht_mcs.tx_highest = 0; in mwifiex_setup_vht_caps()
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/
Dcore.c2697 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(rx_mcs_map); in rtw89_init_vht_cap()
2698 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(tx_mcs_map); in rtw89_init_vht_cap()
2699 vht_cap->vht_mcs.rx_highest = highest[hal->rx_nss - 1]; in rtw89_init_vht_cap()
2700 vht_cap->vht_mcs.tx_highest = highest[hal->tx_nss - 1]; in rtw89_init_vht_cap()
Dphy.c172 cfg_mask |= u64_encode_bits(mask->control[band].vht_mcs[0], in rtw89_phy_ra_mask_cfg()
174 cfg_mask |= u64_encode_bits(mask->control[band].vht_mcs[1], in rtw89_phy_ra_mask_cfg()
268 u16 mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map); in rtw89_phy_ra_sta_update()
479 mask->control[nl_band].vht_mcs[i], in rtw89_phy_rate_pattern_vif()
/linux-6.1.9/net/wireless/
Dchan.c1060 ext_nss_cap = __le16_to_cpu(vht_cap->vht_mcs.tx_highest) & in cfg80211_chandef_usable()

12