Lines Matching refs:mac_caps
474 const struct ath12k_wmi_mac_phy_caps_params *mac_caps; in ath12k_pull_mac_phy_cap_svc_ready_ext() local
504 mac_caps = wmi_mac_phy_caps + phy_idx; in ath12k_pull_mac_phy_cap_svc_ready_ext()
506 pdev->pdev_id = le32_to_cpu(mac_caps->pdev_id); in ath12k_pull_mac_phy_cap_svc_ready_ext()
507 pdev_cap->supported_bands |= le32_to_cpu(mac_caps->supported_bands); in ath12k_pull_mac_phy_cap_svc_ready_ext()
508 pdev_cap->ampdu_density = le32_to_cpu(mac_caps->ampdu_density); in ath12k_pull_mac_phy_cap_svc_ready_ext()
511 fw_pdev->supported_bands = le32_to_cpu(mac_caps->supported_bands); in ath12k_pull_mac_phy_cap_svc_ready_ext()
512 fw_pdev->pdev_id = le32_to_cpu(mac_caps->pdev_id); in ath12k_pull_mac_phy_cap_svc_ready_ext()
513 fw_pdev->phy_id = le32_to_cpu(mac_caps->phy_id); in ath12k_pull_mac_phy_cap_svc_ready_ext()
520 if (le32_to_cpu(mac_caps->supported_bands) & WMI_HOST_WLAN_2G_CAP) { in ath12k_pull_mac_phy_cap_svc_ready_ext()
521 pdev_cap->tx_chain_mask = le32_to_cpu(mac_caps->tx_chain_mask_2g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
522 pdev_cap->rx_chain_mask = le32_to_cpu(mac_caps->rx_chain_mask_2g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
523 } else if (le32_to_cpu(mac_caps->supported_bands) & WMI_HOST_WLAN_5G_CAP) { in ath12k_pull_mac_phy_cap_svc_ready_ext()
524 pdev_cap->vht_cap = le32_to_cpu(mac_caps->vht_cap_info_5g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
525 pdev_cap->vht_mcs = le32_to_cpu(mac_caps->vht_supp_mcs_5g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
526 pdev_cap->he_mcs = le32_to_cpu(mac_caps->he_supp_mcs_5g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
527 pdev_cap->tx_chain_mask = le32_to_cpu(mac_caps->tx_chain_mask_5g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
528 pdev_cap->rx_chain_mask = le32_to_cpu(mac_caps->rx_chain_mask_5g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
546 if (le32_to_cpu(mac_caps->supported_bands) & WMI_HOST_WLAN_2G_CAP) { in ath12k_pull_mac_phy_cap_svc_ready_ext()
548 cap_band->phy_id = le32_to_cpu(mac_caps->phy_id); in ath12k_pull_mac_phy_cap_svc_ready_ext()
549 cap_band->max_bw_supported = le32_to_cpu(mac_caps->max_bw_supported_2g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
550 cap_band->ht_cap_info = le32_to_cpu(mac_caps->ht_cap_info_2g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
551 cap_band->he_cap_info[0] = le32_to_cpu(mac_caps->he_cap_info_2g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
552 cap_band->he_cap_info[1] = le32_to_cpu(mac_caps->he_cap_info_2g_ext); in ath12k_pull_mac_phy_cap_svc_ready_ext()
553 cap_band->he_mcs = le32_to_cpu(mac_caps->he_supp_mcs_2g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
556 le32_to_cpu(mac_caps->he_cap_phy_info_2g[i]); in ath12k_pull_mac_phy_cap_svc_ready_ext()
558 cap_band->he_ppet.numss_m1 = le32_to_cpu(mac_caps->he_ppet2g.numss_m1); in ath12k_pull_mac_phy_cap_svc_ready_ext()
559 cap_band->he_ppet.ru_bit_mask = le32_to_cpu(mac_caps->he_ppet2g.ru_info); in ath12k_pull_mac_phy_cap_svc_ready_ext()
563 le32_to_cpu(mac_caps->he_ppet2g.ppet16_ppet8_ru3_ru0[i]); in ath12k_pull_mac_phy_cap_svc_ready_ext()
566 if (le32_to_cpu(mac_caps->supported_bands) & WMI_HOST_WLAN_5G_CAP) { in ath12k_pull_mac_phy_cap_svc_ready_ext()
568 cap_band->phy_id = le32_to_cpu(mac_caps->phy_id); in ath12k_pull_mac_phy_cap_svc_ready_ext()
570 le32_to_cpu(mac_caps->max_bw_supported_5g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
571 cap_band->ht_cap_info = le32_to_cpu(mac_caps->ht_cap_info_5g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
572 cap_band->he_cap_info[0] = le32_to_cpu(mac_caps->he_cap_info_5g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
573 cap_band->he_cap_info[1] = le32_to_cpu(mac_caps->he_cap_info_5g_ext); in ath12k_pull_mac_phy_cap_svc_ready_ext()
574 cap_band->he_mcs = le32_to_cpu(mac_caps->he_supp_mcs_5g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
577 le32_to_cpu(mac_caps->he_cap_phy_info_5g[i]); in ath12k_pull_mac_phy_cap_svc_ready_ext()
579 cap_band->he_ppet.numss_m1 = le32_to_cpu(mac_caps->he_ppet5g.numss_m1); in ath12k_pull_mac_phy_cap_svc_ready_ext()
580 cap_band->he_ppet.ru_bit_mask = le32_to_cpu(mac_caps->he_ppet5g.ru_info); in ath12k_pull_mac_phy_cap_svc_ready_ext()
584 le32_to_cpu(mac_caps->he_ppet5g.ppet16_ppet8_ru3_ru0[i]); in ath12k_pull_mac_phy_cap_svc_ready_ext()
588 le32_to_cpu(mac_caps->max_bw_supported_5g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
589 cap_band->ht_cap_info = le32_to_cpu(mac_caps->ht_cap_info_5g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
590 cap_band->he_cap_info[0] = le32_to_cpu(mac_caps->he_cap_info_5g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
591 cap_band->he_cap_info[1] = le32_to_cpu(mac_caps->he_cap_info_5g_ext); in ath12k_pull_mac_phy_cap_svc_ready_ext()
592 cap_band->he_mcs = le32_to_cpu(mac_caps->he_supp_mcs_5g); in ath12k_pull_mac_phy_cap_svc_ready_ext()
595 le32_to_cpu(mac_caps->he_cap_phy_info_5g[i]); in ath12k_pull_mac_phy_cap_svc_ready_ext()
597 cap_band->he_ppet.numss_m1 = le32_to_cpu(mac_caps->he_ppet5g.numss_m1); in ath12k_pull_mac_phy_cap_svc_ready_ext()
598 cap_band->he_ppet.ru_bit_mask = le32_to_cpu(mac_caps->he_ppet5g.ru_info); in ath12k_pull_mac_phy_cap_svc_ready_ext()
602 le32_to_cpu(mac_caps->he_ppet5g.ppet16_ppet8_ru3_ru0[i]); in ath12k_pull_mac_phy_cap_svc_ready_ext()