Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ath/ath11k/
H A Dmac.c2357 u8 max_nss, he_mcs; in ath11k_peer_assoc_h_he() local
2373 memcpy(he_mcs_mask, arvif->bitrate_mask.control[band].he_mcs, in ath11k_peer_assoc_h_he()
2554 he_mcs = he_tx_mcs >> (2 * i) & 3; in ath11k_peer_assoc_h_he()
2560 if (he_mcs != IEEE80211_HE_MCS_NOT_SUPPORTED || in ath11k_peer_assoc_h_he()
2856 he_mcs_mask = arvif->bitrate_mask.control[band].he_mcs; in ath11k_peer_assoc_h_phymode()
4707 for (i = 0; i < ARRAY_SIZE(mask->control[band].he_mcs); i++) in ath11k_mac_bitrate_mask_num_he_rates()
4708 num_rates += hweight16(mask->control[band].he_mcs[i]); in ath11k_mac_bitrate_mask_num_he_rates()
4778 for (i = 0; i < ARRAY_SIZE(mask->control[band].he_mcs); i++) { in ath11k_mac_set_peer_he_fixed_rate()
4779 if (hweight16(mask->control[band].he_mcs[i]) == 1) { in ath11k_mac_set_peer_he_fixed_rate()
4781 he_rate = ffs(mask->control[band].he_mcs[i]) - 1; in ath11k_mac_set_peer_he_fixed_rate()
[all …]
H A Dwmi.c421 pdev_cap->he_mcs = mac_phy_caps->he_supp_mcs_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
450 cap_band->he_mcs = mac_phy_caps->he_supp_mcs_2g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
464 cap_band->he_mcs = mac_phy_caps->he_supp_mcs_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
475 cap_band->he_mcs = mac_phy_caps->he_supp_mcs_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
1976 struct wmi_he_rate_set *he_mcs; in ath11k_wmi_send_peer_assoc_cmd() local
1993 (sizeof(*he_mcs) * param->peer_he_mcs_count); in ath11k_wmi_send_peer_assoc_cmd()
2091 len = param->peer_he_mcs_count * sizeof(*he_mcs); in ath11k_wmi_send_peer_assoc_cmd()
2100 he_mcs = ptr; in ath11k_wmi_send_peer_assoc_cmd()
2101 he_mcs->tlv_header = FIELD_PREP(WMI_TLV_TAG, in ath11k_wmi_send_peer_assoc_cmd()
2104 sizeof(*he_mcs) - TLV_HDR_SIZE); in ath11k_wmi_send_peer_assoc_cmd()
[all …]
/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.c2592 u8 he_mcs; in ath12k_peer_assoc_h_he() local
2620 he_mcs_mask = arvif->bitrate_mask.control[band].he_mcs; in ath12k_peer_assoc_h_he()
2780 for (i = 0, max_nss = 0, he_mcs = 0; i < NL80211_HE_NSS_MAX; i++) { in ath12k_peer_assoc_h_he()
2781 he_mcs = he_tx_mcs >> (2 * i) & 3; in ath12k_peer_assoc_h_he()
2787 if (he_mcs != IEEE80211_HE_MCS_NOT_SUPPORTED || in ath12k_peer_assoc_h_he()
3169 he_mcs_mask = arvif->bitrate_mask.control[band].he_mcs; in ath12k_peer_assoc_h_phymode()
4147 memset(arvif->bitrate_mask.control[i].he_mcs, 0xff, in ath12k_mac_init_arvif()
4148 sizeof(arvif->bitrate_mask.control[i].he_mcs)); in ath12k_mac_init_arvif()
6253 for (i = 0; i < ARRAY_SIZE(mask->control[band].he_mcs); i++) in ath12k_mac_bitrate_mask_num_he_rates()
6254 num_rates += hweight16(mask->control[band].he_mcs[i]); in ath12k_mac_bitrate_mask_num_he_rates()
[all …]
H A Dwmi.c463 pdev_cap->he_mcs = le32_to_cpu(mac_caps->he_supp_mcs_5g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
492 cap_band->he_mcs = le32_to_cpu(mac_caps->he_supp_mcs_2g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
513 cap_band->he_mcs = le32_to_cpu(mac_caps->he_supp_mcs_5g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
531 cap_band->he_mcs = le32_to_cpu(mac_caps->he_supp_mcs_5g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
2166 struct ath12k_wmi_he_rate_set_params *he_mcs; in ath12k_wmi_send_peer_assoc_cmd() local
2188 (sizeof(*he_mcs) * arg->peer_he_mcs_count) + in ath12k_wmi_send_peer_assoc_cmd()
2305 len = arg->peer_he_mcs_count * sizeof(*he_mcs); in ath12k_wmi_send_peer_assoc_cmd()
2313 he_mcs = ptr; in ath12k_wmi_send_peer_assoc_cmd()
2314 he_mcs->tlv_header = ath12k_wmi_tlv_cmd_hdr(WMI_TAG_HE_RATE_SET, in ath12k_wmi_send_peer_assoc_cmd()
2315 sizeof(*he_mcs)); in ath12k_wmi_send_peer_assoc_cmd()
[all …]
/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
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmain.c179 memset(mlink->bitrate_mask.control[i].he_mcs, 0xff, in mt7996_init_bitrate_mask()
180 sizeof(mlink->bitrate_mask.control[i].he_mcs)); in mt7996_init_bitrate_mask()
H A Dmcu.c126 __le16 *he_mcs, u16 mcs_map) in mt7996_mcu_set_sta_he_mcs() argument
130 const u16 *mask = link->bitrate_mask.control[band].he_mcs; in mt7996_mcu_set_sta_he_mcs()
169 *he_mcs = cpu_to_le16(mcs_map); in mt7996_mcu_set_sta_he_mcs()
2102 __sta_phy_bitrate_mask_check(he_mcs, he_gi, 0, 1); in mt7996_mcu_add_rate_ctrl_fixed()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mac.c322 __bitrate_mask_check(he_mcs, HE_SU); in mt76_connac2_mac_tx_rate_val()
/linux/drivers/net/wireless/realtek/rtw89/
H A Dphy.c240 cfg_mask |= u64_encode_bits(mask->control[band].he_mcs[0], in rtw89_phy_ra_mask_cfg()
242 cfg_mask |= u64_encode_bits(mask->control[band].he_mcs[1], in rtw89_phy_ra_mask_cfg()
644 mask->control[nl_band].he_mcs[i], in __rtw89_phy_rate_pattern_vif()
/linux/include/net/
H A Dcfg80211.h879 u16 he_mcs[NL80211_HE_NSS_MAX]; member
/linux/net/wireless/
H A Dnl80211.c5785 he_build_mcs_mask(he_tx_mcs_map, mask->control[i].he_mcs); in nl80211_parse_tx_bitrate_mask()
5864 mask->control[band].he_mcs, in nl80211_parse_tx_bitrate_mask()
5907 if (mask->control[band].he_mcs[i]) in nl80211_parse_tx_bitrate_mask()
5962 if (hweight16(beacon_rate->control[band].he_mcs[i]) > 1) { in validate_beacon_tx_rate()
5964 } else if (beacon_rate->control[band].he_mcs[i]) { in validate_beacon_tx_rate()