Lines Matching refs:mac_phy_caps

54 	struct wmi_mac_phy_capabilities *mac_phy_caps;  member
404 struct wmi_mac_phy_capabilities *mac_phy_caps; in ath11k_pull_mac_phy_cap_svc_ready_ext() local
432 mac_phy_caps = wmi_mac_phy_caps + phy_idx; in ath11k_pull_mac_phy_cap_svc_ready_ext()
434 pdev->pdev_id = mac_phy_caps->pdev_id; in ath11k_pull_mac_phy_cap_svc_ready_ext()
435 pdev_cap->supported_bands |= mac_phy_caps->supported_bands; in ath11k_pull_mac_phy_cap_svc_ready_ext()
436 pdev_cap->ampdu_density = mac_phy_caps->ampdu_density; in ath11k_pull_mac_phy_cap_svc_ready_ext()
438 mac_phy_caps->supported_bands; in ath11k_pull_mac_phy_cap_svc_ready_ext()
439 ab->target_pdev_ids[ab->target_pdev_count].pdev_id = mac_phy_caps->pdev_id; in ath11k_pull_mac_phy_cap_svc_ready_ext()
442 if (!(mac_phy_caps->supported_bands & WMI_HOST_WLAN_2G_CAP) && in ath11k_pull_mac_phy_cap_svc_ready_ext()
443 !(mac_phy_caps->supported_bands & WMI_HOST_WLAN_5G_CAP)) in ath11k_pull_mac_phy_cap_svc_ready_ext()
450 if (mac_phy_caps->supported_bands & WMI_HOST_WLAN_2G_CAP) { in ath11k_pull_mac_phy_cap_svc_ready_ext()
451 pdev_cap->tx_chain_mask = mac_phy_caps->tx_chain_mask_2g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
452 pdev_cap->rx_chain_mask = mac_phy_caps->rx_chain_mask_2g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
455 if (mac_phy_caps->supported_bands & WMI_HOST_WLAN_5G_CAP) { in ath11k_pull_mac_phy_cap_svc_ready_ext()
456 pdev_cap->vht_cap = mac_phy_caps->vht_cap_info_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
457 pdev_cap->vht_mcs = mac_phy_caps->vht_supp_mcs_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
458 pdev_cap->he_mcs = mac_phy_caps->he_supp_mcs_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
459 pdev_cap->tx_chain_mask = mac_phy_caps->tx_chain_mask_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
460 pdev_cap->rx_chain_mask = mac_phy_caps->rx_chain_mask_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
462 WMI_NSS_RATIO_ENABLE_DISABLE_GET(mac_phy_caps->nss_ratio); in ath11k_pull_mac_phy_cap_svc_ready_ext()
464 WMI_NSS_RATIO_INFO_GET(mac_phy_caps->nss_ratio); in ath11k_pull_mac_phy_cap_svc_ready_ext()
480 if (mac_phy_caps->supported_bands & WMI_HOST_WLAN_2G_CAP) { in ath11k_pull_mac_phy_cap_svc_ready_ext()
482 cap_band->phy_id = mac_phy_caps->phy_id; in ath11k_pull_mac_phy_cap_svc_ready_ext()
483 cap_band->max_bw_supported = mac_phy_caps->max_bw_supported_2g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
484 cap_band->ht_cap_info = mac_phy_caps->ht_cap_info_2g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
485 cap_band->he_cap_info[0] = mac_phy_caps->he_cap_info_2g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
486 cap_band->he_cap_info[1] = mac_phy_caps->he_cap_info_2g_ext; in ath11k_pull_mac_phy_cap_svc_ready_ext()
487 cap_band->he_mcs = mac_phy_caps->he_supp_mcs_2g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
488 memcpy(cap_band->he_cap_phy_info, &mac_phy_caps->he_cap_phy_info_2g, in ath11k_pull_mac_phy_cap_svc_ready_ext()
490 memcpy(&cap_band->he_ppet, &mac_phy_caps->he_ppet2g, in ath11k_pull_mac_phy_cap_svc_ready_ext()
494 if (mac_phy_caps->supported_bands & WMI_HOST_WLAN_5G_CAP) { in ath11k_pull_mac_phy_cap_svc_ready_ext()
496 cap_band->phy_id = mac_phy_caps->phy_id; in ath11k_pull_mac_phy_cap_svc_ready_ext()
497 cap_band->max_bw_supported = mac_phy_caps->max_bw_supported_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
498 cap_band->ht_cap_info = mac_phy_caps->ht_cap_info_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
499 cap_band->he_cap_info[0] = mac_phy_caps->he_cap_info_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
500 cap_band->he_cap_info[1] = mac_phy_caps->he_cap_info_5g_ext; in ath11k_pull_mac_phy_cap_svc_ready_ext()
501 cap_band->he_mcs = mac_phy_caps->he_supp_mcs_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
502 memcpy(cap_band->he_cap_phy_info, &mac_phy_caps->he_cap_phy_info_5g, in ath11k_pull_mac_phy_cap_svc_ready_ext()
504 memcpy(&cap_band->he_ppet, &mac_phy_caps->he_ppet5g, in ath11k_pull_mac_phy_cap_svc_ready_ext()
508 cap_band->max_bw_supported = mac_phy_caps->max_bw_supported_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
509 cap_band->ht_cap_info = mac_phy_caps->ht_cap_info_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
510 cap_band->he_cap_info[0] = mac_phy_caps->he_cap_info_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
511 cap_band->he_cap_info[1] = mac_phy_caps->he_cap_info_5g_ext; in ath11k_pull_mac_phy_cap_svc_ready_ext()
512 cap_band->he_mcs = mac_phy_caps->he_supp_mcs_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
513 memcpy(cap_band->he_cap_phy_info, &mac_phy_caps->he_cap_phy_info_5g, in ath11k_pull_mac_phy_cap_svc_ready_ext()
515 memcpy(&cap_band->he_ppet, &mac_phy_caps->he_ppet5g, in ath11k_pull_mac_phy_cap_svc_ready_ext()
4887 svc_rdy_ext->mac_phy_caps = kcalloc(svc_rdy_ext->tot_phy_id, in ath11k_wmi_tlv_mac_phy_caps_parse()
4889 if (!svc_rdy_ext->mac_phy_caps) in ath11k_wmi_tlv_mac_phy_caps_parse()
4893 memcpy(svc_rdy_ext->mac_phy_caps + svc_rdy_ext->n_mac_phy_caps, ptr, len); in ath11k_wmi_tlv_mac_phy_caps_parse()
4980 svc_rdy_ext->mac_phy_caps, in ath11k_wmi_tlv_ext_soc_hal_reg_caps_parse()
5211 kfree(svc_rdy_ext.mac_phy_caps); in ath11k_service_ready_ext_event()