Home
last modified time | relevance | path

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

123

/linux-6.15/net/mac80211/
H A Dhe.c117 struct ieee80211_sta_he_cap *he_cap = &link_sta->pub->he_cap; in ieee80211_he_cap_ie_to_sta_he_cap() local
126 memset(he_cap, 0, sizeof(*he_cap)); in ieee80211_he_cap_ie_to_sta_he_cap()
149 memcpy(&he_cap->he_cap_elem, he_cap_ie, sizeof(he_cap->he_cap_elem)); in ieee80211_he_cap_ie_to_sta_he_cap()
152 memcpy(&he_cap->he_mcs_nss_supp, in ieee80211_he_cap_ie_to_sta_he_cap()
156 if (he_cap->he_cap_elem.phy_cap_info[6] & in ieee80211_he_cap_ie_to_sta_he_cap()
158 memcpy(he_cap->ppe_thres, in ieee80211_he_cap_ie_to_sta_he_cap()
162 he_cap->has_he = true; in ieee80211_he_cap_ie_to_sta_he_cap()
171 &he_cap->he_mcs_nss_supp.rx_mcs_80, in ieee80211_he_cap_ie_to_sta_he_cap()
173 &he_cap->he_mcs_nss_supp.tx_mcs_80); in ieee80211_he_cap_ie_to_sta_he_cap()
188 he_cap->he_cap_elem.phy_cap_info[0] &= in ieee80211_he_cap_ie_to_sta_he_cap()
[all …]
H A Dvht.c360 struct ieee80211_sta_he_cap *he_cap = &link_sta->pub->he_cap; in __ieee80211_sta_cap_rx_bw() local
364 if (he_cap->has_he) { in __ieee80211_sta_cap_rx_bw()
386 info = he_cap->he_cap_elem.phy_cap_info[0]; in __ieee80211_sta_cap_rx_bw()
570 if (link_sta->pub->he_cap.has_he) { in ieee80211_sta_init_nss()
573 const struct ieee80211_sta_he_cap *he_cap = &link_sta->pub->he_cap; in ieee80211_sta_init_nss() local
575 le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_160); in ieee80211_sta_init_nss()
576 u16 mcs_80_map = le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_80); in ieee80211_sta_init_nss()
595 support_160 = he_cap->he_cap_elem.phy_cap_info[0] & in ieee80211_sta_init_nss()
H A Dutil.c2426 const struct ieee80211_sta_he_cap *he_cap; in ieee80211_ie_len_he_cap() local
2435 if (!he_cap) in ieee80211_ie_len_he_cap()
2440 sizeof(he_cap->he_cap_elem) + n + in ieee80211_ie_len_he_cap()
2442 he_cap->he_cap_elem.phy_cap_info); in ieee80211_ie_len_he_cap()
2452 *elem = he_cap->he_cap_elem; in ieee80211_get_adjusted_he_cap()
2509 if (!he_cap) in ieee80211_put_he_cap()
2517 sizeof(he_cap->he_cap_elem) + n + in ieee80211_put_he_cap()
2542 n = hweight8(he_cap->ppe_thres[0] & in ieee80211_put_he_cap()
2555 skb_put_data(skb, &he_cap->ppe_thres, n); in ieee80211_put_he_cap()
4275 if (!he_cap || !eht_cap) in ieee80211_ie_len_eht_cap()
[all …]
H A Dagg-rx.c201 if (!sta->sta.deflink.he_cap.has_he) in ieee80211_retrieve_addba_ext_data()
263 if (sta->sta.valid_links || sta->sta.deflink.he_cap.has_he) in ieee80211_send_addba_resp()
300 !sta->sta.deflink.he_cap.has_he) { in __ieee80211_start_rx_ba_session()
317 else if (sta->sta.deflink.he_cap.has_he) in __ieee80211_start_rx_ba_session()
H A Dagg-tx.c97 if (sta->sta.deflink.he_cap.has_he) in ieee80211_send_addba_request()
471 } else if (sta->sta.deflink.he_cap.has_he) { in ieee80211_send_addba_with_timeout()
616 !pubsta->deflink.he_cap.has_he && in ieee80211_start_tx_ba_session()
H A Dmlme.c258 if (elems->he_cap && he_oper && in ieee80211_determine_ap_chan()
305 !elems->he_operation || !elems->he_cap) { in ieee80211_determine_ap_chan()
468 if (!he_cap) in ieee80211_verify_peer_he_mcs_support()
472 he_mcs_nss_supp = (void *)(he_cap + 1); in ieee80211_verify_peer_he_mcs_support()
1176 (void *)elems->he_cap, in ieee80211_determine_chan_mode()
5349 elems->he_cap) { in ieee80211_assoc_config_link()
5351 elems->he_cap, in ieee80211_assoc_config_link()
5371 elems->he_cap, in ieee80211_assoc_config_link()
5641 he_mcs_nss_supp = (void *)(he_cap + 1); in ieee80211_max_rx_chains()
5654 support_160 = he_cap->phy_cap_info[0] & in ieee80211_max_rx_chains()
[all …]
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/
H A Dtlc.c42 struct ieee80211_sta_he_cap *he_cap = &link_sta->he_cap; in iwl_mld_get_tlc_cmd_flags() local
49 if (he_cap->has_he && he_cap->he_cap_elem.phy_cap_info[2] & in iwl_mld_get_tlc_cmd_flags()
64 if (he_cap->has_he && (he_cap->he_cap_elem.phy_cap_info[1] & in iwl_mld_get_tlc_cmd_flags()
74 if (he_cap->has_he && in iwl_mld_get_tlc_cmd_flags()
75 (he_cap->he_cap_elem.phy_cap_info[3] & in iwl_mld_get_tlc_cmd_flags()
112 struct ieee80211_sta_he_cap *he_cap = &link_sta->he_cap; in iwl_mld_get_fw_sgi() local
119 if (he_cap->has_he) in iwl_mld_get_fw_sgi()
221 const struct ieee80211_sta_he_cap *he_cap = &link_sta->he_cap; in iwl_mld_fill_he_rates() local
415 const struct ieee80211_sta_he_cap *he_cap = &link_sta->he_cap; in iwl_mld_fill_supp_rates() local
429 } else if (he_cap->has_he && own_he_cap) { in iwl_mld_fill_supp_rates()
[all …]
H A Diface.c561 const struct ieee80211_sta_he_cap *he_cap; in iwl_mld_handle_datapath_monitor_notif() local
603 he_cap = ieee80211_get_he_iftype_cap_vif(sband, vif); in iwl_mld_handle_datapath_monitor_notif()
605 if (he_cap) { in iwl_mld_handle_datapath_monitor_notif()
607 struct ieee80211_sta_he_cap *he = (void *)(uintptr_t)he_cap; in iwl_mld_handle_datapath_monitor_notif()
623 const struct ieee80211_sta_he_cap *he_cap; in iwl_mld_reset_cca_40mhz_workaround() local
646 he_cap = ieee80211_get_he_iftype_cap_vif(sband, vif); in iwl_mld_reset_cca_40mhz_workaround()
648 if (he_cap) { in iwl_mld_reset_cca_40mhz_workaround()
650 struct ieee80211_sta_he_cap *he = (void *)(uintptr_t)he_cap; in iwl_mld_reset_cca_40mhz_workaround()
H A Dsta.c89 if (link_sta->he_cap.has_he) in iwl_mld_fill_ampdu_size_and_dens()
91 u8_get_bits(link_sta->he_cap.he_cap_elem.mac_cap_info[3], in iwl_mld_fill_ampdu_size_and_dens()
203 u8 nss = (link_sta->he_cap.ppe_thres[0] & in iwl_mld_set_pkt_ext_from_he_ppe()
205 u8 *ppe = &link_sta->he_cap.ppe_thres[0]; in iwl_mld_set_pkt_ext_from_he_ppe()
313 } else if (link_sta->he_cap.he_cap_elem.phy_cap_info[6] & in iwl_mld_fill_pkt_ext()
336 } else if (link_sta->he_cap.has_he) { in iwl_mld_fill_pkt_ext()
338 if (link_sta->he_cap.he_cap_elem.phy_cap_info[6] & in iwl_mld_fill_pkt_ext()
372 &link_sta->he_cap.he_cap_elem.mac_cap_info[0]; in iwl_mld_get_htc_flags()
482 if (link_sta->he_cap.has_he) { in iwl_mld_add_modify_sta_cmd()
493 if (link_sta->he_cap.he_cap_elem.mac_cap_info[2] & in iwl_mld_add_modify_sta_cmd()
[all …]
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drs-fw.c45 struct ieee80211_sta_he_cap *he_cap = &link_sta->he_cap; in rs_fw_sgi_cw_support() local
48 if (he_cap->has_he) in rs_fw_sgi_cw_support()
70 struct ieee80211_sta_he_cap *he_cap = &link_sta->he_cap; in rs_fw_get_config_flags() local
77 if (he_cap->has_he && he_cap->he_cap_elem.phy_cap_info[2] & in rs_fw_get_config_flags()
92 if (he_cap->has_he && (he_cap->he_cap_elem.phy_cap_info[1] & in rs_fw_get_config_flags()
101 if (he_cap->has_he && in rs_fw_get_config_flags()
102 (he_cap->he_cap_elem.phy_cap_info[3] & in rs_fw_get_config_flags()
200 const struct ieee80211_sta_he_cap *he_cap = &link_sta->he_cap; in rs_fw_he_set_enabled_rates() local
304 !(link_sta->he_cap.he_cap_elem.phy_cap_info[0] & in rs_fw_eht_set_enabled_rates()
378 const struct ieee80211_sta_he_cap *he_cap = &link_sta->he_cap; in rs_fw_set_supp_rates() local
[all …]
H A Dsf.c123 link_sta->he_cap.has_he) { in iwl_mvm_fill_sf_command()
H A Dmac80211.c2318 u8 nss = (link_sta->he_cap.ppe_thres[0] & in iwl_mvm_set_pkt_ext_from_he_ppe()
2320 u8 *ppe = &link_sta->he_cap.ppe_thres[0]; in iwl_mvm_set_pkt_ext_from_he_ppe()
2463 } else if (link_sta->he_cap.has_he) { in iwl_mvm_set_sta_pkt_ext()
2465 if (link_sta->he_cap.he_cap_elem.phy_cap_info[6] & in iwl_mvm_set_sta_pkt_ext()
2553 &link_sta->he_cap.he_cap_elem.mac_cap_info[0]; in iwl_mvm_get_sta_htc_flags()
2634 if (!sta->deflink.he_cap.has_he) { in iwl_mvm_cfg_he_sta()
3668 const struct ieee80211_sta_he_cap *he_cap; in iwl_mvm_reset_cca_40mhz_workaround() local
3687 if (he_cap) { in iwl_mvm_reset_cca_40mhz_workaround()
3845 link_conf->he_support = link_sta->he_cap.has_he; in iwl_mvm_vif_conf_from_sta()
3867 link_conf->he_support = link_sta->he_cap.has_he; in iwl_mvm_vif_set_he_support()
[all …]
/linux-6.15/drivers/net/wireless/intel/iwlwifi/
H A Diwl-nvm-parse.c605 .he_cap = {
765 .he_cap = {
929 iftype_data->he_cap.he_cap_elem.mac_cap_info[3] |= in iwl_nvm_fixup_sband_iftd()
932 iftype_data->he_cap.he_cap_elem.mac_cap_info[3] |= in iwl_nvm_fixup_sband_iftd()
935 iftype_data->he_cap.he_cap_elem.mac_cap_info[3] |= in iwl_nvm_fixup_sband_iftd()
940 iftype_data->he_cap.he_cap_elem.phy_cap_info[0] |= in iwl_nvm_fixup_sband_iftd()
955 iftype_data->he_cap.he_cap_elem.phy_cap_info[0] |= in iwl_nvm_fixup_sband_iftd()
965 iftype_data->he_cap.he_cap_elem.phy_cap_info[2] |= in iwl_nvm_fixup_sband_iftd()
967 iftype_data->he_cap.he_cap_elem.phy_cap_info[5] |= in iwl_nvm_fixup_sband_iftd()
999 &iftype_data->he_cap.he_mcs_nss_supp; in iwl_nvm_fixup_sband_iftd()
[all …]
/linux-6.15/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mcu.c627 struct ieee80211_sta_he_cap *he_cap = &sta->deflink.he_cap; in mt76_connac_mcu_sta_he_tlv() local
713 he->he_cap = cpu_to_le32(cap); in mt76_connac_mcu_sta_he_tlv()
727 he_cap->he_mcs_nss_supp.rx_mcs_80; in mt76_connac_mcu_sta_he_tlv()
760 struct ieee80211_sta_he_cap *he_cap = &sta->deflink.he_cap; in mt76_connac_mcu_sta_he_tlv_v2() local
805 he_cap = &link_sta->he_cap; in mt76_connac_get_phy_mode_v2()
823 if (he_cap && he_cap->has_he) in mt76_connac_get_phy_mode_v2()
837 if (he_cap && he_cap->has_he) in mt76_connac_get_phy_mode_v2()
896 if (sta->deflink.he_cap.has_he) { in mt76_connac_mcu_sta_tlv()
1336 he_cap = &link_sta->he_cap; in mt76_connac_get_phy_mode()
1352 if (he_cap && he_cap->has_he) in mt76_connac_get_phy_mode()
[all …]
/linux-6.15/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dinit.c891 struct ieee80211_sta_he_cap *he_cap, int vif) in mt7915_set_stream_he_txbf_caps() argument
894 struct ieee80211_he_cap_elem *elem = &he_cap->he_cap_elem; in mt7915_set_stream_he_txbf_caps()
1012 struct ieee80211_sta_he_cap *he_cap = &data[idx].he_cap; in mt7915_init_he_caps() local
1014 &he_cap->he_cap_elem; in mt7915_init_he_caps()
1016 &he_cap->he_mcs_nss_supp; in mt7915_init_he_caps()
1030 he_cap->has_he = true; in mt7915_init_he_caps()
1124 mt7915_set_stream_he_txbf_caps(phy, he_cap, i); in mt7915_init_he_caps()
1126 memset(he_cap->ppe_thres, 0, sizeof(he_cap->ppe_thres)); in mt7915_init_he_caps()
1129 mt76_connac_gen_ppe_thresh(he_cap->ppe_thres, nss, band); in mt7915_init_he_caps()
H A Dmcu.c754 if (!sta->deflink.he_cap.has_he) in mt7915_mcu_sta_he_tlv()
838 he->he_cap = cpu_to_le32(cap); in mt7915_mcu_sta_he_tlv()
840 mcs_map = sta->deflink.he_cap.he_mcs_nss_supp; in mt7915_mcu_sta_he_tlv()
914 if (!sta->deflink.he_cap.has_he) in mt7915_mcu_sta_muru_tlv()
1060 if (sta->deflink.he_cap.has_he) { in mt7915_is_ebf_supported()
1247 if (sta->deflink.he_cap.has_he && ebf) in mt7915_mcu_sta_bfer_tlv()
1305 if (sta->deflink.he_cap.has_he) { in mt7915_mcu_sta_bfee_tlv()
1456 if (sta->deflink.he_cap.has_he) { in mt7915_mcu_add_rate_ctrl_fixed()
1494 if (sta->deflink.he_cap.has_he) in mt7915_mcu_add_rate_ctrl_fixed()
1607 if (sta->deflink.he_cap.has_he) { in mt7915_mcu_sta_rate_ctrl_tlv()
[all …]
/linux-6.15/drivers/net/wireless/ath/ath11k/
H A Dmac.c2348 const struct ieee80211_sta_he_cap *he_cap = &sta->deflink.he_cap; in ath11k_peer_assoc_h_he() local
2363 if (!he_cap->has_he) in ath11k_peer_assoc_h_he()
2458 (he_cap->ppe_thres[0] & in ath11k_peer_assoc_h_he()
2591 const struct ieee80211_sta_he_cap *he_cap = &sta->deflink.he_cap; in ath11k_peer_assoc_h_he_6ghz() local
3108 he_cap = ap_sta->deflink.he_cap; in ath11k_bss_assoc()
5741 struct ieee80211_sta_he_cap *he_cap = &data[idx].he_cap; in ath11k_mac_copy_he_cap() local
5744 &he_cap->he_cap_elem; in ath11k_mac_copy_he_cap()
5757 he_cap->has_he = true; in ath11k_mac_copy_he_cap()
5792 memset(he_cap->ppe_thres, 0, sizeof(he_cap->ppe_thres)); in ath11k_mac_copy_he_cap()
5796 he_cap->ppe_thres); in ath11k_mac_copy_he_cap()
[all …]
/linux-6.15/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dinit.c1083 struct ieee80211_sta_he_cap *he_cap, int vif, in mt7996_set_stream_he_txbf_caps() argument
1086 struct ieee80211_he_cap_elem *elem = &he_cap->he_cap_elem; in mt7996_set_stream_he_txbf_caps()
1173 struct ieee80211_sta_he_cap *he_cap = &data->he_cap; in mt7996_init_he_caps() local
1174 struct ieee80211_he_cap_elem *he_cap_elem = &he_cap->he_cap_elem; in mt7996_init_he_caps()
1175 struct ieee80211_he_mcs_nss_supp *he_mcs = &he_cap->he_mcs_nss_supp; in mt7996_init_he_caps()
1186 he_cap->has_he = true; in mt7996_init_he_caps()
1270 mt7996_set_stream_he_txbf_caps(phy, he_cap, iftype, band); in mt7996_init_he_caps()
1272 memset(he_cap->ppe_thres, 0, sizeof(he_cap->ppe_thres)); in mt7996_init_he_caps()
1275 mt76_connac_gen_ppe_thresh(he_cap->ppe_thres, nss, band); in mt7996_init_he_caps()
H A Dmcu.c1190 if (!link_sta->he_cap.has_he) in mt7996_mcu_sta_he_tlv()
1202 mcs_map = link_sta->he_cap.he_mcs_nss_supp; in mt7996_mcu_sta_he_tlv()
1268 (link_sta->he_cap.he_cap_elem.phy_cap_info[0] & in mt7996_mcu_sta_eht_tlv()
1384 if (!link_sta->he_cap.has_he) in mt7996_mcu_sta_muru_tlv()
1440 if (link_sta->he_cap.has_he) { in mt7996_is_ebf_supported()
1548 struct ieee80211_sta_he_cap *pc = &link_sta->he_cap; in mt7996_mcu_sta_bfer_he()
1704 else if (link_sta->he_cap.has_he) in mt7996_mcu_sta_bfer_tlv()
1773 if (link_sta->he_cap.has_he) { in mt7996_mcu_sta_bfee_tlv()
1956 if (link_sta->he_cap.has_he) { in mt7996_mcu_add_rate_ctrl_fixed()
1994 if (link_sta->he_cap.has_he) in mt7996_mcu_add_rate_ctrl_fixed()
[all …]
/linux-6.15/drivers/net/wireless/ath/ath12k/
H A Dmac.c2397 he_cap = &link_sta->he_cap; in ath12k_peer_assoc_h_he()
2398 if (!he_cap->has_he) in ath12k_peer_assoc_h_he()
2478 (he_cap->ppe_thres[0] & in ath12k_peer_assoc_h_he()
2564 he_cap = &link_sta->he_cap; in ath12k_peer_assoc_h_he_6ghz()
3042 he_cap = &link_sta->he_cap; in ath12k_peer_assoc_h_eht()
6647 he_cap->has_he = true; in ath12k_mac_copy_he_cap()
6687 memset(he_cap->ppe_thres, 0, sizeof(he_cap->ppe_thres)); in ath12k_mac_copy_he_cap()
6699 if ((he_cap->phy_cap_info[0] & in ath12k_mac_copy_eht_mcs_nss()
6707 if (he_cap->phy_cap_info[0] & in ath12k_mac_copy_eht_mcs_nss()
6713 if (he_cap->phy_cap_info[0] & in ath12k_mac_copy_eht_mcs_nss()
[all …]
/linux-6.15/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmain.c28 struct ieee80211_sta_he_cap *he_cap = &data[idx].he_cap; in mt7921_init_he_caps() local
30 &he_cap->he_cap_elem; in mt7921_init_he_caps()
32 &he_cap->he_mcs_nss_supp; in mt7921_init_he_caps()
43 he_cap->has_he = true; in mt7921_init_he_caps()
147 memset(he_cap->ppe_thres, 0, sizeof(he_cap->ppe_thres)); in mt7921_init_he_caps()
150 mt76_connac_gen_ppe_thresh(he_cap->ppe_thres, nss, band); in mt7921_init_he_caps()
/linux-6.15/drivers/net/wireless/quantenna/qtnfmac/
H A Dcommands.c342 if (s->he_cap) in qtnf_cmd_send_start_ap()
344 s->he_cap, sizeof(*s->he_cap)); in qtnf_cmd_send_start_ap()
1301 iftype_data->he_cap.has_he = true; in qtnf_cmd_conv_iftype()
1302 memcpy(&iftype_data->he_cap.he_cap_elem, &qlink_data->he_cap_elem, in qtnf_cmd_conv_iftype()
1304 memcpy(iftype_data->he_cap.ppe_thres, qlink_data->ppe_thres, in qtnf_cmd_conv_iftype()
1307 iftype_data->he_cap.he_mcs_nss_supp.rx_mcs_80 = in qtnf_cmd_conv_iftype()
1309 iftype_data->he_cap.he_mcs_nss_supp.tx_mcs_80 = in qtnf_cmd_conv_iftype()
1311 iftype_data->he_cap.he_mcs_nss_supp.rx_mcs_160 = in qtnf_cmd_conv_iftype()
1313 iftype_data->he_cap.he_mcs_nss_supp.tx_mcs_160 = in qtnf_cmd_conv_iftype()
1315 iftype_data->he_cap.he_mcs_nss_supp.rx_mcs_80p80 = in qtnf_cmd_conv_iftype()
[all …]
/linux-6.15/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmain.c19 struct ieee80211_sta_he_cap *he_cap = &data->he_cap; in mt7925_init_he_caps() local
20 struct ieee80211_he_cap_elem *he_cap_elem = &he_cap->he_cap_elem; in mt7925_init_he_caps()
21 struct ieee80211_he_mcs_nss_supp *he_mcs = &he_cap->he_mcs_nss_supp; in mt7925_init_he_caps()
32 he_cap->has_he = true; in mt7925_init_he_caps()
129 memset(he_cap->ppe_thres, 0, sizeof(he_cap->ppe_thres)); in mt7925_init_he_caps()
133 mt76_connac_gen_ppe_thresh(he_cap->ppe_thres, nss, band); in mt7925_init_he_caps()
/linux-6.15/net/mac80211/tests/
H A Dutil.c69 .he_cap = {
/linux-6.15/include/linux/
H A Dieee80211.h2689 ieee80211_he_mcs_nss_size(const struct ieee80211_he_cap_elem *he_cap) in ieee80211_he_mcs_nss_size() argument
2693 if (he_cap->phy_cap_info[0] & in ieee80211_he_mcs_nss_size()
2697 if (he_cap->phy_cap_info[0] & in ieee80211_he_mcs_nss_size()
3202 ieee80211_eht_mcs_nss_size(const struct ieee80211_he_cap_elem *he_cap, in ieee80211_eht_mcs_nss_size() argument
3209 if (he_cap->phy_cap_info[0] & in ieee80211_eht_mcs_nss_size()
3214 if (he_cap->phy_cap_info[0] & in ieee80211_eht_mcs_nss_size()
3218 if (he_cap->phy_cap_info[0] & in ieee80211_eht_mcs_nss_size()

123