Home
last modified time | relevance | path

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

12

/linux-6.6.21/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()
231 memcpy(&vht_cap->vht_mcs, &vht_cap_ie->supp_mcs, in ieee80211_vht_cap_ie_to_sta_vht_cap()
238 vht_cap->vht_mcs.tx_highest &= in ieee80211_vht_cap_ie_to_sta_vht_cap()
245 own_rx = le16_to_cpu(own_cap.vht_mcs.rx_mcs_map); in ieee80211_vht_cap_ie_to_sta_vht_cap()
248 own_tx = le16_to_cpu(own_cap.vht_mcs.tx_mcs_map); in ieee80211_vht_cap_ie_to_sta_vht_cap()
251 peer_rx = le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ieee80211_vht_cap_ie_to_sta_vht_cap()
254 peer_tx = le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map); in ieee80211_vht_cap_ie_to_sta_vht_cap()
[all …]
Ddebugfs_sta.c645 le16_to_cpu(vhtc->vht_mcs.rx_mcs_map)); in link_sta_vht_capa_read()
646 if (vhtc->vht_mcs.rx_highest) in link_sta_vht_capa_read()
649 le16_to_cpu(vhtc->vht_mcs.rx_highest)); in link_sta_vht_capa_read()
651 le16_to_cpu(vhtc->vht_mcs.tx_mcs_map)); in link_sta_vht_capa_read()
652 if (vhtc->vht_mcs.tx_highest) in link_sta_vht_capa_read()
655 le16_to_cpu(vhtc->vht_mcs.tx_highest)); in link_sta_vht_capa_read()
Dmain.c1367 ie_cap = !!(sband->vht_cap.vht_mcs.tx_highest & in ieee80211_register_hw()
1382 sband->vht_cap.vht_mcs.tx_highest ^= in ieee80211_register_hw()
Drc80211_minstrel_ht.c1718 use_vht = vht_cap->vht_mcs.tx_mcs_map != cpu_to_le16(~0); in minstrel_ht_update_caps()
1818 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()
/linux-6.6.21/drivers/net/wireless/ath/wcn36xx/
Dmain.c759 sta->deflink.vht_cap.vht_mcs.rx_mcs_map; in wcn36xx_update_allowed_rates()
761 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.6.21/drivers/net/wireless/ath/ath12k/
Dmac.c1527 u8 max_nss, vht_mcs; in ath12k_peer_assoc_h_vht() local
1537 vht_mcs_mask = arvif->bitrate_mask.control[band].vht_mcs; in ath12k_peer_assoc_h_vht()
1574 for (i = 0, max_nss = 0, vht_mcs = 0; i < NL80211_VHT_NSS_MAX; i++) { in ath12k_peer_assoc_h_vht()
1575 vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >> in ath12k_peer_assoc_h_vht()
1578 if (vht_mcs != IEEE80211_VHT_MCS_NOT_SUPPORTED && in ath12k_peer_assoc_h_vht()
1583 arg->rx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.rx_highest); in ath12k_peer_assoc_h_vht()
1584 arg->rx_mcs_set = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ath12k_peer_assoc_h_vht()
1585 arg->tx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.tx_highest); in ath12k_peer_assoc_h_vht()
1587 tx_mcs_map = __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map); in ath12k_peer_assoc_h_vht()
2006 vht_mcs_mask = arvif->bitrate_mask.control[band].vht_mcs; in ath12k_peer_assoc_h_phymode()
[all …]
Dcore.h598 u32 vht_mcs; member
/linux-6.6.21/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()
907 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.6.21/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.6.21/drivers/net/wireless/ath/ath11k/
Dmac.c2072 u8 max_nss, vht_mcs; in ath11k_peer_assoc_h_vht() local
2084 vht_mcs_mask = arvif->bitrate_mask.control[band].vht_mcs; in ath11k_peer_assoc_h_vht()
2140 vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >> in ath11k_peer_assoc_h_vht()
2143 if (vht_mcs != IEEE80211_VHT_MCS_NOT_SUPPORTED && in ath11k_peer_assoc_h_vht()
2148 arg->rx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.rx_highest); in ath11k_peer_assoc_h_vht()
2149 arg->rx_mcs_set = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ath11k_peer_assoc_h_vht()
2150 arg->tx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.tx_highest); in ath11k_peer_assoc_h_vht()
2152 __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map), vht_mcs_mask); in ath11k_peer_assoc_h_vht()
2763 vht_mcs_mask = arvif->bitrate_mask.control[band].vht_mcs; in ath11k_peer_assoc_h_phymode()
4365 for (i = 0; i < ARRAY_SIZE(mask->control[band].vht_mcs); i++) in ath11k_mac_bitrate_mask_num_vht_rates()
[all …]
Dcore.h757 u32 vht_mcs; member
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwil_types.h681 __le16 vht_mcs[BRCMF_VHT_CAP_MCS_MAP_NSS_MAX]; /* supported mcs index bit map per nss */ member
695 __le16 vht_mcs[BRCMF_VHT_CAP_MCS_MAP_NSS_MAX]; /* supported mcs index bit map per nss */ member
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/
Diwl-nvm-parse.c552 vht_cap->vht_mcs.rx_mcs_map = in iwl_init_vht_hw_capab()
565 vht_cap->vht_mcs.rx_mcs_map |= in iwl_init_vht_hw_capab()
569 vht_cap->vht_mcs.tx_mcs_map = vht_cap->vht_mcs.rx_mcs_map; in iwl_init_vht_hw_capab()
571 vht_cap->vht_mcs.tx_highest |= in iwl_init_vht_hw_capab()
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
Dmain.c991 u16 mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map); in get_vht_ra_mask()
1180 cfg_mask |= u64_encode_bits(mask->control[band].vht_mcs[0], in rtw_rate_mask_cfg()
1183 cfg_mask |= u64_encode_bits(mask->control[band].vht_mcs[1], in rtw_rate_mask_cfg()
1621 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in rtw_init_vht_cap()
1622 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in rtw_init_vht_cap()
1623 vht_cap->vht_mcs.rx_highest = highest; in rtw_init_vht_cap()
1624 vht_cap->vht_mcs.tx_highest = highest; in rtw_init_vht_cap()
Dtx.c127 tx_mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.tx_mcs_map); in get_highest_vht_tx_rate()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Drs-fw.c116 u16 rx_mcs = le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) & in rs_fw_vht_highest_rx_mcs_index()
145 .supp_mcs = vht_cap->vht_mcs, in rs_fw_vht_set_enabled_rates()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.c113 mt7915_mcu_set_sta_vht_mcs(struct ieee80211_sta *sta, __le16 *vht_mcs, in mt7915_mcu_set_sta_vht_mcs() argument
118 u16 mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map); in mt7915_mcu_set_sta_vht_mcs()
137 vht_mcs[nss] = cpu_to_le16(mcs & mask[nss]); in mt7915_mcu_set_sta_vht_mcs()
939 vht->vht_rx_mcs_map = sta->deflink.vht_cap.vht_mcs.rx_mcs_map; in mt7915_mcu_sta_vht_tlv()
940 vht->vht_tx_mcs_map = sta->deflink.vht_cap.vht_mcs.tx_mcs_map; in mt7915_mcu_sta_vht_tlv()
1092 u16 mcs_map = le16_to_cpu(pc->vht_mcs.rx_mcs_map); in mt7915_mcu_sta_bfer_vht()
1426 __sta_phy_bitrate_mask_check(vht_mcs, gi, 0, 0); in mt7915_mcu_add_rate_ctrl_fixed()
1571 mask->control[band].vht_mcs); in mt7915_mcu_sta_rate_ctrl_tlv()
Dmain.c197 memset(mvif->bitrate_mask.control[i].vht_mcs, 0xff, in mt7915_init_bitrate_mask()
198 sizeof(mvif->bitrate_mask.control[i].vht_mcs)); in mt7915_init_bitrate_mask()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7996/
Dmcu.c144 mt7996_mcu_set_sta_vht_mcs(struct ieee80211_sta *sta, __le16 *vht_mcs, in mt7996_mcu_set_sta_vht_mcs() argument
147 u16 mcs, mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map); in mt7996_mcu_set_sta_vht_mcs()
165 vht_mcs[nss] = cpu_to_le16(mcs & mask[nss]); in mt7996_mcu_set_sta_vht_mcs()
1063 vht->vht_rx_mcs_map = sta->deflink.vht_cap.vht_mcs.rx_mcs_map; in mt7996_mcu_sta_vht_tlv()
1064 vht->vht_tx_mcs_map = sta->deflink.vht_cap.vht_mcs.tx_mcs_map; in mt7996_mcu_sta_vht_tlv()
1247 u16 mcs_map = le16_to_cpu(pc->vht_mcs.rx_mcs_map); in mt7996_mcu_sta_bfer_vht()
1716 mask->control[band].vht_mcs); in mt7996_mcu_sta_rate_ctrl_tlv()
Dmain.c156 memset(mvif->bitrate_mask.control[i].vht_mcs, 0xff, in mt7996_init_bitrate_mask()
157 sizeof(mvif->bitrate_mask.control[i].vht_mcs)); in mt7996_init_bitrate_mask()
/linux-6.6.21/drivers/net/wireless/virtual/
Dvirt_wifi.c129 .vht_mcs = {
/linux-6.6.21/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()
2855 vht_info->vht_mcs.rx_mcs_map = cpu_to_le16( in mwifiex_setup_vht_caps()
2857 vht_info->vht_mcs.rx_highest = 0; in mwifiex_setup_vht_caps()
2858 vht_info->vht_mcs.tx_mcs_map = cpu_to_le16( in mwifiex_setup_vht_caps()
2860 vht_info->vht_mcs.tx_highest = 0; in mwifiex_setup_vht_caps()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
Dmac80211.c275 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in mt76_init_stream_cap()
276 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in mt76_init_stream_cap()
278 vht_cap->vht_mcs.tx_highest |= in mt76_init_stream_cap()
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/
Dcore.c3221 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(rx_mcs_map); in rtw89_init_vht_cap()
3222 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(tx_mcs_map); in rtw89_init_vht_cap()
3223 vht_cap->vht_mcs.rx_highest = highest[hal->rx_nss - 1]; in rtw89_init_vht_cap()
3224 vht_cap->vht_mcs.tx_highest = highest[hal->tx_nss - 1]; in rtw89_init_vht_cap()

12