/net/mac80211/ |
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->he_cap_elem)], mcs_nss_size); in ieee80211_he_cap_ie_to_sta_he_cap() 155 if (he_cap->he_cap_elem.phy_cap_info[6] & in ieee80211_he_cap_ie_to_sta_he_cap() 157 memcpy(he_cap->ppe_thres, in ieee80211_he_cap_ie_to_sta_he_cap() 158 &he_cap_ie[sizeof(he_cap->he_cap_elem) + mcs_nss_size], in ieee80211_he_cap_ie_to_sta_he_cap() [all …]
|
D | vht.c | 359 struct ieee80211_sta_he_cap *he_cap = &link_sta->pub->he_cap; in ieee80211_sta_cap_rx_bw() local 363 if (he_cap->has_he) { in ieee80211_sta_cap_rx_bw() 381 info = he_cap->he_cap_elem.phy_cap_info[0]; in ieee80211_sta_cap_rx_bw() 560 if (link_sta->pub->he_cap.has_he) { in ieee80211_sta_init_nss() 563 const struct ieee80211_sta_he_cap *he_cap = &link_sta->pub->he_cap; in ieee80211_sta_init_nss() local 565 le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_160); in ieee80211_sta_init_nss() 566 u16 mcs_80_map = le16_to_cpu(he_cap->he_mcs_nss_supp.rx_mcs_80); in ieee80211_sta_init_nss() 585 support_160 = he_cap->he_cap_elem.phy_cap_info[0] & in ieee80211_sta_init_nss()
|
D | util.c | 937 elems->he_cap = data; in ieee80211_parse_extension_element() 969 if (ieee80211_eht_capa_size_ok(elems->he_cap, in ieee80211_parse_extension_element() 1937 const struct ieee80211_sta_he_cap *he_cap; in ieee80211_build_preq_ies_band() local 2117 he_cap = ieee80211_get_he_iftype_cap_vif(sband, &sdata->vif); in ieee80211_build_preq_ies_band() 2118 if (he_cap && in ieee80211_build_preq_ies_band() 2121 pos = ieee80211_ie_build_he_cap(0, pos, he_cap, end); in ieee80211_build_preq_ies_band() 2132 pos = ieee80211_ie_build_eht_cap(pos, he_cap, eht_cap, end, in ieee80211_build_preq_ies_band() 2144 he_cap = ieee80211_get_he_iftype_cap_vif(sband6, &sdata->vif); in ieee80211_build_preq_ies_band() 2146 if (he_cap) { in ieee80211_build_preq_ies_band() 3183 const struct ieee80211_sta_he_cap *he_cap; in ieee80211_ie_len_he_cap() local [all …]
|
D | tdls.c | 375 const struct ieee80211_sta_he_cap *he_cap; in ieee80211_tdls_add_setup_start_ies() local 504 he_cap = ieee80211_get_he_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() 551 if (he_cap && in ieee80211_tdls_add_setup_start_ies() 559 2 + 1 + sizeof(he_cap->he_cap_elem) + in ieee80211_tdls_add_setup_start_ies() 560 ieee80211_he_mcs_nss_size(&he_cap->he_cap_elem) + in ieee80211_tdls_add_setup_start_ies() 561 ieee80211_he_ppe_size(he_cap->ppe_thres[0], in ieee80211_tdls_add_setup_start_ies() 562 he_cap->he_cap_elem.phy_cap_info); in ieee80211_tdls_add_setup_start_ies() 564 pos = ieee80211_ie_build_he_cap(0, pos, he_cap, pos + cap_size); in ieee80211_tdls_add_setup_start_ies() 594 if (he_cap && eht_cap && in ieee80211_tdls_add_setup_start_ies() [all …]
|
D | mesh.c | 565 const struct ieee80211_sta_he_cap *he_cap; in mesh_add_he_cap_ie() local 573 he_cap = ieee80211_get_he_iftype_cap(sband, NL80211_IFTYPE_MESH_POINT); in mesh_add_he_cap_ie() 575 if (!he_cap || in mesh_add_he_cap_ie() 585 ieee80211_ie_build_he_cap(0, pos, he_cap, pos + ie_len); in mesh_add_he_cap_ie() 593 const struct ieee80211_sta_he_cap *he_cap; in mesh_add_he_oper_ie() local 602 he_cap = ieee80211_get_he_iftype_cap(sband, NL80211_IFTYPE_MESH_POINT); in mesh_add_he_oper_ie() 603 if (!he_cap || in mesh_add_he_oper_ie() 645 const struct ieee80211_sta_he_cap *he_cap; in mesh_add_eht_cap_ie() local 654 he_cap = ieee80211_get_he_iftype_cap(sband, NL80211_IFTYPE_MESH_POINT); in mesh_add_eht_cap_ie() 656 if (!he_cap || !eht_cap || in mesh_add_eht_cap_ie() [all …]
|
D | mlme.c | 774 const struct ieee80211_sta_he_cap *he_cap; in ieee80211_add_he_ie() local 777 he_cap = ieee80211_get_he_iftype_cap_vif(sband, &sdata->vif); in ieee80211_add_he_ie() 778 if (WARN_ON(!he_cap)) in ieee80211_add_he_ie() 783 2 + 1 + sizeof(he_cap->he_cap_elem) + in ieee80211_add_he_ie() 784 ieee80211_he_mcs_nss_size(&he_cap->he_cap_elem) + in ieee80211_add_he_ie() 785 ieee80211_he_ppe_size(he_cap->ppe_thres[0], in ieee80211_add_he_ie() 786 he_cap->he_cap_elem.phy_cap_info); in ieee80211_add_he_ie() 790 pos, he_cap, pos + he_cap_size); in ieee80211_add_he_ie() 802 const struct ieee80211_sta_he_cap *he_cap; in ieee80211_add_eht_ie() local 806 he_cap = ieee80211_get_he_iftype_cap_vif(sband, &sdata->vif); in ieee80211_add_eht_ie() [all …]
|
D | agg-rx.c | 247 if (sta->sta.deflink.he_cap.has_he && addbaext) in ieee80211_send_addba_resp() 281 !sta->sta.deflink.he_cap.has_he) { in ___ieee80211_start_rx_ba_session() 298 else if (sta->sta.deflink.he_cap.has_he) in ___ieee80211_start_rx_ba_session()
|
D | mesh_plink.c | 457 ieee80211_he_cap_ie_to_sta_he_cap(sdata, sband, elems->he_cap, in mesh_sta_info_init() 462 ieee80211_eht_cap_ie_to_sta_eht_cap(sdata, sband, elems->he_cap, in mesh_sta_info_init()
|
D | ieee80211_i.h | 1696 const u8 *he_cap; member 2495 const struct ieee80211_sta_he_cap *he_cap, 2631 const struct ieee80211_sta_he_cap *he_cap,
|
D | cfg.c | 1324 if (params->he_cap && params->he_oper) { in ieee80211_start_ap() 1338 if (params->he_cap) { in ieee80211_start_ap() 1340 params->he_cap->phy_cap_info[1] & in ieee80211_start_ap() 1343 params->he_cap->phy_cap_info[3] & in ieee80211_start_ap() 1346 params->he_cap->phy_cap_info[4] & in ieee80211_start_ap() 1349 params->he_cap->phy_cap_info[4] & in ieee80211_start_ap() 1352 params->he_cap->phy_cap_info[2] & in ieee80211_start_ap()
|
D | debugfs_sta.c | 671 struct ieee80211_sta_he_cap *hec = &link_sta->pub->he_cap; in link_sta_he_capa_read() 1176 if (!(link_sta->pub->he_cap.he_cap_elem.phy_cap_info[0] & in link_sta_eht_capa_read()
|
D | agg-tx.c | 476 if (sta->sta.deflink.he_cap.has_he) { in ieee80211_send_addba_with_timeout()
|
D | main.c | 1133 supp_he = supp_he || iftd->he_cap.has_he; in ieee80211_register_hw()
|
/net/wireless/ |
D | core.c | 896 if (WARN_ON(!iftd->he_cap.has_he)) in wiphy_register() 902 have_he = iftd->he_cap.has_he; in wiphy_register() 905 iftd->he_cap.has_he; in wiphy_register()
|
D | nl80211.c | 1835 const struct ieee80211_sta_he_cap *he_cap = &iftdata->he_cap; in nl80211_send_iftype_data() local 1842 if (he_cap->has_he) { in nl80211_send_iftype_data() 1844 sizeof(he_cap->he_cap_elem.mac_cap_info), in nl80211_send_iftype_data() 1845 he_cap->he_cap_elem.mac_cap_info) || in nl80211_send_iftype_data() 1847 sizeof(he_cap->he_cap_elem.phy_cap_info), in nl80211_send_iftype_data() 1848 he_cap->he_cap_elem.phy_cap_info) || in nl80211_send_iftype_data() 1850 sizeof(he_cap->he_mcs_nss_supp), in nl80211_send_iftype_data() 1851 &he_cap->he_mcs_nss_supp) || in nl80211_send_iftype_data() 1853 sizeof(he_cap->ppe_thres), he_cap->ppe_thres)) in nl80211_send_iftype_data() 1857 if (eht_cap->has_eht && he_cap->has_he) { in nl80211_send_iftype_data() [all …]
|
D | scan.c | 862 if (!iftd || !iftd->he_cap.has_he) in cfg80211_scan_6ghz()
|