Home
last modified time | relevance | path

Searched refs:eht_cap (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/wpa/src/ap/
H A Dieee802_11_eht.c113 struct eht_capabilities *eht_cap; in hostapd_eid_eht_capab_len() local
120 eht_cap = &mode->eht_capab[opmode]; in hostapd_eid_eht_capab_len()
121 if (!eht_cap->eht_supported) in hostapd_eid_eht_capab_len()
127 eht_cap->phy_cap); in hostapd_eid_eht_capab_len()
128 len += ieee80211_eht_ppet_size(WPA_GET_LE16(&eht_cap->ppet[0]), in hostapd_eid_eht_capab_len()
129 eht_cap->phy_cap); in hostapd_eid_eht_capab_len()
139 struct eht_capabilities *eht_cap; in hostapd_eid_eht_capab() local
148 eht_cap = &mode->eht_capab[opmode]; in hostapd_eid_eht_capab()
149 if (!eht_cap->eht_supported) in hostapd_eid_eht_capab()
158 cap->mac_cap = host_to_le16(eht_cap->mac_cap); in hostapd_eid_eht_capab()
[all …]
H A Dieee802_11.c4724 struct ieee80211_eht_capabilities eht_cap; in add_associated_sta() local
4797 hostapd_get_eht_capab(hapd, sta->eht_capab, &eht_cap, in add_associated_sta()
4813 sta->flags & WLAN_STA_EHT ? &eht_cap : NULL, in add_associated_sta()
/freebsd/sys/contrib/dev/iwlwifi/
H A Diwl-nvm-parse.c699 .eht_cap = {
813 .eht_cap = {
922 iftype_data->eht_cap.has_eht = false; in iwl_nvm_fixup_sband_iftd()
927 if (sband->band == NL80211_BAND_6GHZ && iftype_data->eht_cap.has_eht) in iwl_nvm_fixup_sband_iftd()
941 iftype_data->eht_cap.eht_cap_elem.mac_cap_info[0] |= in iwl_nvm_fixup_sband_iftd()
948 iftype_data->eht_cap.eht_cap_elem.phy_cap_info[0] |= in iwl_nvm_fixup_sband_iftd()
950 iftype_data->eht_cap.eht_cap_elem.phy_cap_info[1] |= in iwl_nvm_fixup_sband_iftd()
974 if (iftype_data->eht_cap.has_eht) { in iwl_nvm_fixup_sband_iftd()
980 iftype_data->eht_cap.eht_cap_elem.phy_cap_info[2] |= 0x49; in iwl_nvm_fixup_sband_iftd()
986 iftype_data->eht_cap.eht_cap_elem.phy_cap_info[4] |= 0x10; in iwl_nvm_fixup_sband_iftd()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Drs-fw.c293 &link_sta->eht_cap.eht_mcs_nss_supp; in rs_fw_eht_set_enabled_rates()
389 if (link_sta->eht_cap.has_eht && sband_he_cap && sband_eht_cap) { in rs_fw_set_supp_rates()
520 const struct ieee80211_sta_eht_cap *eht_cap = &link_sta->eht_cap; in rs_fw_get_max_amsdu_len() local
536 eht_cap->has_eht) { in rs_fw_get_max_amsdu_len()
537 switch (u8_get_bits(eht_cap->eht_cap_elem.mac_cap_info[0], in rs_fw_get_max_amsdu_len()
608 link_sta->eht_cap.has_eht && in iwl_mvm_rs_fw_rate_init()
609 link_sta->eht_cap.eht_cap_elem.phy_cap_info[5] & in iwl_mvm_rs_fw_rate_init()
H A Dsf.c122 link_sta->eht_cap.has_eht || in iwl_mvm_fill_sf_command()
H A Dmac80211.c2426 if (link_sta->eht_cap.has_eht) { in iwl_mvm_set_sta_pkt_ext()
2428 u8_get_bits(link_sta->eht_cap.eht_cap_elem.phy_cap_info[5], in iwl_mvm_set_sta_pkt_ext()
2434 if (link_sta->eht_cap.eht_cap_elem.phy_cap_info[5] & in iwl_mvm_set_sta_pkt_ext()
2436 u8 nss = (link_sta->eht_cap.eht_ppe_thres[0] & in iwl_mvm_set_sta_pkt_ext()
2438 u8 *ppe = &link_sta->eht_cap.eht_ppe_thres[0]; in iwl_mvm_set_sta_pkt_ext()
H A Dsta.c102 if (link_sta->eht_cap.has_eht) in iwl_mvm_get_sta_ampdu_dens()
103 agg_size += u8_get_bits(link_sta->eht_cap.eht_cap_elem.mac_cap_info[1], in iwl_mvm_get_sta_ampdu_dens()
834 if (link->eht_cap.has_eht && in iwl_mvm_get_queue_size()
/freebsd/sys/contrib/dev/iwlwifi/mld/
H A Dsta.c94 if (link_sta->eht_cap.has_eht) in iwl_mld_fill_ampdu_size_and_dens()
96 u8_get_bits(link_sta->eht_cap.eht_cap_elem.mac_cap_info[1], in iwl_mld_fill_ampdu_size_and_dens()
289 if (link_sta->eht_cap.has_eht) { in iwl_mld_fill_pkt_ext()
291 u8_get_bits(link_sta->eht_cap.eht_cap_elem.phy_cap_info[5], in iwl_mld_fill_pkt_ext()
297 if (link_sta->eht_cap.eht_cap_elem.phy_cap_info[5] & in iwl_mld_fill_pkt_ext()
299 u8 nss = (link_sta->eht_cap.eht_ppe_thres[0] & in iwl_mld_fill_pkt_ext()
301 u8 *ppe = &link_sta->eht_cap.eht_ppe_thres[0]; in iwl_mld_fill_pkt_ext()
620 if (link_sta->eht_cap.has_eht || link_sta->he_cap.has_he || in iwl_mld_set_max_amsdu_len()
H A Dtlc.c86 link_sta->eht_cap.has_eht && in iwl_mld_get_tlc_cmd_flags()
87 link_sta->eht_cap.eht_cap_elem.phy_cap_info[5] & in iwl_mld_get_tlc_cmd_flags()
314 &link_sta->eht_cap.eht_mcs_nss_supp; in iwl_mld_fill_eht_rates()
425 if (link_sta->eht_cap.has_eht && own_he_cap && own_eht_cap) { in iwl_mld_fill_supp_rates()
H A Dtx.c58 if (link_sta->eht_cap.has_eht) { in iwl_mld_get_queue_size()
/freebsd/contrib/wpa/src/common/
H A Dhw_features_common.c463 struct eht_capabilities *eht_cap, in hostapd_set_freq_params() argument
471 if (!eht_cap || !eht_cap->eht_supported) in hostapd_set_freq_params()
572 if (!(eht_cap->phy_cap[EHT_PHYCAP_320MHZ_IN_6GHZ_SUPPORT_IDX] & in hostapd_set_freq_params()
H A Dhw_features_common.h50 struct eht_capabilities *eht_cap,
/freebsd/sys/compat/linuxkpi/common/include/net/
H A Dcfg80211.h853 struct ieee80211_sta_eht_cap eht_cap; member
2109 const struct ieee80211_sta_eht_cap *eht_cap; in ieee80211_get_eht_iftype_cap() local
2115 eht_cap = NULL; in ieee80211_get_eht_iftype_cap()
2116 if (iftype_data->eht_cap.has_eht) in ieee80211_get_eht_iftype_cap()
2117 eht_cap = &iftype_data->eht_cap; in ieee80211_get_eht_iftype_cap()
2119 return (eht_cap); in ieee80211_get_eht_iftype_cap()
H A Dmac80211.h738 struct ieee80211_sta_eht_cap eht_cap; member
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dmac.c1958 if (sta->deflink.eht_cap.eht_cap_elem.phy_cap_info[0] & in ath12k_mac_get_phymode_eht()
2010 if (sta->deflink.eht_cap.has_eht) { in ath12k_peer_assoc_h_phymode()
2043 if (sta->deflink.eht_cap.has_eht) { in ath12k_peer_assoc_h_phymode()
2139 const struct ieee80211_sta_eht_cap *eht_cap = &sta->deflink.eht_cap; in ath12k_peer_assoc_h_eht() local
2146 if (!sta->deflink.he_cap.has_he || !eht_cap->has_eht) in ath12k_peer_assoc_h_eht()
2151 if ((eht_cap->eht_cap_elem.phy_cap_info[5] & in ath12k_peer_assoc_h_eht()
2153 eht_cap->eht_ppe_thres[0] != 0) in ath12k_peer_assoc_h_eht()
2154 ath12k_mac_set_eht_ppe_threshold(eht_cap->eht_ppe_thres, in ath12k_peer_assoc_h_eht()
2157 memcpy(arg->peer_eht_cap_mac, eht_cap->eht_cap_elem.mac_cap_info, in ath12k_peer_assoc_h_eht()
2158 sizeof(eht_cap->eht_cap_elem.mac_cap_info)); in ath12k_peer_assoc_h_eht()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmt76_connac_mcu.c798 const struct ieee80211_sta_eht_cap *eht_cap; in mt76_connac_get_phy_mode_v2() local
805 eht_cap = &link_sta->eht_cap; in mt76_connac_get_phy_mode_v2()
813 eht_cap = ieee80211_get_eht_iftype_cap(sband, vif->type); in mt76_connac_get_phy_mode_v2()
825 if (eht_cap && eht_cap->has_eht) in mt76_connac_get_phy_mode_v2()
839 if (eht_cap && eht_cap->has_eht) in mt76_connac_get_phy_mode_v2()
1376 const struct ieee80211_sta_eht_cap *eht_cap; in mt76_connac_get_phy_mode_ext() local
1384 eht_cap = ieee80211_get_eht_iftype_cap(sband, conf->vif->type); in mt76_connac_get_phy_mode_ext()
1386 if (!eht_cap || !eht_cap->has_eht || !conf->eht_support) in mt76_connac_get_phy_mode_ext()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7925/
H A Dmcu.c1681 if (!link_sta->eht_cap.has_eht) in mt7925_mcu_sta_eht_tlv()
1684 mcs_map = &link_sta->eht_cap.eht_mcs_nss_supp; in mt7925_mcu_sta_eht_tlv()
1685 elem = &link_sta->eht_cap.eht_cap_elem; in mt7925_mcu_sta_eht_tlv()
2441 const struct ieee80211_sta_eht_cap *eht_cap; in mt7925_get_phy_mode_ext() local
2447 eht_cap = &link_sta->eht_cap; in mt7925_get_phy_mode_ext()
2455 eht_cap = ieee80211_get_eht_iftype_cap(sband, vif->type); in mt7925_get_phy_mode_ext()
2460 if (eht_cap && eht_cap->has_eht) in mt7925_get_phy_mode_ext()
2464 if (eht_cap && eht_cap->has_eht) in mt7925_get_phy_mode_ext()
2471 if (eht_cap && eht_cap->has_eht) in mt7925_get_phy_mode_ext()
H A Dmain.c164 struct ieee80211_sta_eht_cap *eht_cap = &data->eht_cap; in mt7925_init_eht_caps() local
165 struct ieee80211_eht_cap_elem_fixed *eht_cap_elem = &eht_cap->eht_cap_elem; in mt7925_init_eht_caps()
166 struct ieee80211_eht_mcs_nss_supp *eht_nss = &eht_cap->eht_mcs_nss_supp; in mt7925_init_eht_caps()
175 eht_cap->has_eht = true; in mt7925_init_eht_caps()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dinit.c1519 struct ieee80211_sta_eht_cap *eht_cap = &data->eht_cap; in mt7996_init_eht_caps() local
1520 struct ieee80211_eht_cap_elem_fixed *eht_cap_elem = &eht_cap->eht_cap_elem; in mt7996_init_eht_caps()
1521 struct ieee80211_eht_mcs_nss_supp *eht_nss = &eht_cap->eht_mcs_nss_supp; in mt7996_init_eht_caps()
1530 eht_cap->has_eht = true; in mt7996_init_eht_caps()
H A Dmcu.c1379 if (!link_sta->eht_cap.has_eht) in mt7996_mcu_sta_eht_tlv()
1382 mcs_map = &link_sta->eht_cap.eht_mcs_nss_supp; in mt7996_mcu_sta_eht_tlv()
1383 elem = &link_sta->eht_cap.eht_cap_elem; in mt7996_mcu_sta_eht_tlv()
1554 if (link_sta->eht_cap.has_eht) { in mt7996_is_ebf_supported()
1555 struct ieee80211_sta_eht_cap *pc = &link_sta->eht_cap; in mt7996_is_ebf_supported()
1739 struct ieee80211_sta_eht_cap *pc = &link_sta->eht_cap; in mt7996_mcu_sta_bfer_eht()
1828 if (link_sta->eht_cap.has_eht) in mt7996_mcu_sta_bfer_tlv()
1847 if (link_sta->eht_cap.has_eht || link_sta->he_cap.has_he) in mt7996_mcu_sta_bfer_tlv()
/freebsd/sys/contrib/dev/rtw89/
H A Dcore.c4628 struct ieee80211_sta_eht_cap *eht_cap; in rtw89_init_eht_cap() local
4645 eht_cap = &iftype_data->eht_cap; in rtw89_init_eht_cap()
4646 eht_cap_elem = &eht_cap->eht_cap_elem; in rtw89_init_eht_cap()
4647 eht_nss = &eht_cap->eht_mcs_nss_supp; in rtw89_init_eht_cap()
4649 eht_cap->has_eht = true; in rtw89_init_eht_cap()
H A Dphy.c127 struct ieee80211_sta_eht_cap *eht_cap = &link_sta->eht_cap; in get_eht_ra_mask() local
133 mcs_nss = &eht_cap->eht_mcs_nss_supp.bw._320; in get_eht_ra_mask()
137 mcs_nss = &eht_cap->eht_mcs_nss_supp.bw._160; in get_eht_ra_mask()
143 mcs_nss_20mhz = &eht_cap->eht_mcs_nss_supp.only_20mhz; in get_eht_ra_mask()
150 mcs_nss = &eht_cap->eht_mcs_nss_supp.bw._80; in get_eht_ra_mask()
335 if (link_sta->eht_cap.has_eht) { in rtw89_phy_ra_sta_update()
H A Dfw.c3467 ppe_th = !!u8_get_bits(link_sta->eht_cap.eht_cap_elem.phy_cap_info[5],
3472 pad = u8_get_bits(link_sta->eht_cap.eht_cap_elem.phy_cap_info[5],
3481 ppe_thres_hdr = get_unaligned_le16(link_sta->eht_cap.eht_ppe_thres);
3498 ppe = get_unaligned_le16(link_sta->eht_cap.eht_ppe_thres + idx);
3543 if (link_sta->eht_cap.has_eht)
4119 if (link_sta->eht_cap.has_eht)