Home
last modified time | relevance | path

Searched refs:vht_cap (Results 1 – 25 of 50) sorted by relevance

12

/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Drs-fw.c44 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()
80 else if (vht_cap->cap & IEEE80211_VHT_CAP_RXSTBC_MASK) in rs_fw_get_config_flags()
88 (vht_ena && (vht_cap->cap & IEEE80211_VHT_CAP_RXLDPC)))) in rs_fw_get_config_flags()
113 int rs_fw_vht_highest_rx_mcs_index(const struct ieee80211_sta_vht_cap *vht_cap, in rs_fw_vht_highest_rx_mcs_index() argument
116 u16 rx_mcs = le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) & in rs_fw_vht_highest_rx_mcs_index()
137 const struct ieee80211_sta_vht_cap *vht_cap, in rs_fw_vht_set_enabled_rates() argument
[all …]
H A Dsf.c121 link_sta->vht_cap.vht_supported || in iwl_mvm_fill_sf_command()
/freebsd/sys/contrib/dev/iwlwifi/mld/
H A Dtlc.c42 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->vht_cap; in iwl_mld_get_tlc_cmd_flags() local
44 bool has_vht = vht_cap->vht_supported; in iwl_mld_get_tlc_cmd_flags()
53 else if (vht_cap->cap & IEEE80211_VHT_CAP_RXSTBC_MASK) in iwl_mld_get_tlc_cmd_flags()
62 (has_vht && (vht_cap->cap & IEEE80211_VHT_CAP_RXLDPC)))) in iwl_mld_get_tlc_cmd_flags()
112 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->vht_cap; in iwl_mld_get_fw_sgi() local
127 if (vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_80) in iwl_mld_get_fw_sgi()
129 if (vht_cap->cap & IEEE80211_VHT_CAP_SHORT_GI_160) in iwl_mld_get_fw_sgi()
136 iwl_mld_get_highest_fw_mcs(const struct ieee80211_sta_vht_cap *vht_cap, in iwl_mld_get_highest_fw_mcs() argument
139 u16 rx_mcs = le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) & in iwl_mld_get_highest_fw_mcs()
160 const struct ieee80211_sta_vht_cap *vht_cap, in iwl_mld_fill_vht_rates() argument
[all …]
H A Dsta.c74 } else if (link_sta->vht_cap.vht_supported) { in iwl_mld_fill_ampdu_size_and_dens()
77 u32_get_bits(link_sta->vht_cap.cap, in iwl_mld_fill_ampdu_size_and_dens()
619 link_sta->vht_cap.vht_supported || in iwl_mld_set_max_amsdu_len()
/freebsd/sys/contrib/dev/iwlwifi/
H A Diwl-nvm-parse.c440 struct ieee80211_sta_vht_cap *vht_cap, in iwl_init_vht_hw_capab() argument
447 vht_cap->vht_supported = true; in iwl_init_vht_hw_capab()
449 vht_cap->cap = IEEE80211_VHT_CAP_SHORT_GI_80 | in iwl_init_vht_hw_capab()
457 vht_cap->cap &= ~IEEE80211_VHT_CAP_RXSTBC_MASK; in iwl_init_vht_hw_capab()
460 vht_cap->cap |= IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ | in iwl_init_vht_hw_capab()
464 vht_cap->cap |= IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE; in iwl_init_vht_hw_capab()
467 vht_cap->cap |= IEEE80211_VHT_CAP_RXLDPC; in iwl_init_vht_hw_capab()
475 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; in iwl_init_vht_hw_capab()
477 vht_cap->cap |= IEEE80211_VHT_CAP_TX_ANTENNA_PATTERN; in iwl_init_vht_hw_capab()
488 vht_cap->cap |= in iwl_init_vht_hw_capab()
[all …]
/freebsd/contrib/wpa/src/ap/
H A Dieee802_11_vht.c157 const struct ieee80211_vht_capabilities *vht_cap; in check_valid_vht_mcs() local
174 vht_cap = (const struct ieee80211_vht_capabilities *) sta_vht_capab; in check_valid_vht_mcs()
177 sta_rx_mcs_set = le_to_host16(vht_cap->vht_supported_mcs_set.rx_map); in check_valid_vht_mcs()
325 struct ieee80211_vht_capabilities *vht_cap, in hostapd_get_vht_capab() argument
330 if (vht_cap == NULL) in hostapd_get_vht_capab()
332 os_memcpy(neg_vht_cap, vht_cap, sizeof(*neg_vht_cap)); in hostapd_get_vht_capab()
/freebsd/sys/contrib/dev/rtw88/
H A Dbf.c39 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 Dmain.c220 .vht_cap = {0},
234 .vht_cap = {0},
1092 u16 mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map); in get_vht_ra_mask()
1311 if (sta->deflink.vht_cap.vht_supported) { in rtw_update_sta_info()
1314 if (sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_RXSTBC_MASK) in rtw_update_sta_info()
1316 if (sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_RXLDPC) in rtw_update_sta_info()
1338 if (sta->deflink.vht_cap.vht_supported) { in rtw_update_sta_info()
1351 if (sta->deflink.vht_cap.vht_supported) { in rtw_update_sta_info()
1381 is_support_sgi = sta->deflink.vht_cap.vht_supported && in rtw_update_sta_info()
1382 (sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80); in rtw_update_sta_info()
[all …]
H A Dtx.c132 tx_mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.tx_mcs_map); in get_highest_vht_tx_rate()
387 if (sta->deflink.vht_cap.vht_supported) in rtw_tx_data_pkt_info_update()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dusb_sdio.c335 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 Dinit.c418 phy->mt76->sband_5g.sband.vht_cap.cap |= in mt7615_init_wiphy()
425 dev->mphy.sband_5g.sband.vht_cap.cap &= in mt7615_cap_dbdc_enable()
441 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7615_cap_dbdc_disable()
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmt76_connac_mcu.c796 struct ieee80211_sta_vht_cap *vht_cap; in mt76_connac_get_phy_mode_v2() local
803 vht_cap = &link_sta->vht_cap; in mt76_connac_get_phy_mode_v2()
811 vht_cap = &sband->vht_cap; in mt76_connac_get_phy_mode_v2()
833 if (vht_cap->vht_supported) in mt76_connac_get_phy_mode_v2()
873 if (sta->deflink.vht_cap.vht_supported) { in mt76_connac_mcu_sta_tlv()
880 vht->vht_cap = cpu_to_le32(sta->deflink.vht_cap.cap); in mt76_connac_mcu_sta_tlv()
881 vht->vht_rx_mcs_map = sta->deflink.vht_cap.vht_mcs.rx_mcs_map; in mt76_connac_mcu_sta_tlv()
882 vht->vht_tx_mcs_map = sta->deflink.vht_cap.vht_mcs.tx_mcs_map; in mt76_connac_mcu_sta_tlv()
941 if (sta->deflink.vht_cap.vht_supported) { in mt76_connac_mcu_sta_tlv()
991 if (sta->deflink.vht_cap.vht_supported || sta->deflink.he_6ghz_capa.capa) { in mt76_connac_mcu_wtbl_ht_tlv()
[all …]
H A Dmac80211.c267 struct ieee80211_sta_vht_cap *vht_cap; in mt76_init_stream_cap() local
281 vht_cap = &sband->vht_cap; in mt76_init_stream_cap()
283 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; in mt76_init_stream_cap()
285 vht_cap->cap &= ~IEEE80211_VHT_CAP_TXSTBC; in mt76_init_stream_cap()
286 vht_cap->cap |= IEEE80211_VHT_CAP_TX_ANTENNA_PATTERN | in mt76_init_stream_cap()
296 vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map); in mt76_init_stream_cap()
297 vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map); in mt76_init_stream_cap()
299 vht_cap->vht_mcs.tx_highest |= in mt76_init_stream_cap()
321 struct ieee80211_sta_vht_cap *vht_cap; in mt76_init_sband() local
361 vht_cap = &sband->vht_cap; in mt76_init_sband()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dinit.c450 struct ieee80211_sta_vht_cap *vht_cap; in mt7915_init_wiphy() local
452 vht_cap = &phy->mt76->sband_5g.sband.vht_cap; in mt7915_init_wiphy()
461 vht_cap->cap |= in mt7915_init_wiphy()
466 vht_cap->cap |= in mt7915_init_wiphy()
473 vht_cap->cap |= in mt7915_init_wiphy()
478 vht_cap->cap |= in mt7915_init_wiphy()
911 cap = &phy->mt76->sband_5g.sband.vht_cap.cap; in mt7915_set_stream_vht_txbf_caps()
H A Dmcu.c122 u16 mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map); in mt7915_mcu_set_sta_vht_mcs()
939 if (sta->deflink.vht_cap.vht_supported) in mt7915_mcu_sta_muru_tlv()
941 !!(sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE); in mt7915_mcu_sta_muru_tlv()
994 if (!sta->deflink.vht_cap.vht_supported) in mt7915_mcu_sta_vht_tlv()
1000 vht->vht_cap = cpu_to_le32(sta->deflink.vht_cap.cap); in mt7915_mcu_sta_vht_tlv()
1001 vht->vht_rx_mcs_map = sta->deflink.vht_cap.vht_mcs.rx_mcs_map; in mt7915_mcu_sta_vht_tlv()
1002 vht->vht_tx_mcs_map = sta->deflink.vht_cap.vht_mcs.tx_mcs_map; in mt7915_mcu_sta_vht_tlv()
1100 if (sta->deflink.vht_cap.vht_supported) { in mt7915_is_ebf_supported()
1101 u32 cap = sta->deflink.vht_cap.cap; in mt7915_is_ebf_supported()
1152 struct ieee80211_sta_vht_cap *pc = &sta->deflink.vht_cap; in mt7915_mcu_sta_bfer_vht()
[all …]
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dmac.c2154 const struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath11k_peer_assoc_h_vht() local
2168 if (!vht_cap->vht_supported) in ath11k_peer_assoc_h_vht()
2185 arg->peer_vht_caps = vht_cap->cap; in ath11k_peer_assoc_h_vht()
2187 ampdu_factor = (vht_cap->cap & in ath11k_peer_assoc_h_vht()
2228 vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >> in ath11k_peer_assoc_h_vht()
2236 arg->rx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.rx_highest); in ath11k_peer_assoc_h_vht()
2237 arg->rx_mcs_set = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ath11k_peer_assoc_h_vht()
2239 arg->tx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.tx_highest); in ath11k_peer_assoc_h_vht()
2240 arg->tx_mcs_set = __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map); in ath11k_peer_assoc_h_vht()
2448 if (sta->deflink.vht_cap.vht_supported) in ath11k_peer_assoc_h_he()
[all …]
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dmac.c2580 const struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath10k_peer_assoc_h_vht() local
2593 if (!vht_cap->vht_supported) in ath10k_peer_assoc_h_vht()
2607 arg->peer_vht_caps = vht_cap->cap; in ath10k_peer_assoc_h_vht()
2609 ampdu_factor = (vht_cap->cap & in ath10k_peer_assoc_h_vht()
2632 vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >> in ath10k_peer_assoc_h_vht()
2641 __le16_to_cpu(vht_cap->vht_mcs.rx_highest); in ath10k_peer_assoc_h_vht()
2643 __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ath10k_peer_assoc_h_vht()
2645 __le16_to_cpu(vht_cap->vht_mcs.tx_highest); in ath10k_peer_assoc_h_vht()
2647 __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map), vht_mcs_mask); in ath10k_peer_assoc_h_vht()
2726 struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath10k_mac_get_phymode_vht() local
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7925/
H A Dinit.c273 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7925_register_device()
279 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7925_register_device()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dmcu.c180 u16 mcs, mcs_map = le16_to_cpu(link_sta->vht_cap.vht_mcs.rx_mcs_map); in mt7996_mcu_set_sta_vht_mcs()
1435 if (!link_sta->he_6ghz_capa.capa && !link_sta->vht_cap.vht_supported) in mt7996_mcu_sta_vht_tlv()
1441 vht->vht_cap = cpu_to_le32(link_sta->vht_cap.cap); in mt7996_mcu_sta_vht_tlv()
1442 vht->vht_rx_mcs_map = link_sta->vht_cap.vht_mcs.rx_mcs_map; in mt7996_mcu_sta_vht_tlv()
1443 vht->vht_tx_mcs_map = link_sta->vht_cap.vht_mcs.tx_mcs_map; in mt7996_mcu_sta_vht_tlv()
1506 if (link_sta->vht_cap.vht_supported) in mt7996_mcu_sta_muru_tlv()
1508 !!(link_sta->vht_cap.cap & IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE); in mt7996_mcu_sta_muru_tlv()
1577 if (link_sta->vht_cap.vht_supported) { in mt7996_is_ebf_supported()
1578 u32 cap = link_sta->vht_cap.cap; in mt7996_is_ebf_supported()
1636 struct ieee80211_sta_vht_cap *pc = &link_sta->vht_cap; in mt7996_mcu_sta_bfer_vht()
[all …]
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dmac.c2372 const struct ieee80211_sta_vht_cap *vht_cap; in ath12k_peer_assoc_h_vht() local
2395 vht_cap = &link_sta->vht_cap; in ath12k_peer_assoc_h_vht()
2396 if (!vht_cap->vht_supported) in ath12k_peer_assoc_h_vht()
2413 arg->peer_vht_caps = vht_cap->cap; in ath12k_peer_assoc_h_vht()
2415 ampdu_factor = (vht_cap->cap & in ath12k_peer_assoc_h_vht()
2457 vht_mcs = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) >> in ath12k_peer_assoc_h_vht()
2465 arg->rx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.rx_highest); in ath12k_peer_assoc_h_vht()
2466 arg->rx_mcs_set = __le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ath12k_peer_assoc_h_vht()
2469 arg->tx_max_rate = __le16_to_cpu(vht_cap->vht_mcs.tx_highest); in ath12k_peer_assoc_h_vht()
2470 arg->tx_mcs_set = __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map); in ath12k_peer_assoc_h_vht()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dinit.c349 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7921_register_device()
356 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7921_register_device()
H A Dmain.c167 struct ieee80211_sta_vht_cap *vht_cap = &sband->vht_cap; in mt7921_init_he_caps() local
174 exp = u32_get_bits(vht_cap->cap, in mt7921_init_he_caps()
178 exp = u32_get_bits(vht_cap->cap, in mt7921_init_he_caps()
182 if (vht_cap->cap & IEEE80211_VHT_CAP_TX_ANTENNA_PATTERN) in mt7921_init_he_caps()
184 if (vht_cap->cap & IEEE80211_VHT_CAP_RX_ANTENNA_PATTERN) in mt7921_init_he_caps()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_80211.c611 if (supband->vht_cap.vht_supported) { in lkpi_sta_supp_rates()
615 mcs_map = supband->vht_cap.vht_mcs.tx_mcs_map; in lkpi_sta_supp_rates()
618 band, nss, supband->vht_cap.vht_mcs.tx_mcs_map, mcs_map, mcs_map & 0x3); in lkpi_sta_supp_rates()
681 sta->deflink.ht_cap.ht_supported, sta->deflink.vht_cap.vht_supported); in lkpi_sync_chanctx_cw_from_rx_bw()
782 struct ieee80211_sta_vht_cap *vht_cap, *sta_vht_cap;; in lkpi_sta_sync_vht_from_ni() local
791 sta->deflink.vht_cap.vht_supported = false; in lkpi_sta_sync_vht_from_ni()
792 TRACE_RATES("VHT vht_supported %d", sta->deflink.vht_cap.vht_supported); in lkpi_sta_sync_vht_from_ni()
796 sta->deflink.vht_cap.vht_supported = true; in lkpi_sta_sync_vht_from_ni()
798 sta->deflink.vht_cap.cap = ni->ni_vhtcap; in lkpi_sta_sync_vht_from_ni()
799 sta->deflink.vht_cap.vht_mcs = ni->ni_vht_mcsinfo; in lkpi_sta_sync_vht_from_ni()
[all …]
/freebsd/sys/compat/linuxkpi/common/include/net/
H A Dmac80211.h736 struct ieee80211_sta_vht_cap vht_cap; member
1930 ieee80211_get_vht_max_nss(struct ieee80211_vht_cap *vht_cap, in ieee80211_get_vht_max_nss() argument
1955 map = le16toh(vht_cap->supp_mcs.rx_mcs_map); in ieee80211_get_vht_max_nss()
1972 if ((le16toh(vht_cap->supp_mcs.tx_mcs_map) & in ieee80211_get_vht_max_nss()
1976 supp_cw = le32_get_bits(vht_cap->vht_cap_info, in ieee80211_get_vht_max_nss()
1978 ext_nss_bw = le32_get_bits(vht_cap->vht_cap_info, in ieee80211_get_vht_max_nss()
/freebsd/sys/contrib/dev/rtw89/
H A Dcore.c319 .vht_cap = {0},
331 .vht_cap = {0},
5280 struct ieee80211_sta_vht_cap *vht_cap) in rtw89_init_vht_cap() argument
5307 vht_cap->vht_supported = true; in rtw89_init_vht_cap()
5308 vht_cap->cap = chip->max_vht_mpdu_cap | in rtw89_init_vht_cap()
5314 vht_cap->cap |= IEEE80211_VHT_CAP_TXSTBC; in rtw89_init_vht_cap()
5315 vht_cap->cap |= IEEE80211_VHT_CAP_RXLDPC; in rtw89_init_vht_cap()
5316 vht_cap->cap |= IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE | in rtw89_init_vht_cap()
5318 vht_cap->cap |= sts_cap << IEEE80211_VHT_CAP_BEAMFORMEE_STS_SHIFT; in rtw89_init_vht_cap()
5320 vht_cap->cap |= IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ | in rtw89_init_vht_cap()
[all …]

12