/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | rs-fw.c | 44 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->vht_cap; in rs_fw_sgi_cw_support() local 55 if (vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_80) in rs_fw_sgi_cw_support() 57 if (vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_160) in rs_fw_sgi_cw_support() 69 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->vht_cap; in rs_fw_get_config_flags() local 71 bool vht_ena = vht_cap->vht_supported; in rs_fw_get_config_flags() 144 .vht_cap_info = cpu_to_le32(vht_cap->cap), in rs_fw_vht_set_enabled_rates() 145 .supp_mcs = vht_cap->vht_mcs, in rs_fw_vht_set_enabled_rates() 377 const struct ieee80211_sta_vht_cap *vht_cap = &link_sta->vht_cap; in rs_fw_set_supp_rates() local 396 } else if (vht_cap->vht_supported) { in rs_fw_set_supp_rates() 527 const struct ieee80211_sta_vht_cap *vht_cap = &link_sta->vht_cap; in rs_fw_get_max_amsdu_len() local [all …]
|
H A D | sf.c | 121 link_sta->vht_cap.vht_supported || in iwl_mvm_fill_sf_command()
|
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-nvm-parse.c | 492 vht_cap->vht_supported = true; in iwl_init_vht_hw_capab() 512 vht_cap->cap |= IEEE80211_VHT_CAP_RXLDPC; in iwl_init_vht_hw_capab() 520 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; in iwl_init_vht_hw_capab() 527 vht_cap->cap |= in iwl_init_vht_hw_capab() 534 vht_cap->cap |= in iwl_init_vht_hw_capab() 552 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() 857 WARN_ON(!vht_cap.vht_supported); in iwl_init_he_6ghz_capa() [all …]
|
/freebsd/contrib/wpa/src/ap/ |
H A D | ieee802_11_vht.c | 132 const struct ieee80211_vht_capabilities *vht_cap; in check_valid_vht_mcs() local 148 vht_cap = (const struct ieee80211_vht_capabilities *) sta_vht_capab; in check_valid_vht_mcs() 151 sta_rx_mcs_set = le_to_host16(vht_cap->vht_supported_mcs_set.rx_map); in check_valid_vht_mcs() 298 struct ieee80211_vht_capabilities *vht_cap, in hostapd_get_vht_capab() argument 303 if (vht_cap == NULL) in hostapd_get_vht_capab() 305 os_memcpy(neg_vht_cap, vht_cap, sizeof(*neg_vht_cap)); in hostapd_get_vht_capab()
|
H A D | ieee802_11.h | 75 struct ieee80211_vht_capabilities *vht_cap,
|
/freebsd/sys/contrib/dev/rtw88/ |
H A D | bf.c | 39 struct ieee80211_sta_vht_cap *vht_cap; in rtw_bf_assoc() local 64 ic_vht_cap = &hw->wiphy->bands[NL80211_BAND_5GHZ]->vht_cap; in rtw_bf_assoc() 65 vht_cap = &sta->deflink.vht_cap; in rtw_bf_assoc() 70 (vht_cap->cap & IEEE80211_VHT_CAP_MU_BEAMFORMER_CAPABLE)) { in rtw_bf_assoc() 84 (vht_cap->cap & IEEE80211_VHT_CAP_SU_BEAMFORMER_CAPABLE)) { in rtw_bf_assoc() 90 sound_dim = vht_cap->cap & in rtw_bf_assoc()
|
H A D | main.c | 152 .vht_cap = {0}, 166 .vht_cap = {0}, 1225 if (sta->deflink.vht_cap.vht_supported) { in rtw_update_sta_info() 1247 if (sta->deflink.vht_cap.vht_supported) { in rtw_update_sta_info() 1260 if (sta->deflink.vht_cap.vht_supported) { in rtw_update_sta_info() 1607 vht_cap->vht_supported = true; in rtw_init_vht_cap() 1615 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; in rtw_init_vht_cap() 1618 vht_cap->cap |= (rtwdev->hal.bfee_sts_cap << in rtw_init_vht_cap() 1622 vht_cap->cap |= IEEE80211_VHT_CAP_RXLDPC; in rtw_init_vht_cap() 1641 vht_cap->vht_mcs.rx_highest = highest; in rtw_init_vht_cap() [all …]
|
H A D | tx.c | 127 tx_mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.tx_mcs_map); in get_highest_vht_tx_rate() 381 if (sta->deflink.vht_cap.vht_supported) in rtw_tx_data_pkt_info_update()
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | mac.c | 1520 const struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath12k_peer_assoc_h_vht() local 1533 if (!vht_cap->vht_supported) in ath12k_peer_assoc_h_vht() 1550 arg->peer_vht_caps = vht_cap->cap; in ath12k_peer_assoc_h_vht() 1552 ampdu_factor = (vht_cap->cap & in ath12k_peer_assoc_h_vht() 4141 u32 vht_cap = ar->pdev->cap.vht_cap; in ath12k_mac_set_txbf_conf() local 4151 sound_dim = vht_cap & in ath12k_mac_set_txbf_conf() 4205 *vht_cap = u32_replace_bits(*vht_cap, 0, in ath12k_set_vht_txbf_cap() 4215 *vht_cap = u32_replace_bits(*vht_cap, sound_dim, in ath12k_set_vht_txbf_cap() 4232 vht_cap.vht_supported = 1; in ath12k_create_vht_cap() 4233 vht_cap.cap = ar->pdev->cap.vht_cap; in ath12k_create_vht_cap() [all …]
|
H A D | core.h | 618 u32 vht_cap; member
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | usb_sdio.c | 335 struct ieee80211_sta_vht_cap *vht_cap; in mt7663_usb_sdio_register_device() local 338 vht_cap = &dev->mphy.sband_5g.sband.vht_cap; in mt7663_usb_sdio_register_device() 339 vht_cap->cap &= ~IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_11454; in mt7663_usb_sdio_register_device()
|
H A D | init.c | 416 phy->mt76->sband_5g.sband.vht_cap.cap |= in mt7615_init_wiphy() 423 dev->mphy.sband_5g.sband.vht_cap.cap &= in mt7615_cap_dbdc_enable() 439 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7615_cap_dbdc_disable()
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mac80211.c | 259 struct ieee80211_sta_vht_cap *vht_cap; in mt76_init_stream_cap() local 273 vht_cap = &sband->vht_cap; in mt76_init_stream_cap() 275 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; in mt76_init_stream_cap() 277 vht_cap->cap &= ~IEEE80211_VHT_CAP_TXSTBC; in mt76_init_stream_cap() 288 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in mt76_init_stream_cap() 289 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in mt76_init_stream_cap() 291 vht_cap->vht_mcs.tx_highest |= in mt76_init_stream_cap() 313 struct ieee80211_sta_vht_cap *vht_cap; in mt76_init_sband() local 353 vht_cap = &sband->vht_cap; in mt76_init_sband() 354 vht_cap->vht_supported = true; in mt76_init_sband() [all …]
|
H A D | mt76_connac_mcu.c | 786 struct ieee80211_sta_vht_cap *vht_cap; in mt76_connac_get_phy_mode_v2() local 792 vht_cap = &sta->deflink.vht_cap; in mt76_connac_get_phy_mode_v2() 799 vht_cap = &sband->vht_cap; in mt76_connac_get_phy_mode_v2() 817 if (vht_cap->vht_supported) in mt76_connac_get_phy_mode_v2() 851 if (sta->deflink.vht_cap.vht_supported) { in mt76_connac_mcu_sta_tlv() 858 vht->vht_cap = cpu_to_le32(sta->deflink.vht_cap.cap); in mt76_connac_mcu_sta_tlv() 981 sta->deflink.vht_cap.cap); in mt76_connac_mcu_wtbl_ht_tlv() 1287 struct ieee80211_sta_vht_cap *vht_cap; in mt76_connac_get_phy_mode() local 1296 vht_cap = &sta->deflink.vht_cap; in mt76_connac_get_phy_mode() 1303 vht_cap = &sband->vht_cap; in mt76_connac_get_phy_mode() [all …]
|
H A D | testmode.c | 81 if (phy->sband_5g.sband.vht_cap.cap & in mt76_testmode_max_mpdu_len()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | init.c | 418 struct ieee80211_sta_vht_cap *vht_cap; in mt7915_init_wiphy() local 420 vht_cap = &phy->mt76->sband_5g.sband.vht_cap; in mt7915_init_wiphy() 428 vht_cap->cap |= in mt7915_init_wiphy() 433 vht_cap->cap |= in mt7915_init_wiphy() 437 vht_cap->cap |= in mt7915_init_wiphy() 442 vht_cap->cap |= in mt7915_init_wiphy() 863 cap = &phy->mt76->sband_5g.sband.vht_cap.cap; in mt7915_set_stream_vht_txbf_caps()
|
H A D | mcu.c | 881 if (sta->deflink.vht_cap.vht_supported) in mt7915_mcu_sta_muru_tlv() 934 if (!sta->deflink.vht_cap.vht_supported) in mt7915_mcu_sta_vht_tlv() 940 vht->vht_cap = cpu_to_le32(sta->deflink.vht_cap.cap); in mt7915_mcu_sta_vht_tlv() 1040 if (sta->deflink.vht_cap.vht_supported) { in mt7915_is_ebf_supported() 1041 u32 cap = sta->deflink.vht_cap.cap; in mt7915_is_ebf_supported() 1218 else if (sta->deflink.vht_cap.vht_supported) in mt7915_mcu_sta_bfer_tlv() 1279 } else if (sta->deflink.vht_cap.vht_supported) { in mt7915_mcu_sta_bfee_tlv() 1427 } else if (sta->deflink.vht_cap.vht_supported) { in mt7915_mcu_add_rate_ctrl_fixed() 1551 if (sta->deflink.vht_cap.vht_supported) { in mt7915_mcu_sta_rate_ctrl_tlv() 1556 sta->deflink.vht_cap.cap); in mt7915_mcu_sta_rate_ctrl_tlv() [all …]
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | mac.c | 2066 const struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath11k_peer_assoc_h_vht() local 2080 if (!vht_cap->vht_supported) in ath11k_peer_assoc_h_vht() 2099 ampdu_factor = (vht_cap->cap & in ath11k_peer_assoc_h_vht() 5460 u32 vht_cap = ar->pdev->cap.vht_cap; in ath11k_mac_set_txbf_conf() local 5472 sound_dim = vht_cap & in ath11k_mac_set_txbf_conf() 5546 *vht_cap |= sound_dim; in ath11k_set_vht_txbf_cap() 5556 *vht_cap |= nsts; in ath11k_set_vht_txbf_cap() 5568 vht_cap.vht_supported = 1; in ath11k_create_vht_cap() 5569 vht_cap.cap = ar->pdev->cap.vht_cap; in ath11k_create_vht_cap() 5597 return vht_cap; in ath11k_create_vht_cap() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/ |
H A D | mcu.c | 1075 vht->vht_cap = cpu_to_le32(sta->deflink.vht_cap.cap); in mt7996_mcu_sta_vht_tlv() 1138 if (sta->deflink.vht_cap.vht_supported) in mt7996_mcu_sta_muru_tlv() 1206 if (sta->deflink.vht_cap.vht_supported) { in mt7996_is_ebf_supported() 1207 u32 cap = sta->deflink.vht_cap.cap; in mt7996_is_ebf_supported() 1258 struct ieee80211_sta_vht_cap *pc = &sta->deflink.vht_cap; in mt7996_mcu_sta_bfer_vht() 1442 else if (sta->deflink.vht_cap.vht_supported) in mt7996_mcu_sta_bfer_tlv() 1503 } else if (sta->deflink.vht_cap.vht_supported) { in mt7996_mcu_sta_bfee_tlv() 1533 if (sta->deflink.vht_cap.vht_supported) { in mt7996_mcu_sta_phy_tlv() 1535 sta->deflink.vht_cap.cap); in mt7996_mcu_sta_phy_tlv() 1707 if (sta->deflink.vht_cap.vht_supported) { in mt7996_mcu_sta_rate_ctrl_tlv() [all …]
|
H A D | init.c | 222 phy->mt76->sband_5g.sband.vht_cap.cap |= in mt7996_init_wiphy() 506 cap = &phy->mt76->sband_5g.sband.vht_cap.cap; in mt7996_set_stream_vht_txbf_caps()
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | mac.c | 2558 const struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath10k_peer_assoc_h_vht() local 2571 if (!vht_cap->vht_supported) in ath10k_peer_assoc_h_vht() 2587 ampdu_factor = (vht_cap->cap & in ath10k_peer_assoc_h_vht() 2704 struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath10k_mac_get_phymode_vht() local 3095 vht_cap = ap_sta->deflink.vht_cap; in ath10k_bss_assoc() 4883 vht_cap.vht_supported = 1; in ath10k_create_vht_cap() 4892 vht_cap.cap |= val; in ath10k_create_vht_cap() 4901 vht_cap.cap |= val; in ath10k_create_vht_cap() 4929 return vht_cap; in ath10k_create_vht_cap() 5015 band->vht_cap = vht_cap; in ath10k_mac_setup_ht_vht_cap() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/ |
H A D | init.c | 256 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7921_register_device() 263 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7921_register_device()
|
H A D | main.c | 160 struct ieee80211_sta_vht_cap *vht_cap = &sband->vht_cap; in mt7921_init_he_caps() local 167 exp = u32_get_bits(vht_cap->cap, in mt7921_init_he_caps() 171 exp = u32_get_bits(vht_cap->cap, in mt7921_init_he_caps() 175 if (vht_cap->cap & IEEE80211_VHT_CAP_TX_ANTENNA_PATTERN) in mt7921_init_he_caps() 177 if (vht_cap->cap & IEEE80211_VHT_CAP_RX_ANTENNA_PATTERN) in mt7921_init_he_caps()
|
/freebsd/sys/contrib/dev/rtw89/ |
H A D | core.c | 211 .vht_cap = {0}, 223 .vht_cap = {0}, 3179 struct ieee80211_sta_vht_cap *vht_cap) in rtw89_init_vht_cap() argument 3205 vht_cap->vht_supported = true; in rtw89_init_vht_cap() 3212 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; in rtw89_init_vht_cap() 3213 vht_cap->cap |= IEEE80211_VHT_CAP_RXLDPC; in rtw89_init_vht_cap() 3220 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(rx_mcs_map); in rtw89_init_vht_cap() 3221 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(tx_mcs_map); in rtw89_init_vht_cap() 3222 vht_cap->vht_mcs.rx_highest = highest[hal->rx_nss - 1]; in rtw89_init_vht_cap() 3223 vht_cap->vht_mcs.tx_highest = highest[hal->tx_nss - 1]; in rtw89_init_vht_cap() [all …]
|
H A D | phy.c | 173 } else if (sta->deflink.vht_cap.vht_supported) { in rtw89_phy_ra_mask_cfg() 269 } else if (sta->deflink.vht_cap.vht_supported) { in rtw89_phy_ra_sta_update() 270 u16 mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map); in rtw89_phy_ra_sta_update() 277 if (sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_RXSTBC_MASK) in rtw89_phy_ra_sta_update() 279 if (sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_RXLDPC) in rtw89_phy_ra_sta_update() 340 sgi = sta->deflink.vht_cap.vht_supported && in rtw89_phy_ra_sta_update() 341 (sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_160); in rtw89_phy_ra_sta_update() 345 sgi = sta->deflink.vht_cap.vht_supported && in rtw89_phy_ra_sta_update() 346 (sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80); in rtw89_phy_ra_sta_update()
|