Home
last modified time | relevance | path

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

/drivers/net/wireless/mediatek/mt76/mt7915/
Dinit.c978 struct ieee80211_he_mcs_nss_supp *he_mcs = in mt7915_init_he_caps() local
1081 memset(he_mcs, 0, sizeof(*he_mcs)); in mt7915_init_he_caps()
1082 he_mcs->rx_mcs_80 = cpu_to_le16(mcs_map); in mt7915_init_he_caps()
1083 he_mcs->tx_mcs_80 = cpu_to_le16(mcs_map); in mt7915_init_he_caps()
1084 he_mcs->rx_mcs_160 = cpu_to_le16(mcs_map_160); in mt7915_init_he_caps()
1085 he_mcs->tx_mcs_160 = cpu_to_le16(mcs_map_160); in mt7915_init_he_caps()
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()
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()
1424 __sta_phy_bitrate_mask_check(he_mcs, he_gi, 0, 1); in mt7915_mcu_add_rate_ctrl_fixed()
/drivers/net/wireless/mediatek/mt76/mt7996/
Dinit.c589 struct ieee80211_he_mcs_nss_supp *he_mcs = &he_cap->he_mcs_nss_supp; in mt7996_init_he_caps() local
677 he_mcs->rx_mcs_80 = cpu_to_le16(mcs_map); in mt7996_init_he_caps()
678 he_mcs->tx_mcs_80 = cpu_to_le16(mcs_map); in mt7996_init_he_caps()
679 he_mcs->rx_mcs_160 = cpu_to_le16(mcs_map); in mt7996_init_he_caps()
680 he_mcs->tx_mcs_160 = cpu_to_le16(mcs_map); in mt7996_init_he_caps()
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()
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()
/drivers/net/wireless/mediatek/mt76/mt7921/
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()
/drivers/net/wireless/ath/ath12k/
Dcore.h582 u32 he_mcs; member
601 u32 he_mcs; member
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()
1910 struct ath12k_wmi_he_rate_set_params *he_mcs; in ath12k_wmi_send_peer_assoc_cmd() local
1928 (sizeof(*he_mcs) * arg->peer_he_mcs_count) + in ath12k_wmi_send_peer_assoc_cmd()
2037 len = arg->peer_he_mcs_count * sizeof(*he_mcs); in ath12k_wmi_send_peer_assoc_cmd()
2045 he_mcs = ptr; in ath12k_wmi_send_peer_assoc_cmd()
2046 he_mcs->tlv_header = ath12k_wmi_tlv_cmd_hdr(WMI_TAG_HE_RATE_SET, in ath12k_wmi_send_peer_assoc_cmd()
2047 sizeof(*he_mcs)); in ath12k_wmi_send_peer_assoc_cmd()
[all …]
Dmac.c4479 mcs_nss->rx_mcs_80 = cpu_to_le16(band_cap->he_mcs & 0xffff); in ath12k_mac_copy_he_cap()
4480 mcs_nss->tx_mcs_80 = cpu_to_le16(band_cap->he_mcs & 0xffff); in ath12k_mac_copy_he_cap()
4481 mcs_nss->rx_mcs_160 = cpu_to_le16((band_cap->he_mcs >> 16) & 0xffff); in ath12k_mac_copy_he_cap()
4482 mcs_nss->tx_mcs_160 = cpu_to_le16((band_cap->he_mcs >> 16) & 0xffff); in ath12k_mac_copy_he_cap()
4483 mcs_nss->rx_mcs_80p80 = cpu_to_le16((band_cap->he_mcs >> 16) & 0xffff); in ath12k_mac_copy_he_cap()
4484 mcs_nss->tx_mcs_80p80 = cpu_to_le16((band_cap->he_mcs >> 16) & 0xffff); in ath12k_mac_copy_he_cap()
/drivers/net/wireless/ath/ath11k/
Dmac.c2262 u8 max_nss, he_mcs; in ath11k_peer_assoc_h_he() local
2278 memcpy(he_mcs_mask, arvif->bitrate_mask.control[band].he_mcs, in ath11k_peer_assoc_h_he()
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()
2761 he_mcs_mask = arvif->bitrate_mask.control[band].he_mcs; in ath11k_peer_assoc_h_phymode()
4376 for (i = 0; i < ARRAY_SIZE(mask->control[band].he_mcs); i++) in ath11k_mac_bitrate_mask_num_he_rates()
4377 num_rates += hweight16(mask->control[band].he_mcs[i]); in ath11k_mac_bitrate_mask_num_he_rates()
4447 for (i = 0; i < ARRAY_SIZE(mask->control[band].he_mcs); i++) { in ath11k_mac_set_peer_he_fixed_rate()
4448 if (hweight16(mask->control[band].he_mcs[i]) == 1) { in ath11k_mac_set_peer_he_fixed_rate()
4450 he_rate = ffs(mask->control[band].he_mcs[i]) - 1; in ath11k_mac_set_peer_he_fixed_rate()
[all …]
Dcore.h747 u32 he_mcs; member
758 u32 he_mcs; member
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 …]
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwil_types.h696 __le16 he_mcs[BRCMF_HE_CAP_MCS_MAP_NSS_MAX]; /* supported he mcs index bit map per nss */ member
/drivers/net/wireless/mediatek/mt76/
Dmt76_connac_mac.c315 __bitrate_mask_check(he_mcs, HE_SU); in mt76_connac2_mac_tx_rate_val()
/drivers/net/wireless/realtek/rtw89/
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()