Home
last modified time | relevance | path

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

12

/freebsd/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()
87 ((ht_cap->cap & IEEE80211_HT_CAP_LDPC_CODING) || 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
528 const struct ieee80211_sta_ht_cap *ht_cap = &link_sta->ht_cap; 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/sys/contrib/dev/rtw88/
H A Dmain.c161 .ht_cap = {0},
175 .ht_cap = {0},
1241 } else if (sta->deflink.ht_cap.ht_supported) { in rtw_update_sta_info()
1242 ra_mask |= (sta->deflink.ht_cap.mcs.rx_mask[1] << 20) | in rtw_update_sta_info()
1243 (sta->deflink.ht_cap.mcs.rx_mask[0] << 12); in rtw_update_sta_info()
1244 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_RX_STBC) in rtw_update_sta_info()
1246 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_LDPC_CODING) in rtw_update_sta_info()
1259 } else if (sta->deflink.ht_cap.ht_supported) { in rtw_update_sta_info()
1274 } else if (sta->deflink.ht_cap.ht_supported) { in rtw_update_sta_info()
1304 is_support_sgi = sta->deflink.ht_cap.ht_supported && in rtw_update_sta_info()
[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/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
1373 if (!ht_cap->ht_supported) in ath12k_peer_assoc_h_ht()
1385 ht_cap->ampdu_factor)) - 1; in ath12k_peer_assoc_h_ht()
1388 ath12k_parse_mpdudensity(ht_cap->ampdu_density); in ath12k_peer_assoc_h_ht()
1390 arg->peer_ht_caps = ht_cap->cap; in ath12k_peer_assoc_h_ht()
1393 if (ht_cap->cap & IEEE80211_HT_CAP_LDPC_CODING) in ath12k_peer_assoc_h_ht()
1402 if (ht_cap->cap & (IEEE80211_HT_CAP_SGI_20 | in ath12k_peer_assoc_h_ht()
1407 if (ht_cap->cap & IEEE80211_HT_CAP_TX_STBC) { in ath12k_peer_assoc_h_ht()
1412 if (ht_cap->cap & IEEE80211_HT_CAP_RX_STBC) { in ath12k_peer_assoc_h_ht()
1413 stbc = ht_cap->cap & IEEE80211_HT_CAP_RX_STBC; in ath12k_peer_assoc_h_ht()
[all …]
/freebsd/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()
842 if (sta->deflink.ht_cap.ht_supported) { in mt76_connac_mcu_sta_tlv()
847 ht->ht_cap = cpu_to_le16(sta->deflink.ht_cap.cap); in mt76_connac_mcu_sta_tlv()
869 if (sta->deflink.ht_cap.ht_supported || sta->deflink.he_cap.has_he) in mt76_connac_mcu_sta_tlv()
893 sta->deflink.ht_cap.ampdu_factor) | in mt76_connac_mcu_sta_tlv()
895 sta->deflink.ht_cap.ampdu_density); in mt76_connac_mcu_sta_tlv()
[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/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
1883 if (!ht_cap->ht_supported) in ath11k_peer_assoc_h_ht()
1895 ht_cap->ampdu_factor)) - 1; in ath11k_peer_assoc_h_ht()
1898 ath11k_parse_mpdudensity(ht_cap->ampdu_density); in ath11k_peer_assoc_h_ht()
1900 arg->peer_ht_caps = ht_cap->cap; in ath11k_peer_assoc_h_ht()
1903 if (ht_cap->cap & IEEE80211_HT_CAP_LDPC_CODING) in ath11k_peer_assoc_h_ht()
1920 if (ht_cap->cap & (IEEE80211_HT_CAP_SGI_20 | in ath11k_peer_assoc_h_ht()
1925 if (ht_cap->cap & IEEE80211_HT_CAP_TX_STBC) { in ath11k_peer_assoc_h_ht()
1930 if (ht_cap->cap & IEEE80211_HT_CAP_RX_STBC) { in ath11k_peer_assoc_h_ht()
1931 stbc = ht_cap->cap & IEEE80211_HT_CAP_RX_STBC; in ath11k_peer_assoc_h_ht()
[all …]
/freebsd/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
2323 if (!ht_cap->ht_supported) in ath10k_peer_assoc_h_ht()
2336 ht_cap->ampdu_factor)) - 1; in ath10k_peer_assoc_h_ht()
2339 ath10k_parse_mpdudensity(ht_cap->ampdu_density); in ath10k_peer_assoc_h_ht()
2341 arg->peer_ht_caps = ht_cap->cap; in ath10k_peer_assoc_h_ht()
2344 if (ht_cap->cap & IEEE80211_HT_CAP_LDPC_CODING) in ath10k_peer_assoc_h_ht()
2353 if (ht_cap->cap & IEEE80211_HT_CAP_SGI_20) in ath10k_peer_assoc_h_ht()
2356 if (ht_cap->cap & IEEE80211_HT_CAP_SGI_40) in ath10k_peer_assoc_h_ht()
2360 if (ht_cap->cap & IEEE80211_HT_CAP_TX_STBC) { in ath10k_peer_assoc_h_ht()
2365 if (ht_cap->cap & IEEE80211_HT_CAP_RX_STBC) { in ath10k_peer_assoc_h_ht()
[all …]
/freebsd/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/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/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dmcu.c176 ht_mcs[nss] = sta->deflink.ht_cap.mcs.rx_mask[nss] & mask[nss]; in mt7996_mcu_set_sta_ht_mcs()
1053 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()
1233 struct ieee80211_mcs_info *mcs = &sta->deflink.ht_cap.mcs; in mt7996_mcu_sta_bfer_ht()
1424 if (!(sta->deflink.ht_cap.ht_supported || sta->deflink.he_cap.has_he)) in mt7996_mcu_sta_bfer_tlv()
1444 else if (sta->deflink.ht_cap.ht_supported) in mt7996_mcu_sta_bfer_tlv()
1522 if (!sta->deflink.ht_cap.ht_supported && !sta->deflink.he_6ghz_capa.capa) in mt7996_mcu_sta_phy_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()
[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/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dmcu.c153 ht_mcs[nss] = sta->deflink.ht_cap.mcs.rx_mask[nss] & mask[nss]; in mt7915_mcu_set_sta_ht_mcs()
919 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()
1067 struct ieee80211_mcs_info *mcs = &sta->deflink.ht_cap.mcs; in mt7915_mcu_sta_bfer_ht()
1202 if (!(sta->deflink.ht_cap.ht_supported || sta->deflink.he_cap.has_he)) in mt7915_mcu_sta_bfer_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()
1531 ra->ht_gf = !!(sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_GRN_FLD); 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/sys/contrib/dev/iwlwifi/
H A Diwl-nvm-parse.c863 struct ieee80211_sta_ht_cap ht_cap; in iwl_init_he_6ghz_capa()
874 iwl_init_ht_hw_capab(trans, data, &ht_cap, NL80211_BAND_5GHZ, in iwl_init_he_6ghz_capa()
876 WARN_ON(!ht_cap.ht_supported); in iwl_init_he_6ghz_capa()
881 u16_encode_bits(ht_cap.ampdu_density, in iwl_init_he_6ghz_capa()
1149 iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_2GHZ,
1157 iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_5GHZ, in iwl_get_sku()
1193 iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_2GHZ, in iwl_set_radio_cfg()
1206 iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_5GHZ, in iwl_set_radio_cfg()
842 struct ieee80211_sta_ht_cap ht_cap; iwl_init_he_6ghz_capa() local
H A Diwl-eeprom-parse.c
/freebsd/sys/contrib/dev/rtw89/
H A Dcore.c247 .ht_cap = {0},
259 .ht_cap = {0},
511 4 << sta->deflink.ht_cap.ampdu_factor) - 1); in rtw89_core_tx_update_ampdu_info()
514 desc_info->ampdu_density = sta->deflink.ht_cap.ampdu_density; in rtw89_core_tx_update_ampdu_info()
3695 struct ieee80211_sta_ht_cap *ht_cap) in rtw89_init_ht_cap() argument
3704 ht_cap->ht_supported = true; in rtw89_init_ht_cap()
3705 ht_cap->cap = 0; in rtw89_init_ht_cap()
3706 ht_cap->cap |= IEEE80211_HT_CAP_SGI_20 | in rtw89_init_ht_cap()
3710 ht_cap->cap |= IEEE80211_HT_CAP_LDPC_CODING; in rtw89_init_ht_cap()
3711 ht_cap->cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40 | in rtw89_init_ht_cap()
[all …]
H A Dphy.c240 } else if (sta->deflink.ht_cap.ht_supported) { in rtw89_phy_ra_sta_update()
351 } else if (sta->deflink.ht_cap.ht_supported) { in rtw89_phy_ra_sta_update()
354 ra_mask |= ((u64)sta->deflink.ht_cap.mcs.rx_mask[3] << 48) | in rtw89_phy_ra_sta_update()
355 ((u64)sta->deflink.ht_cap.mcs.rx_mask[2] << 36) | in rtw89_phy_ra_sta_update()
356 (sta->deflink.ht_cap.mcs.rx_mask[1] << 24) | in rtw89_phy_ra_sta_update()
357 (sta->deflink.ht_cap.mcs.rx_mask[0] << 12); in rtw89_phy_ra_sta_update()
359 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_RX_STBC) in rtw89_phy_ra_sta_update()
361 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_LDPC_CODING) in rtw89_phy_ra_sta_update()
420 sgi = sta->deflink.ht_cap.ht_supported && in __check_rate_pattern()
421 (sta->deflink.ht_cap in __check_rate_pattern()
[all...]
/freebsd/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/sys/compat/linuxkpi/common/src/
H A Dlinux_80211.c378 sta->deflink.ht_cap.ht_supported = false; in lkpi_sta_sync_ht_from_ni()
382 sta->deflink.ht_cap.ht_supported = true; in lkpi_sta_sync_ht_from_ni()
386 …sta->deflink.ht_cap.ampdu_density = _IEEE80211_MASKSHIFT(ni->ni_htparam, IEEE80211_HTCAP_MPDUDENSI… in lkpi_sta_sync_ht_from_ni()
387 if (sta->deflink.ht_cap.ampdu_density > vap->iv_ampdu_density) in lkpi_sta_sync_ht_from_ni()
388 sta->deflink.ht_cap.ampdu_density = vap->iv_ampdu_density; in lkpi_sta_sync_ht_from_ni()
389 …sta->deflink.ht_cap.ampdu_factor = _IEEE80211_MASKSHIFT(ni->ni_htparam, IEEE80211_HTCAP_MAXRXAMPDU… in lkpi_sta_sync_ht_from_ni()
390 if (sta->deflink.ht_cap.ampdu_factor > vap->iv_ampdu_rxmax) in lkpi_sta_sync_ht_from_ni()
391 sta->deflink.ht_cap.ampdu_factor = vap->iv_ampdu_rxmax; in lkpi_sta_sync_ht_from_ni()
399 sta->deflink.ht_cap.cap = htcap->cap_info; in lkpi_sta_sync_ht_from_ni()
400 sta->deflink.ht_cap.mcs = htcap->mcs; in lkpi_sta_sync_ht_from_ni()
[all …]
/freebsd/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/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()

12