/Linux-v5.15/net/mac80211/ |
D | vht.c | 81 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() 229 memcpy(&vht_cap->vht_mcs, &vht_cap_ie->supp_mcs, in ieee80211_vht_cap_ie_to_sta_vht_cap() 236 vht_cap->vht_mcs.tx_highest &= in ieee80211_vht_cap_ie_to_sta_vht_cap() 243 own_rx = le16_to_cpu(own_cap.vht_mcs.rx_mcs_map); in ieee80211_vht_cap_ie_to_sta_vht_cap() 246 own_tx = le16_to_cpu(own_cap.vht_mcs.tx_mcs_map); in ieee80211_vht_cap_ie_to_sta_vht_cap() 249 peer_rx = le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ieee80211_vht_cap_ie_to_sta_vht_cap() 252 peer_tx = le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map); in ieee80211_vht_cap_ie_to_sta_vht_cap() [all …]
|
D | debugfs_sta.c | 598 le16_to_cpu(vhtc->vht_mcs.rx_mcs_map)); in sta_vht_capa_read() 599 if (vhtc->vht_mcs.rx_highest) in sta_vht_capa_read() 602 le16_to_cpu(vhtc->vht_mcs.rx_highest)); in sta_vht_capa_read() 604 le16_to_cpu(vhtc->vht_mcs.tx_mcs_map)); in sta_vht_capa_read() 605 if (vhtc->vht_mcs.tx_highest) in sta_vht_capa_read() 608 le16_to_cpu(vhtc->vht_mcs.tx_highest)); in sta_vht_capa_read()
|
D | main.c | 1280 ie_cap = !!(sband->vht_cap.vht_mcs.tx_highest & in ieee80211_register_hw() 1295 sband->vht_cap.vht_mcs.tx_highest ^= in ieee80211_register_hw()
|
D | rc80211_minstrel_ht.c | 1595 use_vht = vht_cap->vht_mcs.tx_mcs_map != cpu_to_le16(~0); in minstrel_ht_update_caps() 1697 vht_cap->vht_mcs.tx_mcs_map); in minstrel_ht_update_caps()
|
D | rate.c | 788 sta_vht_cap = sta->vht_cap.vht_mcs.rx_mcs_map; in rate_control_cap_mask()
|
D | tx.c | 2086 u8 vht_mcs = 0, vht_nss = 0; in ieee80211_parse_tx_radiotap() local 2211 vht_mcs = iterator.this_arg[4] >> 4; in ieee80211_parse_tx_radiotap() 2212 if (vht_mcs > 11) in ieee80211_parse_tx_radiotap() 2213 vht_mcs = 0; in ieee80211_parse_tx_radiotap() 2248 ieee80211_rate_set_vht(info->control.rates, vht_mcs, in ieee80211_parse_tx_radiotap()
|
D | util.c | 2873 memcpy(pos, &vht_cap->vht_mcs, sizeof(vht_cap->vht_mcs)); in ieee80211_ie_build_vht_cap() 2874 pos += sizeof(vht_cap->vht_mcs); in ieee80211_ie_build_vht_cap()
|
/Linux-v5.15/drivers/net/wireless/ath/wcn36xx/ |
D | main.c | 768 sta->vht_cap.vht_mcs.rx_mcs_map; in wcn36xx_update_allowed_rates() 770 sta->vht_cap.vht_mcs.tx_mcs_map; in wcn36xx_update_allowed_rates() 1309 vht_cap->vht_mcs.rx_mcs_map = in wcn36xx_set_ieee80211_vht_caps() 1319 vht_cap->vht_mcs.rx_highest = cpu_to_le16(433); in wcn36xx_set_ieee80211_vht_caps() 1320 vht_cap->vht_mcs.tx_highest = vht_cap->vht_mcs.rx_highest; in wcn36xx_set_ieee80211_vht_caps() 1322 vht_cap->vht_mcs.tx_mcs_map = vht_cap->vht_mcs.rx_mcs_map; in wcn36xx_set_ieee80211_vht_caps()
|
/Linux-v5.15/drivers/net/wireless/ath/ath11k/ |
D | mac.c | 1221 u8 max_nss, vht_mcs; in ath11k_peer_assoc_h_vht() local 1231 vht_mcs_mask = arvif->bitrate_mask.control[band].vht_mcs; in ath11k_peer_assoc_h_vht() 1268 for (i = 0, max_nss = 0, vht_mcs = 0; i < NL80211_VHT_NSS_MAX; i++) { in ath11k_peer_assoc_h_vht() 1269 vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >> in ath11k_peer_assoc_h_vht() 1272 if (vht_mcs != IEEE80211_VHT_MCS_NOT_SUPPORTED && in ath11k_peer_assoc_h_vht() 1277 arg->rx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.rx_highest); in ath11k_peer_assoc_h_vht() 1278 arg->rx_mcs_set = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ath11k_peer_assoc_h_vht() 1279 arg->tx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.tx_highest); in ath11k_peer_assoc_h_vht() 1281 __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map), vht_mcs_mask); in ath11k_peer_assoc_h_vht() 1631 vht_mcs_mask = arvif->bitrate_mask.control[band].vht_mcs; in ath11k_peer_assoc_h_phymode() [all …]
|
D | core.h | 587 u32 vht_mcs; member
|
/Linux-v5.15/drivers/net/wireless/realtek/rtlwifi/ |
D | base.c | 255 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->vht_cap.vht_mcs.tx_mcs_map); in _rtl_get_vht_highest_n_rate()
|
/Linux-v5.15/drivers/net/wireless/ath/ath10k/ |
D | mac.c | 2315 vht_mcs_mask = arvif->bitrate_mask.control[band].vht_mcs; in ath10k_peer_assoc_h_ht() 2551 u8 max_nss, vht_mcs; in ath10k_peer_assoc_h_vht() local 2561 vht_mcs_mask = arvif->bitrate_mask.control[band].vht_mcs; in ath10k_peer_assoc_h_vht() 2595 for (i = 0, max_nss = 0, vht_mcs = 0; i < NL80211_VHT_NSS_MAX; i++) { in ath10k_peer_assoc_h_vht() 2596 vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >> in ath10k_peer_assoc_h_vht() 2599 if ((vht_mcs != IEEE80211_VHT_MCS_NOT_SUPPORTED) && in ath10k_peer_assoc_h_vht() 2605 __le16_to_cpu(vht_cap->vht_mcs.rx_highest); in ath10k_peer_assoc_h_vht() 2607 __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ath10k_peer_assoc_h_vht() 2609 __le16_to_cpu(vht_cap->vht_mcs.tx_highest); in ath10k_peer_assoc_h_vht() 2611 __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map), vht_mcs_mask); in ath10k_peer_assoc_h_vht() [all …]
|
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rs-fw.c | 114 u16 rx_mcs = le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) & in rs_fw_vht_highest_rx_mcs_index() 143 .supp_mcs = vht_cap->vht_mcs, in rs_fw_vht_set_enabled_rates()
|
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-nvm-parse.c | 514 vht_cap->vht_mcs.rx_mcs_map = in iwl_init_vht_hw_capab() 527 vht_cap->vht_mcs.rx_mcs_map |= in iwl_init_vht_hw_capab() 531 vht_cap->vht_mcs.tx_mcs_map = vht_cap->vht_mcs.rx_mcs_map; in iwl_init_vht_hw_capab() 533 vht_cap->vht_mcs.tx_highest |= in iwl_init_vht_hw_capab()
|
/Linux-v5.15/drivers/net/wireless/realtek/rtw88/ |
D | main.c | 851 u16 mcs_map = le16_to_cpu(sta->vht_cap.vht_mcs.rx_mcs_map); in get_vht_ra_mask() 1025 cfg_mask |= u64_encode_bits(mask->control[band].vht_mcs[0], in rtw_update_rate_mask() 1028 cfg_mask |= u64_encode_bits(mask->control[band].vht_mcs[1], in rtw_update_rate_mask() 1407 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in rtw_init_vht_cap() 1408 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in rtw_init_vht_cap() 1409 vht_cap->vht_mcs.rx_highest = highest; in rtw_init_vht_cap() 1410 vht_cap->vht_mcs.tx_highest = highest; in rtw_init_vht_cap()
|
D | tx.c | 109 tx_mcs_map = le16_to_cpu(sta->vht_cap.vht_mcs.tx_mcs_map); in get_highest_vht_tx_rate()
|
/Linux-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | fwil_types.h | 614 __le16 vht_mcs[BRCMF_VHT_CAP_MCS_MAP_NSS_MAX]; /* supported mcs index bit map per nss */ member 628 __le16 vht_mcs[BRCMF_VHT_CAP_MCS_MAP_NSS_MAX]; /* supported mcs index bit map per nss */ member
|
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mcu.c | 278 mt7915_mcu_set_sta_vht_mcs(struct ieee80211_sta *sta, __le16 *vht_mcs, in mt7915_mcu_set_sta_vht_mcs() argument 281 u16 mcs_map = le16_to_cpu(sta->vht_cap.vht_mcs.rx_mcs_map); in mt7915_mcu_set_sta_vht_mcs() 300 vht_mcs[nss] = cpu_to_le16(mcs & mask[nss]); in mt7915_mcu_set_sta_vht_mcs() 1698 vht->vht_rx_mcs_map = sta->vht_cap.vht_mcs.rx_mcs_map; in mt7915_mcu_sta_vht_tlv() 1699 vht->vht_tx_mcs_map = sta->vht_cap.vht_mcs.tx_mcs_map; in mt7915_mcu_sta_vht_tlv() 1932 u16 mcs_map = le16_to_cpu(pc->vht_mcs.rx_mcs_map); in mt7915_mcu_sta_bfer_vht() 2259 const u16 *mcs_mask = mask->control[band].vht_mcs; in mt7915_mcu_sta_rate_ctrl_tlv()
|
D | main.c | 178 memset(mvif->bitrate_mask.control[i].vht_mcs, GENMASK(15, 0), in mt7915_init_bitrate_mask() 179 sizeof(mvif->bitrate_mask.control[i].vht_mcs)); in mt7915_init_bitrate_mask()
|
/Linux-v5.15/drivers/net/wireless/ |
D | virt_wifi.c | 129 .vht_mcs = {
|
D | mac80211_hwsim.c | 3281 sband->vht_cap.vht_mcs.rx_mcs_map = in mac80211_hwsim_new_radio() 3290 sband->vht_cap.vht_mcs.tx_mcs_map = in mac80211_hwsim_new_radio() 3291 sband->vht_cap.vht_mcs.rx_mcs_map; in mac80211_hwsim_new_radio()
|
/Linux-v5.15/drivers/net/wireless/marvell/mwifiex/ |
D | cfg80211.c | 1730 bitmap_rates[10] = mask->control[band].vht_mcs[0]; in mwifiex_cfg80211_set_bitrate_mask() 1732 bitmap_rates[11] = mask->control[band].vht_mcs[1]; in mwifiex_cfg80211_set_bitrate_mask() 2797 vht_info->vht_mcs.rx_mcs_map = cpu_to_le16( in mwifiex_setup_vht_caps() 2799 vht_info->vht_mcs.rx_highest = 0; in mwifiex_setup_vht_caps() 2800 vht_info->vht_mcs.tx_mcs_map = cpu_to_le16( in mwifiex_setup_vht_caps() 2802 vht_info->vht_mcs.tx_highest = 0; in mwifiex_setup_vht_caps()
|
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/ |
D | mac80211.c | 172 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in mt76_init_stream_cap() 173 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in mt76_init_stream_cap()
|
D | mt76_connac_mcu.c | 741 vht->vht_rx_mcs_map = sta->vht_cap.vht_mcs.rx_mcs_map; in mt76_connac_mcu_sta_tlv() 742 vht->vht_tx_mcs_map = sta->vht_cap.vht_mcs.tx_mcs_map; in mt76_connac_mcu_sta_tlv()
|
/Linux-v5.15/net/wireless/ |
D | chan.c | 953 ext_nss_cap = __le16_to_cpu(vht_cap->vht_mcs.tx_highest) & in cfg80211_chandef_usable()
|