Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt7915/
Dinit.c866 struct ieee80211_he_mcs_nss_supp *he_mcs = in mt7915_init_he_caps() local
965 he_mcs->rx_mcs_80 = cpu_to_le16(mcs_map); in mt7915_init_he_caps()
966 he_mcs->tx_mcs_80 = cpu_to_le16(mcs_map); in mt7915_init_he_caps()
967 he_mcs->rx_mcs_160 = cpu_to_le16(mcs_map_160); in mt7915_init_he_caps()
968 he_mcs->tx_mcs_160 = cpu_to_le16(mcs_map_160); in mt7915_init_he_caps()
969 he_mcs->rx_mcs_80p80 = cpu_to_le16(mcs_map_160); in mt7915_init_he_caps()
970 he_mcs->tx_mcs_80p80 = cpu_to_le16(mcs_map_160); in mt7915_init_he_caps()
Dmain.c176 memset(mvif->bitrate_mask.control[i].he_mcs, 0xff, in mt7915_init_bitrate_mask()
177 sizeof(mvif->bitrate_mask.control[i].he_mcs)); in mt7915_init_bitrate_mask()
Dmcu.c51 mt7915_mcu_set_sta_he_mcs(struct ieee80211_sta *sta, __le16 *he_mcs, in mt7915_mcu_set_sta_he_mcs() argument
57 const u16 *mask = msta->vif->bitrate_mask.control[band].he_mcs; in mt7915_mcu_set_sta_he_mcs()
102 *he_mcs = cpu_to_le16(mcs_map); in mt7915_mcu_set_sta_he_mcs()
1382 __sta_phy_bitrate_mask_check(he_mcs, he_gi, 0, 1); in mt7915_mcu_add_rate_ctrl_fixed()
/Linux-v6.1/net/mac80211/
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()
/Linux-v6.1/drivers/net/wireless/ath/ath11k/
Dmac.c2085 u8 max_nss, he_mcs; in ath11k_peer_assoc_h_he() local
2101 memcpy(he_mcs_mask, arvif->bitrate_mask.control[band].he_mcs, in ath11k_peer_assoc_h_he()
2278 he_mcs = he_tx_mcs >> (2 * i) & 3; in ath11k_peer_assoc_h_he()
2284 if (he_mcs != IEEE80211_HE_MCS_NOT_SUPPORTED || in ath11k_peer_assoc_h_he()
2580 he_mcs_mask = arvif->bitrate_mask.control[band].he_mcs; in ath11k_peer_assoc_h_phymode()
3984 for (i = 0; i < ARRAY_SIZE(mask->control[band].he_mcs); i++) in ath11k_mac_bitrate_mask_num_he_rates()
3985 num_rates += hweight16(mask->control[band].he_mcs[i]); in ath11k_mac_bitrate_mask_num_he_rates()
4055 for (i = 0; i < ARRAY_SIZE(mask->control[band].he_mcs); i++) { in ath11k_mac_set_peer_he_fixed_rate()
4056 if (hweight16(mask->control[band].he_mcs[i]) == 1) { in ath11k_mac_set_peer_he_fixed_rate()
4058 he_rate = ffs(mask->control[band].he_mcs[i]) - 1; in ath11k_mac_set_peer_he_fixed_rate()
[all …]
Dcore.h731 u32 he_mcs; member
742 u32 he_mcs; member
Dwmi.c408 pdev_cap->he_mcs = mac_phy_caps->he_supp_mcs_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
437 cap_band->he_mcs = mac_phy_caps->he_supp_mcs_2g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
451 cap_band->he_mcs = mac_phy_caps->he_supp_mcs_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
462 cap_band->he_mcs = mac_phy_caps->he_supp_mcs_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
1889 struct wmi_he_rate_set *he_mcs; in ath11k_wmi_send_peer_assoc_cmd() local
1906 (sizeof(*he_mcs) * param->peer_he_mcs_count); in ath11k_wmi_send_peer_assoc_cmd()
2001 len = param->peer_he_mcs_count * sizeof(*he_mcs); in ath11k_wmi_send_peer_assoc_cmd()
2010 he_mcs = ptr; in ath11k_wmi_send_peer_assoc_cmd()
2011 he_mcs->tlv_header = FIELD_PREP(WMI_TLV_TAG, in ath11k_wmi_send_peer_assoc_cmd()
2014 sizeof(*he_mcs) - TLV_HDR_SIZE); in ath11k_wmi_send_peer_assoc_cmd()
[all …]
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt7921/
Dmain.c52 struct ieee80211_he_mcs_nss_supp *he_mcs = in mt7921_init_he_caps() local
161 he_mcs->rx_mcs_80 = cpu_to_le16(mcs_map); in mt7921_init_he_caps()
162 he_mcs->tx_mcs_80 = cpu_to_le16(mcs_map); in mt7921_init_he_caps()
164 he_mcs->rx_mcs_160 = cpu_to_le16(mcs_map); in mt7921_init_he_caps()
165 he_mcs->tx_mcs_160 = cpu_to_le16(mcs_map); in mt7921_init_he_caps()
/Linux-v6.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwil_types.h629 __le16 he_mcs[BRCMF_HE_CAP_MCS_MAP_NSS_MAX]; /* supported he mcs index bit map per nss */ member
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/
Dmt76_connac_mac.c289 if (hweight16(mask->control[band].he_mcs[0]) == 1) { in mt76_connac2_mac_tx_rate_val()
290 rateidx = ffs(mask->control[band].he_mcs[0]) - 1; in mt76_connac2_mac_tx_rate_val()
/Linux-v6.1/drivers/net/wireless/realtek/rtw89/
Dphy.c167 cfg_mask |= u64_encode_bits(mask->control[band].he_mcs[0], in rtw89_phy_ra_mask_cfg()
169 cfg_mask |= u64_encode_bits(mask->control[band].he_mcs[1], in rtw89_phy_ra_mask_cfg()
472 mask->control[nl_band].he_mcs[i], in rtw89_phy_rate_pattern_vif()
/Linux-v6.1/include/net/
Dcfg80211.h765 u16 he_mcs[NL80211_HE_NSS_MAX]; member
/Linux-v6.1/net/wireless/
Dnl80211.c5125 he_build_mcs_mask(he_tx_mcs_map, mask->control[i].he_mcs); in nl80211_parse_tx_bitrate_mask()
5189 mask->control[band].he_mcs, in nl80211_parse_tx_bitrate_mask()
5218 if (mask->control[band].he_mcs[i]) in nl80211_parse_tx_bitrate_mask()
5269 if (hweight16(beacon_rate->control[band].he_mcs[i]) > 1) { in validate_beacon_tx_rate()
5271 } else if (beacon_rate->control[band].he_mcs[i]) { in validate_beacon_tx_rate()