Home
last modified time | relevance | path

Searched refs:he_cap (Results 1 – 25 of 42) sorted by relevance

12

/linux-5.19.10/net/mac80211/
Dhe.c113 struct ieee80211_sta_he_cap *he_cap = &sta->sta.deflink.he_cap; in ieee80211_he_cap_ie_to_sta_he_cap() local
121 memset(he_cap, 0, sizeof(*he_cap)); in ieee80211_he_cap_ie_to_sta_he_cap()
128 own_he_cap = sband->iftype_data->he_cap; in ieee80211_he_cap_ie_to_sta_he_cap()
133 ieee80211_he_ppe_size(he_cap_ie[sizeof(he_cap->he_cap_elem) + in ieee80211_he_cap_ie_to_sta_he_cap()
136 he_total_size = sizeof(he_cap->he_cap_elem) + mcs_nss_size + in ieee80211_he_cap_ie_to_sta_he_cap()
141 memcpy(&he_cap->he_cap_elem, he_cap_ie, sizeof(he_cap->he_cap_elem)); in ieee80211_he_cap_ie_to_sta_he_cap()
144 memcpy(&he_cap->he_mcs_nss_supp, in ieee80211_he_cap_ie_to_sta_he_cap()
145 &he_cap_ie[sizeof(he_cap->he_cap_elem)], mcs_nss_size); in ieee80211_he_cap_ie_to_sta_he_cap()
148 if (he_cap->he_cap_elem.phy_cap_info[6] & in ieee80211_he_cap_ie_to_sta_he_cap()
150 memcpy(he_cap->ppe_thres, in ieee80211_he_cap_ie_to_sta_he_cap()
[all …]
Dvht.c336 struct ieee80211_sta_he_cap *he_cap = &sta->sta.deflink.he_cap; in ieee80211_sta_cap_rx_bw() local
340 if (he_cap->has_he) { in ieee80211_sta_cap_rx_bw()
352 info = he_cap->he_cap_elem.phy_cap_info[0]; in ieee80211_sta_cap_rx_bw()
518 if (sta->sta.deflink.he_cap.has_he) { in ieee80211_sta_set_rx_nss()
521 const struct ieee80211_sta_he_cap *he_cap = &sta->sta.deflink.he_cap; in ieee80211_sta_set_rx_nss() local
523 le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_160); in ieee80211_sta_set_rx_nss()
524 u16 mcs_80_map = le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_80); in ieee80211_sta_set_rx_nss()
543 support_160 = he_cap->he_cap_elem.phy_cap_info[0] & in ieee80211_sta_set_rx_nss()
Dutil.c980 elems->he_cap = data; in ieee80211_parse_extension_element()
1015 if (ieee80211_eht_capa_size_ok(elems->he_cap, in ieee80211_parse_extension_element()
1817 const struct ieee80211_sta_he_cap *he_cap; in ieee80211_build_preq_ies_band() local
1989 he_cap = ieee80211_get_he_iftype_cap(sband, in ieee80211_build_preq_ies_band()
1991 if (he_cap && in ieee80211_build_preq_ies_band()
1994 pos = ieee80211_ie_build_he_cap(0, pos, he_cap, end); in ieee80211_build_preq_ies_band()
2006 pos = ieee80211_ie_build_eht_cap(pos, he_cap, eht_cap, end); in ieee80211_build_preq_ies_band()
2017 he_cap = ieee80211_get_he_iftype_cap(sband6, in ieee80211_build_preq_ies_band()
2020 if (he_cap) { in ieee80211_build_preq_ies_band()
2918 const struct ieee80211_sta_he_cap *he_cap; in ieee80211_ie_len_he_cap() local
[all …]
Dagg-rx.c188 const struct ieee80211_sta_he_cap *he_cap; in ieee80211_add_addbaext() local
195 he_cap = ieee80211_get_he_iftype_cap(sband, in ieee80211_add_addbaext()
197 if (!he_cap) in ieee80211_add_addbaext()
208 cap_frag_level = u32_get_bits(he_cap->he_cap_elem.mac_cap_info[0], in ieee80211_add_addbaext()
266 if (sta->sta.deflink.he_cap.has_he && addbaext) in ieee80211_send_addba_resp()
317 else if (sta->sta.deflink.he_cap.has_he) in ___ieee80211_start_rx_ba_session()
Dmlme.c661 const struct ieee80211_sta_he_cap *he_cap = NULL; in ieee80211_add_he_ie() local
675 he_cap = ieee80211_get_he_iftype_cap(sband, in ieee80211_add_he_ie()
677 if (!he_cap || !chanctx_conf || !reg_cap) in ieee80211_add_he_ie()
682 2 + 1 + sizeof(he_cap->he_cap_elem) + in ieee80211_add_he_ie()
683 ieee80211_he_mcs_nss_size(&he_cap->he_cap_elem) + in ieee80211_add_he_ie()
684 ieee80211_he_ppe_size(he_cap->ppe_thres[0], in ieee80211_add_he_ie()
685 he_cap->he_cap_elem.phy_cap_info); in ieee80211_add_he_ie()
689 pos, he_cap, pos + he_cap_size); in ieee80211_add_he_ie()
701 const struct ieee80211_sta_he_cap *he_cap; in ieee80211_add_eht_ie() local
716 he_cap = ieee80211_get_he_iftype_cap(sband, in ieee80211_add_eht_ie()
[all …]
Dmesh.c564 const struct ieee80211_sta_he_cap *he_cap; in mesh_add_he_cap_ie() local
572 he_cap = ieee80211_get_he_iftype_cap(sband, NL80211_IFTYPE_MESH_POINT); in mesh_add_he_cap_ie()
574 if (!he_cap || in mesh_add_he_cap_ie()
584 ieee80211_ie_build_he_cap(0, pos, he_cap, pos + ie_len); in mesh_add_he_cap_ie()
592 const struct ieee80211_sta_he_cap *he_cap; in mesh_add_he_oper_ie() local
601 he_cap = ieee80211_get_he_iftype_cap(sband, NL80211_IFTYPE_MESH_POINT); in mesh_add_he_oper_ie()
602 if (!he_cap || in mesh_add_he_oper_ie()
Dieee80211_i.h1580 const u8 *he_cap; member
2413 const struct ieee80211_sta_he_cap *he_cap,
2549 const struct ieee80211_sta_he_cap *he_cap,
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/mvm/
Drs-fw.c43 struct ieee80211_sta_he_cap *he_cap = &sta->deflink.he_cap; in rs_fw_sgi_cw_support() local
46 if (he_cap->has_he) in rs_fw_sgi_cw_support()
67 struct ieee80211_sta_he_cap *he_cap = &sta->deflink.he_cap; in rs_fw_get_config_flags() local
74 if (he_cap->has_he && he_cap->he_cap_elem.phy_cap_info[2] & in rs_fw_get_config_flags()
89 if (he_cap->has_he && (he_cap->he_cap_elem.phy_cap_info[1] & in rs_fw_get_config_flags()
93 if (sband->iftype_data && sband->iftype_data->he_cap.has_he && in rs_fw_get_config_flags()
94 !(sband->iftype_data->he_cap.he_cap_elem.phy_cap_info[1] & in rs_fw_get_config_flags()
98 if (he_cap->has_he && in rs_fw_get_config_flags()
99 (he_cap->he_cap_elem.phy_cap_info[3] & in rs_fw_get_config_flags()
102 sband->iftype_data->he_cap.he_cap_elem.phy_cap_info[3] & in rs_fw_get_config_flags()
[all …]
Dmac80211.c1869 u8 nss = (sta->deflink.he_cap.ppe_thres[0] & IEEE80211_PPE_THRES_NSS_MASK) + 1; in iwl_mvm_set_pkt_ext_from_he_ppe()
1870 u8 *ppe = &sta->deflink.he_cap.ppe_thres[0]; in iwl_mvm_set_pkt_ext_from_he_ppe()
1985 if (!sta->deflink.he_cap.has_he) { in iwl_mvm_cfg_he_sta()
1997 if (sta->deflink.he_cap.he_cap_elem.mac_cap_info[0] & in iwl_mvm_cfg_he_sta()
2000 if ((sta->deflink.he_cap.he_cap_elem.mac_cap_info[1] & in iwl_mvm_cfg_he_sta()
2002 (sta->deflink.he_cap.he_cap_elem.mac_cap_info[2] & in iwl_mvm_cfg_he_sta()
2005 ((sta->deflink.he_cap.he_cap_elem.mac_cap_info[2] & in iwl_mvm_cfg_he_sta()
2007 (sta->deflink.he_cap.he_cap_elem.mac_cap_info[1] & in iwl_mvm_cfg_he_sta()
2017 if (sta->deflink.he_cap.he_cap_elem.mac_cap_info[2] & IEEE80211_HE_MAC_CAP2_BSR) in iwl_mvm_cfg_he_sta()
2019 if (sta->deflink.he_cap.he_cap_elem.mac_cap_info[3] & in iwl_mvm_cfg_he_sta()
[all …]
Dsf.c111 sta->deflink.he_cap.has_he) { in iwl_mvm_fill_sf_command()
Dops.c150 const struct ieee80211_sta_he_cap *he_cap; in iwl_mvm_rx_monitor_notif() local
191 he_cap = ieee80211_get_he_iftype_cap(sband, in iwl_mvm_rx_monitor_notif()
194 if (he_cap) { in iwl_mvm_rx_monitor_notif()
196 struct ieee80211_sta_he_cap *he = (void *)(uintptr_t)he_cap; in iwl_mvm_rx_monitor_notif()
/linux-5.19.10/drivers/net/wireless/mediatek/mt76/mt7915/
Dinit.c725 struct ieee80211_sta_he_cap *he_cap, in mt7915_set_stream_he_txbf_caps() argument
728 struct ieee80211_he_cap_elem *elem = &he_cap->he_cap_elem; in mt7915_set_stream_he_txbf_caps()
856 struct ieee80211_sta_he_cap *he_cap = &data[idx].he_cap; in mt7915_init_he_caps() local
858 &he_cap->he_cap_elem; in mt7915_init_he_caps()
860 &he_cap->he_mcs_nss_supp; in mt7915_init_he_caps()
874 he_cap->has_he = true; in mt7915_init_he_caps()
965 mt7915_set_stream_he_txbf_caps(dev, he_cap, i, nss); in mt7915_init_he_caps()
967 memset(he_cap->ppe_thres, 0, sizeof(he_cap->ppe_thres)); in mt7915_init_he_caps()
970 mt7915_gen_ppe_thresh(he_cap->ppe_thres, nss); in mt7915_init_he_caps()
Dmcu.c791 struct ieee80211_he_cap_elem *elem = &sta->deflink.he_cap.he_cap_elem; in mt7915_mcu_sta_he_tlv()
797 if (!sta->deflink.he_cap.has_he) in mt7915_mcu_sta_he_tlv()
881 he->he_cap = cpu_to_le32(cap); in mt7915_mcu_sta_he_tlv()
883 mcs_map = sta->deflink.he_cap.he_mcs_nss_supp; in mt7915_mcu_sta_he_tlv()
934 struct ieee80211_he_cap_elem *elem = &sta->deflink.he_cap.he_cap_elem; in mt7915_mcu_sta_muru_tlv()
956 if (!sta->deflink.he_cap.has_he) in mt7915_mcu_sta_muru_tlv()
1100 if (sta->deflink.he_cap.has_he) { in mt7915_is_ebf_supported()
1101 struct ieee80211_he_cap_elem *pe = &sta->deflink.he_cap.he_cap_elem; in mt7915_is_ebf_supported()
1200 struct ieee80211_sta_he_cap *pc = &sta->deflink.he_cap; in mt7915_mcu_sta_bfer_he()
1273 if (!(sta->deflink.ht_cap.ht_supported || sta->deflink.he_cap.has_he)) in mt7915_mcu_sta_bfer_tlv()
[all …]
Ddebugfs.c1148 phy.sgi |= gi << (i << sta->deflink.he_cap.has_he); in mt7915_sta_fixed_rate_set()
1149 phy.he_ltf |= he_ltf << (i << sta->deflink.he_cap.has_he); in mt7915_sta_fixed_rate_set()
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/
Diwl-nvm-parse.c552 .he_cap = {
637 .he_cap = {
752 iftype_data->he_cap.he_cap_elem.mac_cap_info[3] |= in iwl_nvm_fixup_sband_iftd()
755 iftype_data->he_cap.he_cap_elem.mac_cap_info[3] |= in iwl_nvm_fixup_sband_iftd()
759 iftype_data->he_cap.he_cap_elem.phy_cap_info[0] |= in iwl_nvm_fixup_sband_iftd()
763 iftype_data->he_cap.he_cap_elem.phy_cap_info[2] |= in iwl_nvm_fixup_sband_iftd()
765 iftype_data->he_cap.he_cap_elem.phy_cap_info[5] |= in iwl_nvm_fixup_sband_iftd()
769 iftype_data->he_cap.he_cap_elem.phy_cap_info[7] |= in iwl_nvm_fixup_sband_iftd()
775 iftype_data->he_cap.he_cap_elem.phy_cap_info[1] &= in iwl_nvm_fixup_sband_iftd()
777 iftype_data->he_cap.he_cap_elem.phy_cap_info[2] &= in iwl_nvm_fixup_sband_iftd()
[all …]
/linux-5.19.10/drivers/net/wireless/mediatek/mt76/
Dmt76_connac_mcu.c613 struct ieee80211_sta_he_cap *he_cap = &sta->deflink.he_cap; in mt76_connac_mcu_sta_he_tlv() local
614 struct ieee80211_he_cap_elem *elem = &he_cap->he_cap_elem; in mt76_connac_mcu_sta_he_tlv()
699 he->he_cap = cpu_to_le32(cap); in mt76_connac_mcu_sta_he_tlv()
706 he_cap->he_mcs_nss_supp.rx_mcs_80p80; in mt76_connac_mcu_sta_he_tlv()
709 he_cap->he_mcs_nss_supp.rx_mcs_160; in mt76_connac_mcu_sta_he_tlv()
713 he_cap->he_mcs_nss_supp.rx_mcs_80; in mt76_connac_mcu_sta_he_tlv()
749 const struct ieee80211_sta_he_cap *he_cap; in mt76_connac_get_phy_mode_v2() local
755 he_cap = &sta->deflink.he_cap; in mt76_connac_get_phy_mode_v2()
762 he_cap = ieee80211_get_he_iftype_cap(sband, vif->type); in mt76_connac_get_phy_mode_v2()
771 if (he_cap && he_cap->has_he) in mt76_connac_get_phy_mode_v2()
[all …]
/linux-5.19.10/drivers/net/wireless/ath/ath11k/
Dmac.c2081 const struct ieee80211_sta_he_cap *he_cap = &sta->deflink.he_cap; in ath11k_peer_assoc_h_he() local
2096 if (!he_cap->has_he) in ath11k_peer_assoc_h_he()
2106 support_160 = !!(he_cap->he_cap_elem.phy_cap_info[0] & in ath11k_peer_assoc_h_he()
2110 mcs_160_map = le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_160); in ath11k_peer_assoc_h_he()
2111 mcs_80_map = le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_80); in ath11k_peer_assoc_h_he()
2142 he_cap->he_cap_elem.mac_cap_info, in ath11k_peer_assoc_h_he()
2143 sizeof(he_cap->he_cap_elem.mac_cap_info), in ath11k_peer_assoc_h_he()
2147 he_cap->he_cap_elem.phy_cap_info, in ath11k_peer_assoc_h_he()
2148 sizeof(he_cap->he_cap_elem.phy_cap_info), in ath11k_peer_assoc_h_he()
2166 ampdu_factor = u8_get_bits(he_cap->he_cap_elem.mac_cap_info[3], in ath11k_peer_assoc_h_he()
[all …]
/linux-5.19.10/drivers/net/wireless/mediatek/mt76/mt7921/
Dmain.c49 struct ieee80211_sta_he_cap *he_cap = &data[idx].he_cap; in mt7921_init_he_caps() local
51 &he_cap->he_cap_elem; in mt7921_init_he_caps()
53 &he_cap->he_mcs_nss_supp; in mt7921_init_he_caps()
64 he_cap->has_he = true; in mt7921_init_he_caps()
168 memset(he_cap->ppe_thres, 0, sizeof(he_cap->ppe_thres)); in mt7921_init_he_caps()
171 mt7921_gen_ppe_thresh(he_cap->ppe_thres, nss); in mt7921_init_he_caps()
/linux-5.19.10/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.c340 if (s->he_cap) in qtnf_cmd_send_start_ap()
342 s->he_cap, sizeof(*s->he_cap)); in qtnf_cmd_send_start_ap()
1299 iftype_data->he_cap.has_he = true; in qtnf_cmd_conv_iftype()
1300 memcpy(&iftype_data->he_cap.he_cap_elem, &qlink_data->he_cap_elem, in qtnf_cmd_conv_iftype()
1302 memcpy(iftype_data->he_cap.ppe_thres, qlink_data->ppe_thres, in qtnf_cmd_conv_iftype()
1305 iftype_data->he_cap.he_mcs_nss_supp.rx_mcs_80 = in qtnf_cmd_conv_iftype()
1307 iftype_data->he_cap.he_mcs_nss_supp.tx_mcs_80 = in qtnf_cmd_conv_iftype()
1309 iftype_data->he_cap.he_mcs_nss_supp.rx_mcs_160 = in qtnf_cmd_conv_iftype()
1311 iftype_data->he_cap.he_mcs_nss_supp.tx_mcs_160 = in qtnf_cmd_conv_iftype()
1313 iftype_data->he_cap.he_mcs_nss_supp.rx_mcs_80p80 = in qtnf_cmd_conv_iftype()
[all …]
/linux-5.19.10/drivers/net/wireless/realtek/rtw89/
Dcore.c615 if (!sta || !sta->deflink.he_cap.has_he) in __rtw89_core_tx_check_he_qos_htc()
2502 struct ieee80211_sta_he_cap *he_cap; in rtw89_init_he_cap() local
2520 he_cap = &iftype_data[idx].he_cap; in rtw89_init_he_cap()
2521 mac_cap_info = he_cap->he_cap_elem.mac_cap_info; in rtw89_init_he_cap()
2522 phy_cap_info = he_cap->he_cap_elem.phy_cap_info; in rtw89_init_he_cap()
2524 he_cap->has_he = true; in rtw89_init_he_cap()
2586 he_cap->he_mcs_nss_supp.rx_mcs_80 = cpu_to_le16(mcs_map); in rtw89_init_he_cap()
2587 he_cap->he_mcs_nss_supp.tx_mcs_80 = cpu_to_le16(mcs_map); in rtw89_init_he_cap()
2589 he_cap->he_mcs_nss_supp.rx_mcs_160 = cpu_to_le16(mcs_map); in rtw89_init_he_cap()
2590 he_cap->he_mcs_nss_supp.tx_mcs_160 = cpu_to_le16(mcs_map); in rtw89_init_he_cap()
Dfw.c873 u8 ppe_thres_hdr = sta->deflink.he_cap.ppe_thres[0]; in __get_sta_he_pkt_padding()
879 if (!sta->deflink.he_cap.has_he) in __get_sta_he_pkt_padding()
883 sta->deflink.he_cap.he_cap_elem.phy_cap_info[6]); in __get_sta_he_pkt_padding()
888 sta->deflink.he_cap.he_cap_elem.phy_cap_info[9]); in __get_sta_he_pkt_padding()
910 ppe = le16_to_cpu(*((__le16 *)&sta->deflink.he_cap.ppe_thres[idx])); in __get_sta_he_pkt_padding()
974 sta->deflink.he_cap.has_he); in rtw89_fw_h2c_assoc_cmac_tbl()
/linux-5.19.10/include/linux/
Dieee80211.h2400 ieee80211_he_mcs_nss_size(const struct ieee80211_he_cap_elem *he_cap) in ieee80211_he_mcs_nss_size() argument
2404 if (he_cap->phy_cap_info[0] & in ieee80211_he_mcs_nss_size()
2408 if (he_cap->phy_cap_info[0] & in ieee80211_he_mcs_nss_size()
2826 ieee80211_eht_mcs_nss_size(const struct ieee80211_he_cap_elem *he_cap, in ieee80211_eht_mcs_nss_size() argument
2832 if (he_cap->phy_cap_info[0] & in ieee80211_eht_mcs_nss_size()
2837 if (he_cap->phy_cap_info[0] & in ieee80211_eht_mcs_nss_size()
2841 if (he_cap->phy_cap_info[0] & in ieee80211_eht_mcs_nss_size()
/linux-5.19.10/net/wireless/
Dcore.c872 if (WARN_ON(!iftd->he_cap.has_he)) in wiphy_register()
878 have_he = iftd->he_cap.has_he; in wiphy_register()
881 iftd->he_cap.has_he; in wiphy_register()
Dnl80211.c1790 const struct ieee80211_sta_he_cap *he_cap = &iftdata->he_cap; in nl80211_send_iftype_data() local
1797 if (he_cap->has_he) { in nl80211_send_iftype_data()
1799 sizeof(he_cap->he_cap_elem.mac_cap_info), in nl80211_send_iftype_data()
1800 he_cap->he_cap_elem.mac_cap_info) || in nl80211_send_iftype_data()
1802 sizeof(he_cap->he_cap_elem.phy_cap_info), in nl80211_send_iftype_data()
1803 he_cap->he_cap_elem.phy_cap_info) || in nl80211_send_iftype_data()
1805 sizeof(he_cap->he_mcs_nss_supp), in nl80211_send_iftype_data()
1806 &he_cap->he_mcs_nss_supp) || in nl80211_send_iftype_data()
1808 sizeof(he_cap->ppe_thres), he_cap->ppe_thres)) in nl80211_send_iftype_data()
1812 if (eht_cap->has_eht && he_cap->has_he) { in nl80211_send_iftype_data()
[all …]
/linux-5.19.10/include/net/
Dcfg80211.h429 struct ieee80211_sta_he_cap he_cap; member
588 if (data && data->he_cap.has_he) in ieee80211_get_he_iftype_cap()
589 return &data->he_cap; in ieee80211_get_he_iftype_cap()
608 if (WARN_ON(!data || !data->he_cap.has_he)) in ieee80211_get_he_6ghz_capa()
1330 const struct ieee80211_he_cap_elem *he_cap; member

12