Home
last modified time | relevance | path

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

12

/linux/net/mac80211/
H A Deht.c19 struct ieee80211_sta_eht_cap *eht_cap = &link_sta->pub->eht_cap; in ieee80211_eht_cap_ie_to_sta_eht_cap() local
23 u8 eht_total_size = sizeof(eht_cap->eht_cap_elem); in ieee80211_eht_cap_ie_to_sta_eht_cap()
26 memset(eht_cap, 0, sizeof(*eht_cap)); in ieee80211_eht_cap_ie_to_sta_eht_cap()
54 if (eht_ppe_size > sizeof(eht_cap->eht_ppe_thres)) in ieee80211_eht_cap_ie_to_sta_eht_cap()
62 memcpy(&eht_cap->eht_cap_elem, pos, sizeof(eht_cap->eht_cap_elem)); in ieee80211_eht_cap_ie_to_sta_eht_cap()
63 pos += sizeof(eht_cap->eht_cap_elem); in ieee80211_eht_cap_ie_to_sta_eht_cap()
66 memset(&eht_cap->eht_mcs_nss_supp, 0, in ieee80211_eht_cap_ie_to_sta_eht_cap()
67 sizeof(eht_cap->eht_mcs_nss_supp)); in ieee80211_eht_cap_ie_to_sta_eht_cap()
68 memcpy(&eht_cap->eht_mcs_nss_supp, pos, mcs_nss_size); in ieee80211_eht_cap_ie_to_sta_eht_cap()
71 memcpy(eht_cap->eht_ppe_thres, in ieee80211_eht_cap_ie_to_sta_eht_cap()
[all …]
H A Dvht.c361 struct ieee80211_sta_eht_cap *eht_cap = &link_sta->pub->eht_cap; in __ieee80211_sta_cap_rx_bw() local
379 if (eht_cap->has_eht && band == NL80211_BAND_6GHZ) { in __ieee80211_sta_cap_rx_bw()
380 info = eht_cap->eht_cap_elem.phy_cap_info[0]; in __ieee80211_sta_cap_rx_bw()
559 if (link_sta->pub->eht_cap.has_eht) { in ieee80211_sta_init_nss()
561 const u8 *rx_nss_mcs = (void *)&link_sta->pub->eht_cap.eht_mcs_nss_supp; in ieee80211_sta_init_nss()
H A Dutil.c2925 const struct ieee80211_sta_eht_cap *eht_cap) in ieee80211_ie_build_eht_oper() argument
2929 &eht_cap->eht_mcs_nss_supp.only_20mhz; in ieee80211_ie_build_eht_oper()
4416 const struct ieee80211_sta_eht_cap *eht_cap; in ieee80211_ie_len_eht_cap() local
4426 eht_cap = ieee80211_get_eht_iftype_cap_vif(sband, &sdata->vif); in ieee80211_ie_len_eht_cap()
4427 if (!he_cap || !eht_cap) in ieee80211_ie_len_eht_cap()
4433 &eht_cap->eht_cap_elem, in ieee80211_ie_len_eht_cap()
4436 sizeof(eht_cap->eht_cap_elem) + n + in ieee80211_ie_len_eht_cap()
4437 ieee80211_eht_ppe_size(eht_cap->eht_ppe_thres[0], in ieee80211_ie_len_eht_cap()
4438 eht_cap->eht_cap_elem.phy_cap_info); in ieee80211_ie_len_eht_cap()
4449 const struct ieee80211_sta_eht_cap *eht_cap = in ieee80211_put_eht_cap() local
[all …]
H A Dagg-rx.c220 (sta->sta.valid_links || sta->sta.deflink.eht_cap.has_eht)) { in ieee80211_retrieve_addba_ext_data()
321 if (sta->sta.valid_links || sta->sta.deflink.eht_cap.has_eht) in __ieee80211_start_rx_ba_session()
H A Dmesh.c662 const struct ieee80211_sta_eht_cap *eht_cap; in mesh_add_eht_oper_ie() local
671 eht_cap = ieee80211_get_eht_iftype_cap(sband, NL80211_IFTYPE_MESH_POINT); in mesh_add_eht_oper_ie()
672 if (!eht_cap || in mesh_add_eht_oper_ie()
685 ieee80211_ie_build_eht_oper(pos, &sdata->vif.bss_conf.chanreq.oper, eht_cap); in mesh_add_eht_oper_ie()
H A Dagg-tx.c469 sta->sta.deflink.eht_cap.has_eht || in ieee80211_send_addba_with_timeout()
619 !pubsta->deflink.eht_cap.has_eht && in ieee80211_start_tx_ba_session()
H A Dtdls.c376 const struct ieee80211_sta_eht_cap *eht_cap; in ieee80211_tdls_add_setup_start_ies() local
505 eht_cap = ieee80211_get_eht_iftype_cap_vif(sband, &sdata->vif); in ieee80211_tdls_add_setup_start_ies()
506 if ((vht_cap.vht_supported || he_cap || eht_cap) && in ieee80211_tdls_add_setup_start_ies()
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-nvm-parse.c631 .eht_cap = {
745 .eht_cap = {
854 iftype_data->eht_cap.has_eht = false; in iwl_nvm_fixup_sband_iftd()
859 if (sband->band == NL80211_BAND_6GHZ && iftype_data->eht_cap.has_eht) in iwl_nvm_fixup_sband_iftd()
873 iftype_data->eht_cap.eht_cap_elem.mac_cap_info[0] |= in iwl_nvm_fixup_sband_iftd()
880 iftype_data->eht_cap.eht_cap_elem.phy_cap_info[0] |= in iwl_nvm_fixup_sband_iftd()
882 iftype_data->eht_cap.eht_cap_elem.phy_cap_info[1] |= in iwl_nvm_fixup_sband_iftd()
906 if (iftype_data->eht_cap.has_eht) { in iwl_nvm_fixup_sband_iftd()
912 iftype_data->eht_cap.eht_cap_elem.phy_cap_info[2] |= 0x49; in iwl_nvm_fixup_sband_iftd()
918 iftype_data->eht_cap.eht_cap_elem.phy_cap_info[4] |= 0x10; in iwl_nvm_fixup_sband_iftd()
[all …]
/linux/drivers/net/wireless/intel/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()
517 const struct ieee80211_sta_eht_cap *eht_cap = &link_sta->eht_cap; in rs_fw_get_max_amsdu_len() local
533 eht_cap->has_eht) { in rs_fw_get_max_amsdu_len()
534 switch (u8_get_bits(eht_cap->eht_cap_elem.mac_cap_info[0], in rs_fw_get_max_amsdu_len()
605 link_sta->eht_cap.has_eht && in iwl_mvm_rs_fw_rate_init()
606 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()
/linux/drivers/net/wireless/intel/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()
618 if (link_sta->eht_cap.has_eht || link_sta->he_cap.has_he || in iwl_mld_set_max_amsdu_len()
H A Dtlc.c87 link_sta->eht_cap.has_eht && in iwl_mld_get_tlc_cmd_flags()
88 link_sta->eht_cap.eht_cap_elem.phy_cap_info[5] & in iwl_mld_get_tlc_cmd_flags()
315 &link_sta->eht_cap.eht_mcs_nss_supp; in iwl_mld_fill_eht_rates()
426 if (link_sta->eht_cap.has_eht && own_he_cap && own_eht_cap) { in iwl_mld_fill_supp_rates()
/linux/drivers/net/wireless/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()
/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.c3105 if (link_sta->eht_cap.eht_cap_elem.phy_cap_info[0] & in ath12k_mac_get_phymode_eht()
3181 if (link_sta->eht_cap.has_eht && in ath12k_peer_assoc_h_phymode()
3216 if (link_sta->eht_cap.has_eht) { in ath12k_peer_assoc_h_phymode()
3330 const struct ieee80211_sta_eht_cap *eht_cap, *own_eht_cap; in ath12k_peer_assoc_h_eht() local
3359 eht_cap = &link_sta->eht_cap; in ath12k_peer_assoc_h_eht()
3361 if (!he_cap->has_he || !eht_cap->has_eht) in ath12k_peer_assoc_h_eht()
3377 own_eht_cap = &iftd->eht_cap; in ath12k_peer_assoc_h_eht()
3382 if ((eht_cap->eht_cap_elem.phy_cap_info[5] & in ath12k_peer_assoc_h_eht()
3384 eht_cap->eht_ppe_thres[0] != 0) in ath12k_peer_assoc_h_eht()
3385 ath12k_mac_set_eht_ppe_threshold(eht_cap->eht_ppe_thres, in ath12k_peer_assoc_h_eht()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmcu.c1668 if (!link_sta->eht_cap.has_eht) in mt7925_mcu_sta_eht_tlv()
1671 mcs_map = &link_sta->eht_cap.eht_mcs_nss_supp; in mt7925_mcu_sta_eht_tlv()
1672 elem = &link_sta->eht_cap.eht_cap_elem; in mt7925_mcu_sta_eht_tlv()
2428 const struct ieee80211_sta_eht_cap *eht_cap; in mt7925_get_phy_mode_ext() local
2434 eht_cap = &link_sta->eht_cap; in mt7925_get_phy_mode_ext()
2442 eht_cap = ieee80211_get_eht_iftype_cap(sband, vif->type); in mt7925_get_phy_mode_ext()
2447 if (eht_cap && eht_cap->has_eht) in mt7925_get_phy_mode_ext()
2451 if (eht_cap && eht_cap->has_eht) in mt7925_get_phy_mode_ext()
2458 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()
/linux/include/linux/
H A Dieee80211-eht.h285 const struct ieee80211_eht_cap_elem_fixed *eht_cap, in ieee80211_eht_mcs_nss_size() argument
304 if (eht_cap->phy_cap_info[0] & IEEE80211_EHT_PHY_CAP0_320MHZ_IN_6GHZ) in ieee80211_eht_mcs_nss_size()
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dinit.c1492 struct ieee80211_sta_eht_cap *eht_cap = &data->eht_cap; in mt7996_init_eht_caps() local
1493 struct ieee80211_eht_cap_elem_fixed *eht_cap_elem = &eht_cap->eht_cap_elem; in mt7996_init_eht_caps()
1494 struct ieee80211_eht_mcs_nss_supp *eht_nss = &eht_cap->eht_mcs_nss_supp; in mt7996_init_eht_caps()
1503 eht_cap->has_eht = true; in mt7996_init_eht_caps()
H A Dmcu.c1360 if (!link_sta->eht_cap.has_eht) in mt7996_mcu_sta_eht_tlv()
1363 mcs_map = &link_sta->eht_cap.eht_mcs_nss_supp; in mt7996_mcu_sta_eht_tlv()
1364 elem = &link_sta->eht_cap.eht_cap_elem; in mt7996_mcu_sta_eht_tlv()
1535 if (link_sta->eht_cap.has_eht) { in mt7996_is_ebf_supported()
1536 struct ieee80211_sta_eht_cap *pc = &link_sta->eht_cap; in mt7996_is_ebf_supported()
1720 struct ieee80211_sta_eht_cap *pc = &link_sta->eht_cap; in mt7996_mcu_sta_bfer_eht()
1809 if (link_sta->eht_cap.has_eht) in mt7996_mcu_sta_bfer_tlv()
1828 if (link_sta->eht_cap.has_eht || link_sta->he_cap.has_he) in mt7996_mcu_sta_bfer_tlv()
/linux/net/mac80211/tests/
H A Dutil.c115 .eht_cap = {
/linux/net/wireless/
H A Dchan.c1297 if (!iftd->eht_cap.has_eht) in _cfg80211_chandef_usable()
1300 if (iftd->eht_cap.eht_cap_elem.phy_cap_info[0] & in _cfg80211_chandef_usable()
H A Dnl80211.c1970 const struct ieee80211_sta_eht_cap *eht_cap = &iftdata->eht_cap; in nl80211_send_iftype_data() local
1992 if (eht_cap->has_eht && he_cap->has_he) { in nl80211_send_iftype_data()
2002 &eht_cap->eht_cap_elem, in nl80211_send_iftype_data()
2005 ppe_thres_hdr = get_unaligned_le16(&eht_cap->eht_ppe_thres[0]); in nl80211_send_iftype_data()
2008 eht_cap->eht_cap_elem.phy_cap_info); in nl80211_send_iftype_data()
2011 sizeof(eht_cap->eht_cap_elem.mac_cap_info), in nl80211_send_iftype_data()
2012 eht_cap->eht_cap_elem.mac_cap_info) || in nl80211_send_iftype_data()
2014 sizeof(eht_cap->eht_cap_elem.phy_cap_info), in nl80211_send_iftype_data()
2015 eht_cap->eht_cap_elem.phy_cap_info) || in nl80211_send_iftype_data()
2017 mcs_nss_size, &eht_cap->eht_mcs_nss_supp) || in nl80211_send_iftype_data()
[all …]
/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c4420 .eht_cap = {
4528 .eht_cap = {
4682 .eht_cap = {
4807 .eht_cap = {
4988 .eht_cap = {
5134 .eht_cap = {
5273 .eht_cap = {
/linux/drivers/net/wireless/realtek/rtw89/
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()
234 if (link_sta->eht_cap.has_eht) { in rtw89_phy_ra_mask_cfg()
298 if (link_sta->eht_cap.has_eht) { in rtw89_phy_ra_gi_ltf()
348 if (link_sta->eht_cap.has_eht) { in rtw89_phy_ra_sta_update()
/linux/include/net/
H A Dcfg80211.h480 struct ieee80211_sta_eht_cap eht_cap; member
717 if (data && data->eht_cap.has_eht) in ieee80211_get_eht_iftype_cap()
718 return &data->eht_cap; in ieee80211_get_eht_iftype_cap()
1563 const struct ieee80211_eht_cap_elem *eht_cap; member

12