Home
last modified time | relevance | path

Searched refs:ht_cap (Results 1 – 25 of 44) sorted by relevance

12

/freebsd-14.2/sys/contrib/dev/iwlwifi/mvm/
H A Drs-fw.c43 struct ieee80211_sta_ht_cap *ht_cap = &link_sta->ht_cap; in rs_fw_sgi_cw_support() local
51 if (ht_cap->cap & IEEE80211_HT_CAP_SGI_20) in rs_fw_sgi_cw_support()
53 if (ht_cap->cap & IEEE80211_HT_CAP_SGI_40) in rs_fw_sgi_cw_support()
68 struct ieee80211_sta_ht_cap *ht_cap = &link_sta->ht_cap; in rs_fw_get_config_flags() local
82 else if (ht_cap->cap & IEEE80211_HT_CAP_RX_STBC) in rs_fw_get_config_flags()
376 const struct ieee80211_sta_ht_cap *ht_cap = &link_sta->ht_cap; in rs_fw_set_supp_rates() local
399 } else if (ht_cap->ht_supported) { in rs_fw_set_supp_rates()
402 cpu_to_le16(ht_cap->mcs.rx_mask[0]); in rs_fw_set_supp_rates()
410 cpu_to_le16(ht_cap->mcs.rx_mask[1]); in rs_fw_set_supp_rates()
528 const struct ieee80211_sta_ht_cap *ht_cap = &link_sta->ht_cap; in rs_fw_get_max_amsdu_len() local
[all …]
H A Dsf.c120 if (link_sta->ht_cap.ht_supported || in iwl_mvm_fill_sf_command()
/freebsd-14.2/sys/contrib/dev/rtw88/
H A Dmain.c151 .ht_cap = {0},
165 .ht_cap = {0},
1565 ht_cap->ht_supported = true; in rtw_init_ht_cap()
1566 ht_cap->cap = 0; in rtw_init_ht_cap()
1567 ht_cap->cap |= IEEE80211_HT_CAP_SGI_20 | in rtw_init_ht_cap()
1584 ht_cap->mcs.rx_mask[0] = 0xFF; in rtw_init_ht_cap()
1585 ht_cap->mcs.rx_mask[1] = 0xFF; in rtw_init_ht_cap()
1586 ht_cap->mcs.rx_mask[4] = 0x01; in rtw_init_ht_cap()
1589 ht_cap->mcs.rx_mask[0] = 0xFF; in rtw_init_ht_cap()
1590 ht_cap->mcs.rx_mask[1] = 0x00; in rtw_init_ht_cap()
[all …]
H A Dtx.c93 u8 exp = sta->deflink.ht_cap.ampdu_factor; in get_tx_ampdu_factor()
104 return sta->deflink.ht_cap.ampdu_density; in get_tx_ampdu_density()
112 if (rtwdev->hal.rf_type == RF_2T2R && sta->deflink.ht_cap.mcs.rx_mask[1] != 0) in get_highest_ht_tx_rate()
383 else if (sta->deflink.ht_cap.ht_supported) in rtw_tx_data_pkt_info_update()
/freebsd-14.2/sys/contrib/dev/athk/ath12k/
H A Dmac.c1359 const struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; in ath12k_peer_assoc_h_ht() local
1420 if (ht_cap->mcs.rx_mask[1] && ht_cap->mcs.rx_mask[2]) in ath12k_peer_assoc_h_ht()
1767 const struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; in ath12k_peer_assoc_h_smps() local
4077 return ht_cap; in ath12k_create_ht_cap()
4098 ht_cap.cap |= smps; in ath12k_create_ht_cap()
4113 ht_cap.cap |= stbc; in ath12k_create_ht_cap()
4132 return ht_cap; in ath12k_create_ht_cap()
4272 u32 ht_cap; in ath12k_mac_setup_ht_vht_cap() local
4282 band->ht_cap = ath12k_create_ht_cap(ar, ht_cap, in ath12k_mac_setup_ht_vht_cap()
4293 band->ht_cap = ath12k_create_ht_cap(ar, ht_cap, in ath12k_mac_setup_ht_vht_cap()
[all …]
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/
H A Dmt76_connac_mcu.c785 struct ieee80211_sta_ht_cap *ht_cap; in mt76_connac_get_phy_mode_v2() local
791 ht_cap = &sta->deflink.ht_cap; in mt76_connac_get_phy_mode_v2()
798 ht_cap = &sband->ht_cap; in mt76_connac_get_phy_mode_v2()
806 if (ht_cap->ht_supported) in mt76_connac_get_phy_mode_v2()
814 if (ht_cap->ht_supported) in mt76_connac_get_phy_mode_v2()
847 ht->ht_cap = cpu_to_le16(sta->deflink.ht_cap.cap); in mt76_connac_mcu_sta_tlv()
1288 struct ieee80211_sta_ht_cap *ht_cap; in mt76_connac_get_phy_mode() local
1295 ht_cap = &sta->deflink.ht_cap; in mt76_connac_get_phy_mode()
1302 ht_cap = &sband->ht_cap; in mt76_connac_get_phy_mode()
1310 if (ht_cap->ht_supported) in mt76_connac_get_phy_mode()
[all …]
H A Dmac80211.c257 struct ieee80211_sta_ht_cap *ht_cap = &sband->ht_cap; in mt76_init_stream_cap() local
263 ht_cap->cap |= IEEE80211_HT_CAP_TX_STBC; in mt76_init_stream_cap()
265 ht_cap->cap &= ~IEEE80211_HT_CAP_TX_STBC; in mt76_init_stream_cap()
268 ht_cap->mcs.rx_mask[i] = i < nstream ? 0xff : 0; in mt76_init_stream_cap()
314 struct ieee80211_sta_ht_cap *ht_cap; in mt76_init_sband() local
337 ht_cap = &sband->ht_cap; in mt76_init_sband()
338 ht_cap->ht_supported = true; in mt76_init_sband()
339 ht_cap->cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40 | in mt76_init_sband()
345 ht_cap->mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED; in mt76_init_sband()
346 ht_cap->ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K; in mt76_init_sband()
H A Dmt76x02_util.c189 dev->mphy.sband_2g.sband.ht_cap.cap |= in mt76x02_init_device()
191 dev->mphy.sband_5g.sband.ht_cap.cap |= in mt76x02_init_device()
/freebsd-14.2/sys/contrib/dev/athk/ath11k/
H A Dmac.c1869 const struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; in ath11k_peer_assoc_h_ht() local
1938 if (ht_cap->mcs.rx_mask[1] && ht_cap->mcs.rx_mask[2]) in ath11k_peer_assoc_h_ht()
2553 const struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; in ath11k_peer_assoc_h_smps() local
5396 return ht_cap; in ath11k_create_ht_cap()
5417 ht_cap.cap |= smps; in ath11k_create_ht_cap()
5432 ht_cap.cap |= stbc; in ath11k_create_ht_cap()
5451 return ht_cap; in ath11k_create_ht_cap()
5607 u32 ht_cap; in ath11k_mac_setup_ht_vht_cap() local
5617 band->ht_cap = ath11k_create_ht_cap(ar, ht_cap, in ath11k_mac_setup_ht_vht_cap()
5628 band->ht_cap = ath11k_create_ht_cap(ar, ht_cap, in ath11k_mac_setup_ht_vht_cap()
[all …]
/freebsd-14.2/sys/contrib/dev/athk/ath10k/
H A Dmac.c2308 const struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; in ath10k_peer_assoc_h_ht() local
2373 if (ht_cap->mcs.rx_mask[1] && ht_cap->mcs.rx_mask[2]) in ath10k_peer_assoc_h_ht()
3094 ht_cap = ap_sta->deflink.ht_cap; in ath10k_bss_assoc()
4938 return ht_cap; in ath10k_get_ht_cap()
4945 ht_cap.cap |= in ath10k_get_ht_cap()
4960 ht_cap.cap |= smps; in ath10k_get_ht_cap()
4975 ht_cap.cap |= stbc; in ath10k_get_ht_cap()
4996 return ht_cap; in ath10k_get_ht_cap()
5010 band->ht_cap = ht_cap; in ath10k_mac_setup_ht_vht_cap()
5014 band->ht_cap = ht_cap; in ath10k_mac_setup_ht_vht_cap()
[all …]
/freebsd-14.2/contrib/wpa/src/ap/
H A Dieee802_11_ht.c494 struct ieee80211_ht_capabilities *ht_cap, in hostapd_get_ht_capab() argument
499 if (ht_cap == NULL) in hostapd_get_ht_capab()
501 os_memcpy(neg_ht_cap, ht_cap, sizeof(*neg_ht_cap)); in hostapd_get_ht_capab()
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dinit.c250 dev->mphy.sband_2g.sband.ht_cap.cap |= in mt7921_register_device()
253 dev->mphy.sband_5g.sband.ht_cap.cap |= in mt7921_register_device()
H A Dmain.c161 struct ieee80211_sta_ht_cap *ht_cap = &sband->ht_cap; in mt7921_init_he_caps() local
165 cap = u16_encode_bits(ht_cap->ampdu_density, in mt7921_init_he_caps()
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dmcu.c1053 if (!sta->deflink.ht_cap.ht_supported) in mt7996_mcu_sta_ht_tlv()
1059 ht->ht_cap = cpu_to_le16(sta->deflink.ht_cap.cap); in mt7996_mcu_sta_ht_tlv()
1444 else if (sta->deflink.ht_cap.ht_supported) in mt7996_mcu_sta_bfer_tlv()
1528 if (sta->deflink.ht_cap.ht_supported) { in mt7996_mcu_sta_phy_tlv()
1529 af = sta->deflink.ht_cap.ampdu_factor; in mt7996_mcu_sta_phy_tlv()
1530 mm = sta->deflink.ht_cap.ampdu_density; in mt7996_mcu_sta_phy_tlv()
1684 if (sta->deflink.ht_cap.ht_supported) { in mt7996_mcu_sta_rate_ctrl_tlv()
1686 ra->af = sta->deflink.ht_cap.ampdu_factor; in mt7996_mcu_sta_rate_ctrl_tlv()
1690 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_20) in mt7996_mcu_sta_rate_ctrl_tlv()
1692 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_40) in mt7996_mcu_sta_rate_ctrl_tlv()
[all …]
H A Dinit.c210 phy->mt76->sband_2g.sband.ht_cap.cap |= in mt7996_init_wiphy()
213 phy->mt76->sband_2g.sband.ht_cap.ampdu_density = in mt7996_init_wiphy()
218 phy->mt76->sband_5g.sband.ht_cap.cap |= in mt7996_init_wiphy()
227 phy->mt76->sband_5g.sband.ht_cap.ampdu_density = in mt7996_init_wiphy()
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dmcu.c919 if (!sta->deflink.ht_cap.ht_supported) in mt7915_mcu_sta_ht_tlv()
925 ht->ht_cap = cpu_to_le16(sta->deflink.ht_cap.cap); in mt7915_mcu_sta_ht_tlv()
1220 else if (sta->deflink.ht_cap.ht_supported) in mt7915_mcu_sta_bfer_tlv()
1429 } else if (sta->deflink.ht_cap.ht_supported) { in mt7915_mcu_add_rate_ctrl_fixed()
1528 if (sta->deflink.ht_cap.ht_supported) { in mt7915_mcu_sta_rate_ctrl_tlv()
1530 ra->af = sta->deflink.ht_cap.ampdu_factor; in mt7915_mcu_sta_rate_ctrl_tlv()
1534 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_20) in mt7915_mcu_sta_rate_ctrl_tlv()
1536 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_40) in mt7915_mcu_sta_rate_ctrl_tlv()
1538 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_TX_STBC) in mt7915_mcu_sta_rate_ctrl_tlv()
1540 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_RX_STBC) in mt7915_mcu_sta_rate_ctrl_tlv()
[all …]
H A Dinit.c410 phy->mt76->sband_2g.sband.ht_cap.cap |= in mt7915_init_wiphy()
413 phy->mt76->sband_2g.sband.ht_cap.ampdu_density = in mt7915_init_wiphy()
421 phy->mt76->sband_5g.sband.ht_cap.cap |= in mt7915_init_wiphy()
424 phy->mt76->sband_5g.sband.ht_cap.ampdu_density = in mt7915_init_wiphy()
/freebsd-14.2/sys/contrib/dev/rtw89/
H A Dcore.c210 .ht_cap = {0},
222 .ht_cap = {0},
444 4 << sta->deflink.ht_cap.ampdu_factor) - 1); in rtw89_core_tx_update_ampdu_info()
3150 struct ieee80211_sta_ht_cap *ht_cap) in rtw89_init_ht_cap() argument
3159 ht_cap->ht_supported = true; in rtw89_init_ht_cap()
3160 ht_cap->cap = 0; in rtw89_init_ht_cap()
3161 ht_cap->cap |= IEEE80211_HT_CAP_SGI_20 | in rtw89_init_ht_cap()
3165 ht_cap->cap |= IEEE80211_HT_CAP_LDPC_CODING; in rtw89_init_ht_cap()
3173 ht_cap->mcs.rx_mask[i] = 0xFF; in rtw89_init_ht_cap()
3174 ht_cap->mcs.rx_mask[4] = 0x01; in rtw89_init_ht_cap()
[all …]
H A Dphy.c178 } else if (sta->deflink.ht_cap.ht_supported) { in rtw89_phy_ra_mask_cfg()
281 } else if (sta->deflink.ht_cap.ht_supported) { in rtw89_phy_ra_sta_update()
285 ((u64)sta->deflink.ht_cap.mcs.rx_mask[2] << 36) | in rtw89_phy_ra_sta_update()
286 (sta->deflink.ht_cap.mcs.rx_mask[1] << 24) | in rtw89_phy_ra_sta_update()
287 (sta->deflink.ht_cap.mcs.rx_mask[0] << 12); in rtw89_phy_ra_sta_update()
289 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_RX_STBC) in rtw89_phy_ra_sta_update()
291 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_LDPC_CODING) in rtw89_phy_ra_sta_update()
350 sgi = sta->deflink.ht_cap.ht_supported && in rtw89_phy_ra_sta_update()
351 (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_40); in rtw89_phy_ra_sta_update()
355 sgi = sta->deflink.ht_cap.ht_supported && in rtw89_phy_ra_sta_update()
[all …]
/freebsd-14.2/sys/contrib/dev/iwlwifi/
H A Diwl-nvm-parse.c842 struct ieee80211_sta_ht_cap ht_cap; in iwl_init_he_6ghz_capa() local
853 iwl_init_ht_hw_capab(trans, data, &ht_cap, NL80211_BAND_5GHZ, in iwl_init_he_6ghz_capa()
855 WARN_ON(!ht_cap.ht_supported); in iwl_init_he_6ghz_capa()
860 u16_encode_bits(ht_cap.ampdu_density, in iwl_init_he_6ghz_capa()
1108 iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_2GHZ, in iwl_init_sbands()
1121 iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_5GHZ, in iwl_init_sbands()
H A Diwl-eeprom-parse.c772 iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_2GHZ, in iwl_init_sbands()
781 iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_5GHZ, in iwl_init_sbands()
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7603/
H A Dmac.c340 ampdu_density = sta->deflink.ht_cap.ampdu_density; in mt7603_wtbl_update_cap()
347 sta->deflink.ht_cap.ampdu_factor) | in mt7603_wtbl_update_cap()
349 sta->deflink.ht_cap.ampdu_density) | in mt7603_wtbl_update_cap()
352 if (sta->deflink.ht_cap.cap) in mt7603_wtbl_update_cap()
363 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_20) in mt7603_wtbl_update_cap()
365 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_40) in mt7603_wtbl_update_cap()
/freebsd-14.2/contrib/wpa/src/common/
H A Dhw_features_common.c366 struct ieee80211_ht_capabilities *ht_cap = in check_40mhz_2g4() local
370 if (le_to_host16(ht_cap->ht_capabilities_info) & in check_40mhz_2g4()
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dinit.c416 phy->mt76->sband_2g.sband.ht_cap.cap |= IEEE80211_HT_CAP_LDPC_CODING; in mt7615_init_wiphy()
417 phy->mt76->sband_5g.sband.ht_cap.cap |= IEEE80211_HT_CAP_LDPC_CODING; in mt7615_init_wiphy()
/freebsd-14.2/sys/compat/linuxkpi/common/src/
H A Dlinux_80211.c173 sta->deflink.ht_cap.ht_supported = true; in lkpi_sta_sync_ht_from_ni()
178 if (sta->deflink.ht_cap.ampdu_density > vap->iv_ampdu_density) in lkpi_sta_sync_ht_from_ni()
179 sta->deflink.ht_cap.ampdu_density = vap->iv_ampdu_density; in lkpi_sta_sync_ht_from_ni()
181 if (sta->deflink.ht_cap.ampdu_factor > vap->iv_ampdu_rxmax) in lkpi_sta_sync_ht_from_ni()
182 sta->deflink.ht_cap.ampdu_factor = vap->iv_ampdu_rxmax; in lkpi_sta_sync_ht_from_ni()
190 sta->deflink.ht_cap.cap = htcap->cap_info; in lkpi_sta_sync_ht_from_ni()
191 sta->deflink.ht_cap.mcs = htcap->mcs; in lkpi_sta_sync_ht_from_ni()
4216 struct ieee80211_sta_ht_cap *ht_cap; in lkpi_ic_getradiocaps_ht() local
4218 ht_cap = &hw->wiphy->bands[band]->ht_cap; in lkpi_ic_getradiocaps_ht()
4219 if (!ht_cap->ht_supported) in lkpi_ic_getradiocaps_ht()
[all …]

12