Home
last modified time | relevance | path

Searched refs:he_mcs (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dinit.c981 struct ieee80211_he_mcs_nss_supp *he_mcs = in mt7915_init_he_caps() local
1084 memset(he_mcs, 0, sizeof(*he_mcs)); in mt7915_init_he_caps()
1085 he_mcs->rx_mcs_80 = cpu_to_le16(mcs_map); in mt7915_init_he_caps()
1086 he_mcs->tx_mcs_80 = cpu_to_le16(mcs_map); in mt7915_init_he_caps()
1087 he_mcs->rx_mcs_160 = cpu_to_le16(mcs_map_160); in mt7915_init_he_caps()
1088 he_mcs->tx_mcs_160 = cpu_to_le16(mcs_map_160); in mt7915_init_he_caps()
H A Dmain.c199 memset(mvif->bitrate_mask.control[i].he_mcs, 0xff, in mt7915_init_bitrate_mask()
200 sizeof(mvif->bitrate_mask.control[i].he_mcs)); in mt7915_init_bitrate_mask()
H A Dmcu.c58 mt7915_mcu_set_sta_he_mcs(struct ieee80211_sta *sta, __le16 *he_mcs, in mt7915_mcu_set_sta_he_mcs() argument
64 const u16 *mask = msta->vif->bitrate_mask.control[band].he_mcs; in mt7915_mcu_set_sta_he_mcs()
109 *he_mcs = cpu_to_le16(mcs_map); in mt7915_mcu_set_sta_he_mcs()
1428 __sta_phy_bitrate_mask_check(he_mcs, he_gi, 0, 1); in mt7915_mcu_add_rate_ctrl_fixed()
/openbmc/linux/net/mac80211/
H A Dhe.c58 static void ieee80211_he_mcs_disable(__le16 *he_mcs) in ieee80211_he_mcs_disable() argument
63 *he_mcs |= cpu_to_le16(IEEE80211_HE_MCS_NOT_SUPPORTED << i * 2); in ieee80211_he_mcs_disable()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dinit.c592 struct ieee80211_he_mcs_nss_supp *he_mcs = &he_cap->he_mcs_nss_supp; in mt7996_init_he_caps() local
680 he_mcs->rx_mcs_80 = cpu_to_le16(mcs_map); in mt7996_init_he_caps()
681 he_mcs->tx_mcs_80 = cpu_to_le16(mcs_map); in mt7996_init_he_caps()
682 he_mcs->rx_mcs_160 = cpu_to_le16(mcs_map); in mt7996_init_he_caps()
683 he_mcs->tx_mcs_160 = cpu_to_le16(mcs_map); in mt7996_init_he_caps()
H A Dmain.c158 memset(mvif->bitrate_mask.control[i].he_mcs, 0xff, in mt7996_init_bitrate_mask()
159 sizeof(mvif->bitrate_mask.control[i].he_mcs)); in mt7996_init_bitrate_mask()
H A Dmcu.c95 mt7996_mcu_set_sta_he_mcs(struct ieee80211_sta *sta, __le16 *he_mcs, in mt7996_mcu_set_sta_he_mcs() argument
100 const u16 *mask = msta->vif->bitrate_mask.control[band].he_mcs; in mt7996_mcu_set_sta_he_mcs()
140 *he_mcs = cpu_to_le16(mcs_map); in mt7996_mcu_set_sta_he_mcs()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmain.c31 struct ieee80211_he_mcs_nss_supp *he_mcs = in mt7921_init_he_caps() local
140 he_mcs->rx_mcs_80 = cpu_to_le16(mcs_map); in mt7921_init_he_caps()
141 he_mcs->tx_mcs_80 = cpu_to_le16(mcs_map); in mt7921_init_he_caps()
143 he_mcs->rx_mcs_160 = cpu_to_le16(mcs_map); in mt7921_init_he_caps()
144 he_mcs->tx_mcs_160 = cpu_to_le16(mcs_map); in mt7921_init_he_caps()
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dcore.h582 u32 he_mcs; member
601 u32 he_mcs; member
H A Dwmi.c514 pdev_cap->he_mcs = le32_to_cpu(mac_caps->he_supp_mcs_5g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
541 cap_band->he_mcs = le32_to_cpu(mac_caps->he_supp_mcs_2g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
562 cap_band->he_mcs = le32_to_cpu(mac_caps->he_supp_mcs_5g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
580 cap_band->he_mcs = le32_to_cpu(mac_caps->he_supp_mcs_5g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
1911 struct ath12k_wmi_he_rate_set_params *he_mcs; in ath12k_wmi_send_peer_assoc_cmd() local
1929 (sizeof(*he_mcs) * arg->peer_he_mcs_count) + in ath12k_wmi_send_peer_assoc_cmd()
2038 len = arg->peer_he_mcs_count * sizeof(*he_mcs); in ath12k_wmi_send_peer_assoc_cmd()
2046 he_mcs = ptr; in ath12k_wmi_send_peer_assoc_cmd()
2048 sizeof(*he_mcs)); in ath12k_wmi_send_peer_assoc_cmd()
2050 he_mcs->rx_mcs_set = cpu_to_le32(arg->peer_he_rx_mcs_set[i]); in ath12k_wmi_send_peer_assoc_cmd()
[all …]
H A Dmac.c4485 mcs_nss->rx_mcs_80 = cpu_to_le16(band_cap->he_mcs & 0xffff); in ath12k_mac_copy_he_cap()
4486 mcs_nss->tx_mcs_80 = cpu_to_le16(band_cap->he_mcs & 0xffff); in ath12k_mac_copy_he_cap()
4487 mcs_nss->rx_mcs_160 = cpu_to_le16((band_cap->he_mcs >> 16) & 0xffff); in ath12k_mac_copy_he_cap()
4488 mcs_nss->tx_mcs_160 = cpu_to_le16((band_cap->he_mcs >> 16) & 0xffff); in ath12k_mac_copy_he_cap()
4489 mcs_nss->rx_mcs_80p80 = cpu_to_le16((band_cap->he_mcs >> 16) & 0xffff); in ath12k_mac_copy_he_cap()
4490 mcs_nss->tx_mcs_80p80 = cpu_to_le16((band_cap->he_mcs >> 16) & 0xffff); in ath12k_mac_copy_he_cap()
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dmac.c2262 u8 max_nss, he_mcs; in ath11k_peer_assoc_h_he() local
2459 he_mcs = he_tx_mcs >> (2 * i) & 3; in ath11k_peer_assoc_h_he()
2465 if (he_mcs != IEEE80211_HE_MCS_NOT_SUPPORTED || in ath11k_peer_assoc_h_he()
4450 he_rate = ffs(mask->control[band].he_mcs[i]) - 1; in ath11k_mac_set_peer_he_fixed_rate()
7957 if (mask->control[band].he_mcs[i] == 0) in ath11k_mac_bitrate_mask_get_single_nss()
7960 if (mask->control[band].he_mcs[i] == in ath11k_mac_bitrate_mask_get_single_nss()
8208 u16 he_mcs; in ath11k_mac_he_mcs_range_present() local
8211 he_mcs = mask->control[band].he_mcs[i]; in ath11k_mac_he_mcs_range_present()
8213 switch (he_mcs) { in ath11k_mac_he_mcs_range_present()
8270 he_mcs_mask = mask->control[band].he_mcs; in ath11k_mac_validate_vht_he_fixed_rate_settings()
[all …]
H A Dcore.h747 u32 he_mcs; member
758 u32 he_mcs; member
H A Dwmi.c416 pdev_cap->he_mcs = mac_phy_caps->he_supp_mcs_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
445 cap_band->he_mcs = mac_phy_caps->he_supp_mcs_2g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
459 cap_band->he_mcs = mac_phy_caps->he_supp_mcs_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
470 cap_band->he_mcs = mac_phy_caps->he_supp_mcs_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
1920 struct wmi_he_rate_set *he_mcs; in ath11k_wmi_send_peer_assoc_cmd() local
1937 (sizeof(*he_mcs) * param->peer_he_mcs_count); in ath11k_wmi_send_peer_assoc_cmd()
2032 len = param->peer_he_mcs_count * sizeof(*he_mcs); in ath11k_wmi_send_peer_assoc_cmd()
2041 he_mcs = ptr; in ath11k_wmi_send_peer_assoc_cmd()
2042 he_mcs->tlv_header = FIELD_PREP(WMI_TLV_TAG, in ath11k_wmi_send_peer_assoc_cmd()
2045 sizeof(*he_mcs) - TLV_HDR_SIZE); in ath11k_wmi_send_peer_assoc_cmd()
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfwil_types.h696 __le16 he_mcs[BRCMF_HE_CAP_MCS_MAP_NSS_MAX]; /* supported he mcs index bit map per nss */ member
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mac.c315 __bitrate_mask_check(he_mcs, HE_SU); in mt76_connac2_mac_tx_rate_val()
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dphy.c169 cfg_mask |= u64_encode_bits(mask->control[band].he_mcs[0], in rtw89_phy_ra_mask_cfg()
171 cfg_mask |= u64_encode_bits(mask->control[band].he_mcs[1], in rtw89_phy_ra_mask_cfg()
490 mask->control[nl_band].he_mcs[i], in rtw89_phy_rate_pattern_vif()
/openbmc/linux/include/net/
H A Dcfg80211.h768 u16 he_mcs[NL80211_HE_NSS_MAX]; member
/openbmc/linux/net/wireless/
H A Dnl80211.c5208 he_build_mcs_mask(he_tx_mcs_map, mask->control[i].he_mcs); in nl80211_parse_tx_bitrate_mask()
5272 mask->control[band].he_mcs, in nl80211_parse_tx_bitrate_mask()
5301 if (mask->control[band].he_mcs[i]) in nl80211_parse_tx_bitrate_mask()
5352 if (hweight16(beacon_rate->control[band].he_mcs[i]) > 1) { in validate_beacon_tx_rate()
5354 } else if (beacon_rate->control[band].he_mcs[i]) { in validate_beacon_tx_rate()