/linux/net/mac80211/ |
H A D | he.c | 116 struct ieee80211_sta_he_cap *he_cap = &link_sta->pub->he_cap; in ieee80211_he_cap_ie_to_sta_he_cap() local 125 memset(he_cap, 0, sizeof(*he_cap)); in ieee80211_he_cap_ie_to_sta_he_cap() 140 ieee80211_he_ppe_size(he_cap_ie[sizeof(he_cap->he_cap_elem) + in ieee80211_he_cap_ie_to_sta_he_cap() 143 he_total_size = sizeof(he_cap->he_cap_elem) + mcs_nss_size + in ieee80211_he_cap_ie_to_sta_he_cap() 148 memcpy(&he_cap->he_cap_elem, he_cap_ie, sizeof(he_cap->he_cap_elem)); in ieee80211_he_cap_ie_to_sta_he_cap() 151 memcpy(&he_cap->he_mcs_nss_supp, in ieee80211_he_cap_ie_to_sta_he_cap() 152 &he_cap_ie[sizeof(he_cap in ieee80211_he_cap_ie_to_sta_he_cap() [all...] |
H A D | util.c | 2420 const struct ieee80211_sta_he_cap *he_cap; in ieee80211_ie_len_he_cap() local 2428 he_cap = ieee80211_get_he_iftype_cap_vif(sband, &sdata->vif); in ieee80211_ie_len_he_cap() 2429 if (!he_cap) in ieee80211_ie_len_he_cap() 2432 n = ieee80211_he_mcs_nss_size(&he_cap->he_cap_elem); in ieee80211_ie_len_he_cap() 2434 sizeof(he_cap->he_cap_elem) + n + in ieee80211_ie_len_he_cap() 2435 ieee80211_he_ppe_size(he_cap->ppe_thres[0], in ieee80211_ie_len_he_cap() 2436 he_cap->he_cap_elem.phy_cap_info); in ieee80211_ie_len_he_cap() 2441 const struct ieee80211_sta_he_cap *he_cap, in ieee80211_get_adjusted_he_cap() argument 2446 *elem = he_cap->he_cap_elem; in ieee80211_get_adjusted_he_cap() 2493 const struct ieee80211_sta_he_cap *he_cap; in ieee80211_put_he_cap() local [all …]
|
H A D | agg-rx.c | 201 if (!sta->sta.deflink.he_cap.has_he) in ieee80211_retrieve_addba_ext_data() 261 if (sta->sta.deflink.he_cap.has_he) in ieee80211_send_addba_resp() 297 !sta->sta.deflink.he_cap.has_he) { in __ieee80211_start_rx_ba_session() 314 else if (sta->sta.deflink.he_cap.has_he) in __ieee80211_start_rx_ba_session()
|
H A D | mlme.c | 197 if (!elems->he_6ghz_capa || !elems->he_cap) { in ieee80211_determine_ap_chan() 255 if (elems->he_cap && he_oper && in ieee80211_determine_ap_chan() 302 !elems->he_operation || !elems->he_cap) { in ieee80211_determine_ap_chan() 347 const struct ieee80211_he_cap_elem *he_cap, in ieee80211_verify_peer_he_mcs_support() argument 355 if (!he_cap) in ieee80211_verify_peer_he_mcs_support() 359 he_mcs_nss_supp = (void *)(he_cap + 1); in ieee80211_verify_peer_he_mcs_support() 949 (!ieee80211_verify_peer_he_mcs_support(sdata, (void *)elems->he_cap, in ieee80211_determine_chan_mode() 4667 return link_sta->pub->he_cap.he_cap_elem.mac_cap_info[0] & in ieee80211_twt_req_supported() 4698 (link_sta->pub->he_cap.he_cap_elem.mac_cap_info[2] & in ieee80211_twt_bcast_support() 4948 elems->he_cap) { in ieee80211_assoc_config_link() [all …]
|
H A D | agg-tx.c | 97 if (sta->sta.deflink.he_cap.has_he) in ieee80211_send_addba_request() 469 } else if (sta->sta.deflink.he_cap.has_he) { in ieee80211_send_addba_with_timeout() 613 !pubsta->deflink.he_cap.has_he && in ieee80211_start_tx_ba_session()
|
H A D | parse.c | 84 elems->he_cap = data; in ieee80211_parse_extension_element() 126 if (ieee80211_eht_capa_size_ok(elems->he_cap, in ieee80211_parse_extension_element()
|
H A D | main.c | 1290 supp_he = supp_he || iftd->he_cap.has_he; in ieee80211_register_hw() 1301 if (iftd->he_cap.has_he && in ieee80211_register_hw() 1306 !(iftd->he_cap.he_cap_elem.phy_cap_info[0] & he_40_mhz_cap)) in ieee80211_register_hw()
|
/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-nvm-parse.c | 603 .he_cap = { 760 .he_cap = { 927 iftype_data->he_cap.he_cap_elem.mac_cap_info[3] |= in iwl_nvm_fixup_sband_iftd() 930 iftype_data->he_cap.he_cap_elem.mac_cap_info[3] |= in iwl_nvm_fixup_sband_iftd() 933 iftype_data->he_cap.he_cap_elem.mac_cap_info[3] |= in iwl_nvm_fixup_sband_iftd() 938 iftype_data->he_cap.he_cap_elem.phy_cap_info[0] |= in iwl_nvm_fixup_sband_iftd() 953 iftype_data->he_cap.he_cap_elem.phy_cap_info[0] |= in iwl_nvm_fixup_sband_iftd() 963 iftype_data->he_cap.he_cap_elem.phy_cap_info[2] |= in iwl_nvm_fixup_sband_iftd() 965 iftype_data->he_cap.he_cap_elem.phy_cap_info[5] |= in iwl_nvm_fixup_sband_iftd() 969 iftype_data->he_cap.he_cap_elem.phy_cap_info[7] |= in iwl_nvm_fixup_sband_iftd() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76_connac_mcu.c | 626 struct ieee80211_sta_he_cap *he_cap = &sta->deflink.he_cap; in mt76_connac_mcu_sta_he_tlv() local 627 struct ieee80211_he_cap_elem *elem = &he_cap->he_cap_elem; in mt76_connac_mcu_sta_he_tlv() 712 he->he_cap = cpu_to_le32(cap); in mt76_connac_mcu_sta_he_tlv() 719 he_cap->he_mcs_nss_supp.rx_mcs_80p80; in mt76_connac_mcu_sta_he_tlv() 722 he_cap->he_mcs_nss_supp.rx_mcs_160; in mt76_connac_mcu_sta_he_tlv() 726 he_cap->he_mcs_nss_supp.rx_mcs_80; in mt76_connac_mcu_sta_he_tlv() 759 struct ieee80211_sta_he_cap *he_cap = &sta->deflink.he_cap; in mt76_connac_mcu_sta_he_tlv_v2() local 760 struct ieee80211_he_cap_elem *elem = &he_cap->he_cap_elem; in mt76_connac_mcu_sta_he_tlv_v2() 775 he_cap->he_mcs_nss_supp.rx_mcs_80p80; in mt76_connac_mcu_sta_he_tlv_v2() 778 he_cap->he_mcs_nss_supp.rx_mcs_160; in mt76_connac_mcu_sta_he_tlv_v2() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | init.c | 879 struct ieee80211_sta_he_cap *he_cap, int vif) in mt7915_set_stream_he_txbf_caps() argument 882 struct ieee80211_he_cap_elem *elem = &he_cap->he_cap_elem; in mt7915_set_stream_he_txbf_caps() 1000 struct ieee80211_sta_he_cap *he_cap = &data[idx].he_cap; in mt7915_init_he_caps() local 1002 &he_cap->he_cap_elem; in mt7915_init_he_caps() 1004 &he_cap->he_mcs_nss_supp; in mt7915_init_he_caps() 1018 he_cap->has_he = true; in mt7915_init_he_caps() 1112 mt7915_set_stream_he_txbf_caps(phy, he_cap, i); in mt7915_init_he_caps() 1114 memset(he_cap->ppe_thres, 0, sizeof(he_cap->ppe_thres)); in mt7915_init_he_caps() 1117 mt76_connac_gen_ppe_thresh(he_cap->ppe_thres, nss); in mt7915_init_he_caps()
|
H A D | mcu.c | 727 struct ieee80211_he_cap_elem *elem = &sta->deflink.he_cap.he_cap_elem; in mt7915_mcu_sta_he_tlv() 733 if (!sta->deflink.he_cap.has_he) in mt7915_mcu_sta_he_tlv() 817 he->he_cap = cpu_to_le32(cap); in mt7915_mcu_sta_he_tlv() 819 mcs_map = sta->deflink.he_cap.he_mcs_nss_supp; in mt7915_mcu_sta_he_tlv() 870 struct ieee80211_he_cap_elem *elem = &sta->deflink.he_cap.he_cap_elem; in mt7915_mcu_sta_muru_tlv() 893 if (!sta->deflink.he_cap.has_he) in mt7915_mcu_sta_muru_tlv() 1039 if (sta->deflink.he_cap.has_he) { in mt7915_is_ebf_supported() 1040 struct ieee80211_he_cap_elem *pe = &sta->deflink.he_cap.he_cap_elem; in mt7915_is_ebf_supported() 1139 struct ieee80211_sta_he_cap *pc = &sta->deflink.he_cap; in mt7915_mcu_sta_bfer_he() 1212 if (!(sta->deflink.ht_cap.ht_supported || sta->deflink.he_cap.has_he)) in mt7915_mcu_sta_bfer_tlv() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | init.c | 966 struct ieee80211_sta_he_cap *he_cap, int vif) in mt7996_set_stream_he_txbf_caps() argument 968 struct ieee80211_he_cap_elem *elem = &he_cap->he_cap_elem; in mt7996_set_stream_he_txbf_caps() 1051 struct ieee80211_sta_he_cap *he_cap = &data->he_cap; in mt7996_init_he_caps() local 1052 struct ieee80211_he_cap_elem *he_cap_elem = &he_cap->he_cap_elem; in mt7996_init_he_caps() 1053 struct ieee80211_he_mcs_nss_supp *he_mcs = &he_cap->he_mcs_nss_supp; in mt7996_init_he_caps() 1064 he_cap->has_he = true; in mt7996_init_he_caps() 1146 mt7996_set_stream_he_txbf_caps(phy, he_cap, iftype); in mt7996_init_he_caps() 1148 memset(he_cap->ppe_thres, 0, sizeof(he_cap->ppe_thres)); in mt7996_init_he_caps() 1151 mt76_connac_gen_ppe_thresh(he_cap->ppe_thres, nss); in mt7996_init_he_caps()
|
H A D | mcu.c | 1187 struct ieee80211_he_cap_elem *elem = &sta->deflink.he_cap.he_cap_elem; in mt7996_mcu_sta_he_tlv() 1193 if (!sta->deflink.he_cap.has_he) in mt7996_mcu_sta_he_tlv() 1205 mcs_map = sta->deflink.he_cap.he_mcs_nss_supp; in mt7996_mcu_sta_he_tlv() 1269 (sta->deflink.he_cap.he_cap_elem.phy_cap_info[0] & in mt7996_mcu_sta_eht_tlv() 1362 struct ieee80211_he_cap_elem *elem = &sta->deflink.he_cap.he_cap_elem; in mt7996_mcu_sta_muru_tlv() 1383 if (!sta->deflink.he_cap.has_he) in mt7996_mcu_sta_muru_tlv() 1438 if (sta->deflink.he_cap.has_he) { in mt7996_is_ebf_supported() 1439 struct ieee80211_he_cap_elem *pe = &sta->deflink.he_cap.he_cap_elem; in mt7996_is_ebf_supported() 1538 struct ieee80211_sta_he_cap *pc = &sta->deflink.he_cap; in mt7996_mcu_sta_bfer_he() 1670 if (!(sta->deflink.ht_cap.ht_supported || sta->deflink.he_cap.has_he)) in mt7996_mcu_sta_bfer_tlv() [all …]
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | mac.c | 2344 const struct ieee80211_sta_he_cap *he_cap = &sta->deflink.he_cap; in ath11k_peer_assoc_h_he() local 2359 if (!he_cap->has_he) in ath11k_peer_assoc_h_he() 2370 support_160 = !!(he_cap->he_cap_elem.phy_cap_info[0] & in ath11k_peer_assoc_h_he() 2374 mcs_160_map = le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_160); in ath11k_peer_assoc_h_he() 2375 mcs_80_map = le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_80); in ath11k_peer_assoc_h_he() 2410 he_cap->he_cap_elem.mac_cap_info, in ath11k_peer_assoc_h_he() 2411 sizeof(he_cap->he_cap_elem.mac_cap_info), in ath11k_peer_assoc_h_he() 2415 he_cap->he_cap_elem.phy_cap_info, in ath11k_peer_assoc_h_he() 2416 sizeof(he_cap->he_cap_elem.phy_cap_info), in ath11k_peer_assoc_h_he() 2434 ampdu_factor = u8_get_bits(he_cap->he_cap_elem.mac_cap_info[3], in ath11k_peer_assoc_h_he() [all …]
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | mac.c | 2165 const struct ieee80211_sta_he_cap *he_cap = &sta->deflink.he_cap; in ath12k_peer_assoc_h_he() local 2174 if (!he_cap->has_he) in ath12k_peer_assoc_h_he() 2179 support_160 = !!(he_cap->he_cap_elem.phy_cap_info[0] & in ath12k_peer_assoc_h_he() 2183 mcs_160_map = le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_160); in ath12k_peer_assoc_h_he() 2184 mcs_80_map = le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_80); in ath12k_peer_assoc_h_he() 2213 memcpy(&arg->peer_he_cap_macinfo, he_cap->he_cap_elem.mac_cap_info, in ath12k_peer_assoc_h_he() 2214 sizeof(he_cap->he_cap_elem.mac_cap_info)); in ath12k_peer_assoc_h_he() 2215 memcpy(&arg->peer_he_cap_phyinfo, he_cap->he_cap_elem.phy_cap_info, in ath12k_peer_assoc_h_he() 2216 sizeof(he_cap->he_cap_elem.phy_cap_info)); in ath12k_peer_assoc_h_he() 2234 ampdu_factor = u8_get_bits(he_cap->he_cap_elem.mac_cap_info[3], in ath12k_peer_assoc_h_he() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | main.c | 28 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); in mt7921_init_he_caps()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7925/ |
H A D | main.c | 19 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); in mt7925_init_he_caps()
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | sf.c | 123 link_sta->he_cap.has_he) { in iwl_mvm_fill_sf_command()
|
H A D | mac80211.c | 2309 u8 nss = (link_sta->he_cap.ppe_thres[0] & in iwl_mvm_set_pkt_ext_from_he_ppe() 2311 u8 *ppe = &link_sta->he_cap.ppe_thres[0]; in iwl_mvm_set_pkt_ext_from_he_ppe() 2431 } else if (link_sta->he_cap.he_cap_elem.phy_cap_info[6] & in iwl_mvm_set_sta_pkt_ext() 2454 } else if (link_sta->he_cap.has_he) { in iwl_mvm_set_sta_pkt_ext() 2456 if (link_sta->he_cap.he_cap_elem.phy_cap_info[6] & in iwl_mvm_set_sta_pkt_ext() 2465 u8_get_bits(link_sta->he_cap.he_cap_elem.phy_cap_info[9], in iwl_mvm_set_sta_pkt_ext() 2544 &link_sta->he_cap.he_cap_elem.mac_cap_info[0]; in iwl_mvm_get_sta_htc_flags() 2625 if (!sta->deflink.he_cap.has_he) { in iwl_mvm_cfg_he_sta() 2643 if (sta->deflink.he_cap.he_cap_elem.mac_cap_info[2] & in iwl_mvm_cfg_he_sta() 2647 if (sta->deflink.he_cap.he_cap_elem.mac_cap_info[2] & in iwl_mvm_cfg_he_sta() [all …]
|
H A D | ops.c | 205 const struct ieee80211_sta_he_cap *he_cap; in iwl_mvm_rx_monitor_notif() local 246 he_cap = ieee80211_get_he_iftype_cap_vif(sband, vif); in iwl_mvm_rx_monitor_notif() 248 if (he_cap) { in iwl_mvm_rx_monitor_notif() 250 struct ieee80211_sta_he_cap *he = (void *)(uintptr_t)he_cap; in iwl_mvm_rx_monitor_notif()
|
H A D | link.c | 308 if (!WARN_ON(!link_sta) && link_sta->he_cap.has_he && in iwl_mvm_link_changed() 309 link_sta->he_cap.he_cap_elem.mac_cap_info[5] & in iwl_mvm_link_changed()
|
H A D | mld-sta.c | 500 if (link_sta->he_cap.has_he) { in iwl_mvm_mld_cfg_sta() 510 if (link_sta->he_cap.he_cap_elem.mac_cap_info[2] & in iwl_mvm_mld_cfg_sta()
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | core.c | 716 if (!link_sta->he_cap.has_he) { in __rtw89_core_tx_check_he_qos_htc() 4009 struct ieee80211_sta_he_cap *he_cap; in rtw89_init_he_cap() local 4023 he_cap = &iftype_data->he_cap; in rtw89_init_he_cap() 4024 mac_cap_info = he_cap->he_cap_elem.mac_cap_info; in rtw89_init_he_cap() 4025 phy_cap_info = he_cap->he_cap_elem.phy_cap_info; in rtw89_init_he_cap() 4027 he_cap->has_he = true; in rtw89_init_he_cap() 4090 he_cap->he_mcs_nss_supp.rx_mcs_80 = cpu_to_le16(mcs_map); in rtw89_init_he_cap() 4091 he_cap->he_mcs_nss_supp.tx_mcs_80 = cpu_to_le16(mcs_map); in rtw89_init_he_cap() 4093 he_cap->he_mcs_nss_supp.rx_mcs_160 = cpu_to_le16(mcs_map); in rtw89_init_he_cap() 4094 he_cap->he_mcs_nss_supp.tx_mcs_160 = cpu_to_le16(mcs_map); in rtw89_init_he_cap()
|
/linux/net/wireless/ |
H A D | core.c | 941 if (WARN_ON(!iftd->he_cap.has_he)) in wiphy_register() 947 have_he = iftd->he_cap.has_he; in wiphy_register() 950 iftd->he_cap.has_he; in wiphy_register()
|
H A D | nl80211.c | 1848 const struct ieee80211_sta_he_cap *he_cap = &iftdata->he_cap; in nl80211_send_iftype_data() local 1855 if (he_cap->has_he) { in nl80211_send_iftype_data() 1857 sizeof(he_cap->he_cap_elem.mac_cap_info), in nl80211_send_iftype_data() 1858 he_cap->he_cap_elem.mac_cap_info) || in nl80211_send_iftype_data() 1860 sizeof(he_cap->he_cap_elem.phy_cap_info), in nl80211_send_iftype_data() 1861 he_cap->he_cap_elem.phy_cap_info) || in nl80211_send_iftype_data() 1863 sizeof(he_cap->he_mcs_nss_supp), in nl80211_send_iftype_data() 1864 &he_cap->he_mcs_nss_supp) || in nl80211_send_iftype_data() 1866 sizeof(he_cap->ppe_thres), he_cap->ppe_thres)) in nl80211_send_iftype_data() 1870 if (eht_cap->has_eht && he_cap->has_he) { in nl80211_send_iftype_data() [all …]
|