Home
last modified time | relevance | path

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

12

/linux/net/mac80211/
A Dhe.c113 struct ieee80211_sta_he_cap *he_cap = &sta->sta.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()
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()
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()
154 he_cap->has_he = true; in ieee80211_he_cap_ie_to_sta_he_cap()
163 &he_cap->he_mcs_nss_supp.rx_mcs_80, in ieee80211_he_cap_ie_to_sta_he_cap()
180 he_cap->he_cap_elem.phy_cap_info[0] &= in ieee80211_he_cap_ie_to_sta_he_cap()
[all …]
A Dvht.c336 struct ieee80211_sta_he_cap *he_cap = &sta->sta.he_cap; in ieee80211_sta_cap_rx_bw() local
339 if (he_cap->has_he) { in ieee80211_sta_cap_rx_bw()
340 u8 info = he_cap->he_cap_elem.phy_cap_info[0]; in ieee80211_sta_cap_rx_bw()
493 if (sta->sta.he_cap.has_he) { in ieee80211_sta_set_rx_nss()
496 const struct ieee80211_sta_he_cap *he_cap = &sta->sta.he_cap; in ieee80211_sta_set_rx_nss() local
498 le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_160); in ieee80211_sta_set_rx_nss()
499 u16 mcs_80_map = le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_80); in ieee80211_sta_set_rx_nss()
518 support_160 = he_cap->he_cap_elem.phy_cap_info[0] & in ieee80211_sta_set_rx_nss()
A Dutil.c963 elems->he_cap = data; in ieee80211_parse_extension_element()
1961 if (he_cap && in ieee80211_build_preq_ies_band()
1978 if (he_cap) { in ieee80211_build_preq_ies_band()
2898 if (!he_cap) in ieee80211_ie_len_he_cap()
2921 if (!he_cap) in ieee80211_ie_build_he_cap()
2926 sizeof(he_cap->he_cap_elem) + n + in ieee80211_ie_build_he_cap()
2938 memcpy(pos, &he_cap->he_cap_elem, sizeof(he_cap->he_cap_elem)); in ieee80211_ie_build_he_cap()
2939 pos += sizeof(he_cap->he_cap_elem); in ieee80211_ie_build_he_cap()
2953 n = hweight8(he_cap->ppe_thres[0] & in ieee80211_ie_build_he_cap()
2966 memcpy(pos, &he_cap->ppe_thres, n); in ieee80211_ie_build_he_cap()
[all …]
A Dagg-rx.c187 const struct ieee80211_sta_he_cap *he_cap; in ieee80211_add_addbaext() local
194 he_cap = ieee80211_get_he_iftype_cap(sband, in ieee80211_add_addbaext()
196 if (!he_cap) in ieee80211_add_addbaext()
207 cap_frag_level = u32_get_bits(he_cap->he_cap_elem.mac_cap_info[0], in ieee80211_add_addbaext()
263 if (sta->sta.he_cap.has_he && addbaext) in ieee80211_send_addba_resp()
312 if (sta->sta.he_cap.has_he) in ___ieee80211_start_rx_ba_session()
A Dmesh.c563 const struct ieee80211_sta_he_cap *he_cap; in mesh_add_he_cap_ie() local
571 he_cap = ieee80211_get_he_iftype_cap(sband, NL80211_IFTYPE_MESH_POINT); in mesh_add_he_cap_ie()
573 if (!he_cap || in mesh_add_he_cap_ie()
583 ieee80211_ie_build_he_cap(pos, he_cap, pos + ie_len); in mesh_add_he_cap_ie()
591 const struct ieee80211_sta_he_cap *he_cap; in mesh_add_he_oper_ie() local
600 he_cap = ieee80211_get_he_iftype_cap(sband, NL80211_IFTYPE_MESH_POINT); in mesh_add_he_oper_ie()
601 if (!he_cap || in mesh_add_he_oper_ie()
A Dmlme.c633 const struct ieee80211_sta_he_cap *he_cap = NULL; in ieee80211_add_he_ie() local
647 he_cap = ieee80211_get_he_iftype_cap(sband, in ieee80211_add_he_ie()
649 if (!he_cap || !reg_cap) in ieee80211_add_he_ie()
657 2 + 1 + sizeof(he_cap->he_cap_elem) + in ieee80211_add_he_ie()
659 ieee80211_he_ppe_size(he_cap->ppe_thres[0], in ieee80211_add_he_ie()
660 he_cap->he_cap_elem.phy_cap_info); in ieee80211_add_he_ie()
3279 (sta->sta.he_cap.he_cap_elem.mac_cap_info[2] & in ieee80211_twt_bcast_support()
3472 (!elems->he_cap || !elems->he_operation)) { in ieee80211_assoc_success()
3490 elems->he_cap) { in ieee80211_assoc_success()
3492 elems->he_cap, in ieee80211_assoc_success()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
A Drs-fw.c43 struct ieee80211_sta_he_cap *he_cap = &sta->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->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()
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()
194 const struct ieee80211_sta_he_cap *he_cap = &sta->he_cap; in rs_fw_he_set_enabled_rates() local
196 u16 mcs_80 = le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_80); in rs_fw_he_set_enabled_rates()
247 const struct ieee80211_sta_he_cap *he_cap = &sta->he_cap; in rs_fw_set_supp_rates() local
[all …]
A Dmac80211.c2058 if (!sta->he_cap.has_he) { in iwl_mvm_cfg_he_sta()
2070 if (sta->he_cap.he_cap_elem.mac_cap_info[0] & in iwl_mvm_cfg_he_sta()
2078 ((sta->he_cap.he_cap_elem.mac_cap_info[2] & in iwl_mvm_cfg_he_sta()
2080 (sta->he_cap.he_cap_elem.mac_cap_info[1] & in iwl_mvm_cfg_he_sta()
2107 u8 nss = (sta->he_cap.ppe_thres[0] & in iwl_mvm_cfg_he_sta()
2110 (sta->he_cap.ppe_thres[0] & in iwl_mvm_cfg_he_sta()
2113 u8 *ppe = &sta->he_cap.ppe_thres[0]; in iwl_mvm_cfg_he_sta()
3103 const struct ieee80211_sta_he_cap *he_cap; in iwl_mvm_reset_cca_40mhz_workaround() local
3120 he_cap = ieee80211_get_he_iftype_cap(sband, in iwl_mvm_reset_cca_40mhz_workaround()
3123 if (he_cap) { in iwl_mvm_reset_cca_40mhz_workaround()
[all …]
A Dsf.c111 sta->he_cap.has_he) { in iwl_mvm_fill_sf_command()
A 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 *)he_cap; in iwl_mvm_rx_monitor_notif()
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
A Dinit.c629 mt7915_set_stream_he_txbf_caps(struct ieee80211_sta_he_cap *he_cap, in mt7915_set_stream_he_txbf_caps() argument
632 struct ieee80211_he_cap_elem *elem = &he_cap->he_cap_elem; in mt7915_set_stream_he_txbf_caps()
739 struct ieee80211_sta_he_cap *he_cap = &data[idx].he_cap; in mt7915_init_he_caps() local
741 &he_cap->he_cap_elem; in mt7915_init_he_caps()
743 &he_cap->he_mcs_nss_supp; in mt7915_init_he_caps()
757 he_cap->has_he = true; in mt7915_init_he_caps()
848 mt7915_set_stream_he_txbf_caps(he_cap, i, nss); in mt7915_init_he_caps()
850 memset(he_cap->ppe_thres, 0, sizeof(he_cap->ppe_thres)); in mt7915_init_he_caps()
853 mt7915_gen_ppe_thresh(he_cap->ppe_thres, nss); in mt7915_init_he_caps()
A Dmcu.c162 he_cap = &sta->he_cap; in mt7915_get_phy_mode()
179 if (he_cap && he_cap->has_he) in mt7915_get_phy_mode()
190 if (he_cap && he_cap->has_he) in mt7915_get_phy_mode()
1351 if (!sta->he_cap.has_he) in mt7915_mcu_sta_he_tlv()
1434 he->he_cap = cpu_to_le32(cap); in mt7915_mcu_sta_he_tlv()
1540 if (!sta->he_cap.has_he) in mt7915_mcu_sta_muru_tlv()
1796 if (sta->he_cap.has_he) { in mt7915_is_ebf_supported()
2036 if (sta->he_cap.has_he) { in mt7915_mcu_sta_bfee_tlv()
2115 if (sta->he_cap.has_he) { in mt7915_mcu_add_rate_ctrl_fixed()
2153 if (sta->he_cap.has_he) in mt7915_mcu_add_rate_ctrl_fixed()
[all …]
A Ddebugfs.c608 phy.sgi |= gi << (i << sta->he_cap.has_he); in mt7915_sta_fixed_rate_set()
609 phy.he_ltf |= he_ltf << (i << sta->he_cap.has_he); in mt7915_sta_fixed_rate_set()
/linux/drivers/net/wireless/intel/iwlwifi/
A Diwl-nvm-parse.c551 .he_cap = {
636 .he_cap = {
750 iftype_data->he_cap.he_cap_elem.mac_cap_info[3] |= in iwl_nvm_fixup_sband_iftd()
753 iftype_data->he_cap.he_cap_elem.mac_cap_info[3] |= in iwl_nvm_fixup_sband_iftd()
757 iftype_data->he_cap.he_cap_elem.phy_cap_info[0] |= in iwl_nvm_fixup_sband_iftd()
761 iftype_data->he_cap.he_cap_elem.phy_cap_info[2] |= in iwl_nvm_fixup_sband_iftd()
763 iftype_data->he_cap.he_cap_elem.phy_cap_info[5] |= in iwl_nvm_fixup_sband_iftd()
773 iftype_data->he_cap.he_cap_elem.phy_cap_info[1] &= in iwl_nvm_fixup_sband_iftd()
775 iftype_data->he_cap.he_cap_elem.phy_cap_info[2] &= in iwl_nvm_fixup_sband_iftd()
777 iftype_data->he_cap.he_cap_elem.phy_cap_info[7] |= in iwl_nvm_fixup_sband_iftd()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/
A Dmt76_connac_mcu.c551 struct ieee80211_sta_he_cap *he_cap = &sta->he_cap; in mt76_connac_mcu_sta_he_tlv() local
637 he->he_cap = cpu_to_le32(cap); in mt76_connac_mcu_sta_he_tlv()
647 he_cap->he_mcs_nss_supp.rx_mcs_160; in mt76_connac_mcu_sta_he_tlv()
651 he_cap->he_mcs_nss_supp.rx_mcs_80; in mt76_connac_mcu_sta_he_tlv()
693 he_cap = &sta->he_cap; in mt76_connac_get_phy_mode_v2()
709 if (he_cap && he_cap->has_he) in mt76_connac_get_phy_mode_v2()
720 if (he_cap && he_cap->has_he) in mt76_connac_get_phy_mode_v2()
773 if (sta->he_cap.has_he) { in mt76_connac_mcu_sta_tlv()
1166 he_cap = &sta->he_cap; in mt76_connac_get_phy_mode()
1182 if (he_cap->has_he) in mt76_connac_get_phy_mode()
[all …]
/linux/drivers/net/wireless/ath/ath11k/
A Dmac.c1821 const struct ieee80211_sta_he_cap *he_cap = &sta->he_cap; in ath11k_peer_assoc_h_he() local
1834 if (!he_cap->has_he) in ath11k_peer_assoc_h_he()
1891 (he_cap->ppe_thres[0] & in ath11k_peer_assoc_h_he()
2024 const struct ieee80211_sta_he_cap *he_cap = &sta->he_cap; in ath11k_peer_assoc_h_he_6ghz() local
2284 if (sta->he_cap.has_he && in ath11k_peer_assoc_h_phymode()
2313 if (sta->he_cap.has_he && in ath11k_peer_assoc_h_phymode()
4770 struct ieee80211_sta_he_cap *he_cap = &data[idx].he_cap; in ath11k_mac_copy_he_cap() local
4773 &he_cap->he_cap_elem; in ath11k_mac_copy_he_cap()
4786 he_cap->has_he = true; in ath11k_mac_copy_he_cap()
4832 memset(he_cap->ppe_thres, 0, sizeof(he_cap->ppe_thres)); in ath11k_mac_copy_he_cap()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
A Dmain.c48 struct ieee80211_sta_he_cap *he_cap = &data[idx].he_cap; in mt7921_init_he_caps() local
50 &he_cap->he_cap_elem; in mt7921_init_he_caps()
52 &he_cap->he_mcs_nss_supp; in mt7921_init_he_caps()
62 he_cap->has_he = true; in mt7921_init_he_caps()
137 memset(he_cap->ppe_thres, 0, sizeof(he_cap->ppe_thres)); in mt7921_init_he_caps()
140 mt7921_gen_ppe_thresh(he_cap->ppe_thres, nss); in mt7921_init_he_caps()
/linux/drivers/net/wireless/quantenna/qtnfmac/
A 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/drivers/net/wireless/realtek/rtw89/
A Dfw.c769 u8 ppe_thres_hdr = sta->he_cap.ppe_thres[0]; in __get_sta_he_pkt_padding()
775 if (!sta->he_cap.has_he) in __get_sta_he_pkt_padding()
779 sta->he_cap.he_cap_elem.phy_cap_info[6]); in __get_sta_he_pkt_padding()
784 sta->he_cap.he_cap_elem.phy_cap_info[9]); in __get_sta_he_pkt_padding()
804 ppe = le16_to_cpu(*((__le16 *)&sta->he_cap.ppe_thres[idx])); in __get_sta_he_pkt_padding()
855 SET_CMC_TBL_BSR_QUEUE_SIZE_FORMAT(skb->data, sta->he_cap.has_he); in rtw89_fw_h2c_assoc_cmac_tbl()
A Dcore.c477 if (!sta || !sta->he_cap.has_he) in __rtw89_core_tx_check_he_qos_htc()
2048 struct ieee80211_sta_he_cap *he_cap; in rtw89_init_he_cap() local
2066 he_cap = &iftype_data[idx].he_cap; in rtw89_init_he_cap()
2067 mac_cap_info = he_cap->he_cap_elem.mac_cap_info; in rtw89_init_he_cap()
2068 phy_cap_info = he_cap->he_cap_elem.phy_cap_info; in rtw89_init_he_cap()
2070 he_cap->has_he = true; in rtw89_init_he_cap()
2121 he_cap->he_mcs_nss_supp.rx_mcs_80 = cpu_to_le16(mcs_map); in rtw89_init_he_cap()
2122 he_cap->he_mcs_nss_supp.tx_mcs_80 = cpu_to_le16(mcs_map); in rtw89_init_he_cap()
A Dphy.c78 struct ieee80211_sta_he_cap cap = sta->he_cap; in get_he_ra_mask()
158 if (sta->he_cap.has_he) { in rtw89_phy_ra_mask_cfg()
209 if (sta->he_cap.has_he) { in rtw89_phy_ra_sta_update()
214 if (sta->he_cap.he_cap_elem.phy_cap_info[2] & in rtw89_phy_ra_sta_update()
217 if (sta->he_cap.he_cap_elem.phy_cap_info[1] & in rtw89_phy_ra_sta_update()
294 if (sta->he_cap.he_cap_elem.phy_cap_info[3] & in rtw89_phy_ra_sta_update()
/linux/net/wireless/
A Dcore.c876 if (WARN_ON(!iftd->he_cap.has_he)) in wiphy_register()
882 have_he = iftd->he_cap.has_he; in wiphy_register()
885 iftd->he_cap.has_he; in wiphy_register()
A Dnl80211.c1729 const struct ieee80211_sta_he_cap *he_cap = &iftdata->he_cap; in nl80211_send_iftype_data() local
1735 if (he_cap->has_he) { in nl80211_send_iftype_data()
1738 he_cap->he_cap_elem.mac_cap_info) || in nl80211_send_iftype_data()
1741 he_cap->he_cap_elem.phy_cap_info) || in nl80211_send_iftype_data()
1743 sizeof(he_cap->he_mcs_nss_supp), in nl80211_send_iftype_data()
1744 &he_cap->he_mcs_nss_supp) || in nl80211_send_iftype_data()
1746 sizeof(he_cap->ppe_thres), he_cap->ppe_thres)) in nl80211_send_iftype_data()
4787 const struct ieee80211_sta_he_cap *he_cap; in he_set_mcs_mask() local
4793 if (!he_cap) in he_set_mcs_mask()
4852 if (!he_cap) in nl80211_parse_tx_bitrate_mask()
[all …]
/linux/include/net/
A Dcfg80211.h380 struct ieee80211_sta_he_cap he_cap; member
538 if (data && data->he_cap.has_he) in ieee80211_get_he_iftype_cap()
539 return &data->he_cap; in ieee80211_get_he_iftype_cap()
558 if (WARN_ON(!data || !data->he_cap.has_he)) in ieee80211_get_he_6ghz_capa()
1264 const struct ieee80211_he_cap_elem *he_cap; member
/linux/include/linux/
A Dieee80211.h2287 ieee80211_he_mcs_nss_size(const struct ieee80211_he_cap_elem *he_cap) in ieee80211_he_mcs_nss_size() argument
2291 if (he_cap->phy_cap_info[0] & in ieee80211_he_mcs_nss_size()
2295 if (he_cap->phy_cap_info[0] & in ieee80211_he_mcs_nss_size()

Completed in 160 milliseconds

12