Lines Matching refs:mac_phy_caps

43 	struct wmi_mac_phy_capabilities *mac_phy_caps;  member
354 struct wmi_mac_phy_capabilities *mac_phy_caps; in ath11k_pull_mac_phy_cap_svc_ready_ext() local
382 mac_phy_caps = wmi_mac_phy_caps + phy_idx; in ath11k_pull_mac_phy_cap_svc_ready_ext()
384 pdev->pdev_id = mac_phy_caps->pdev_id; in ath11k_pull_mac_phy_cap_svc_ready_ext()
385 pdev_cap->supported_bands |= mac_phy_caps->supported_bands; in ath11k_pull_mac_phy_cap_svc_ready_ext()
386 pdev_cap->ampdu_density = mac_phy_caps->ampdu_density; in ath11k_pull_mac_phy_cap_svc_ready_ext()
388 mac_phy_caps->supported_bands; in ath11k_pull_mac_phy_cap_svc_ready_ext()
389 ab->target_pdev_ids[ab->target_pdev_count].pdev_id = mac_phy_caps->pdev_id; in ath11k_pull_mac_phy_cap_svc_ready_ext()
392 if (!(mac_phy_caps->supported_bands & WMI_HOST_WLAN_2G_CAP) && in ath11k_pull_mac_phy_cap_svc_ready_ext()
393 !(mac_phy_caps->supported_bands & WMI_HOST_WLAN_5G_CAP)) in ath11k_pull_mac_phy_cap_svc_ready_ext()
400 if (mac_phy_caps->supported_bands & WMI_HOST_WLAN_2G_CAP) { in ath11k_pull_mac_phy_cap_svc_ready_ext()
401 pdev_cap->tx_chain_mask = mac_phy_caps->tx_chain_mask_2g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
402 pdev_cap->rx_chain_mask = mac_phy_caps->rx_chain_mask_2g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
405 if (mac_phy_caps->supported_bands & WMI_HOST_WLAN_5G_CAP) { in ath11k_pull_mac_phy_cap_svc_ready_ext()
406 pdev_cap->vht_cap = mac_phy_caps->vht_cap_info_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
407 pdev_cap->vht_mcs = mac_phy_caps->vht_supp_mcs_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
408 pdev_cap->he_mcs = mac_phy_caps->he_supp_mcs_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
409 pdev_cap->tx_chain_mask = mac_phy_caps->tx_chain_mask_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
410 pdev_cap->rx_chain_mask = mac_phy_caps->rx_chain_mask_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
412 WMI_NSS_RATIO_ENABLE_DISABLE_GET(mac_phy_caps->nss_ratio); in ath11k_pull_mac_phy_cap_svc_ready_ext()
414 WMI_NSS_RATIO_INFO_GET(mac_phy_caps->nss_ratio); in ath11k_pull_mac_phy_cap_svc_ready_ext()
430 if (mac_phy_caps->supported_bands & WMI_HOST_WLAN_2G_CAP) { in ath11k_pull_mac_phy_cap_svc_ready_ext()
432 cap_band->phy_id = mac_phy_caps->phy_id; in ath11k_pull_mac_phy_cap_svc_ready_ext()
433 cap_band->max_bw_supported = mac_phy_caps->max_bw_supported_2g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
434 cap_band->ht_cap_info = mac_phy_caps->ht_cap_info_2g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
435 cap_band->he_cap_info[0] = mac_phy_caps->he_cap_info_2g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
436 cap_band->he_cap_info[1] = mac_phy_caps->he_cap_info_2g_ext; in ath11k_pull_mac_phy_cap_svc_ready_ext()
437 cap_band->he_mcs = mac_phy_caps->he_supp_mcs_2g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
438 memcpy(cap_band->he_cap_phy_info, &mac_phy_caps->he_cap_phy_info_2g, in ath11k_pull_mac_phy_cap_svc_ready_ext()
440 memcpy(&cap_band->he_ppet, &mac_phy_caps->he_ppet2g, in ath11k_pull_mac_phy_cap_svc_ready_ext()
444 if (mac_phy_caps->supported_bands & WMI_HOST_WLAN_5G_CAP) { in ath11k_pull_mac_phy_cap_svc_ready_ext()
446 cap_band->phy_id = mac_phy_caps->phy_id; in ath11k_pull_mac_phy_cap_svc_ready_ext()
447 cap_band->max_bw_supported = mac_phy_caps->max_bw_supported_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
448 cap_band->ht_cap_info = mac_phy_caps->ht_cap_info_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
449 cap_band->he_cap_info[0] = mac_phy_caps->he_cap_info_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
450 cap_band->he_cap_info[1] = mac_phy_caps->he_cap_info_5g_ext; in ath11k_pull_mac_phy_cap_svc_ready_ext()
451 cap_band->he_mcs = mac_phy_caps->he_supp_mcs_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
452 memcpy(cap_band->he_cap_phy_info, &mac_phy_caps->he_cap_phy_info_5g, in ath11k_pull_mac_phy_cap_svc_ready_ext()
454 memcpy(&cap_band->he_ppet, &mac_phy_caps->he_ppet5g, in ath11k_pull_mac_phy_cap_svc_ready_ext()
458 cap_band->max_bw_supported = mac_phy_caps->max_bw_supported_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
459 cap_band->ht_cap_info = mac_phy_caps->ht_cap_info_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
460 cap_band->he_cap_info[0] = mac_phy_caps->he_cap_info_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
461 cap_band->he_cap_info[1] = mac_phy_caps->he_cap_info_5g_ext; in ath11k_pull_mac_phy_cap_svc_ready_ext()
462 cap_band->he_mcs = mac_phy_caps->he_supp_mcs_5g; in ath11k_pull_mac_phy_cap_svc_ready_ext()
463 memcpy(cap_band->he_cap_phy_info, &mac_phy_caps->he_cap_phy_info_5g, in ath11k_pull_mac_phy_cap_svc_ready_ext()
465 memcpy(&cap_band->he_ppet, &mac_phy_caps->he_ppet5g, in ath11k_pull_mac_phy_cap_svc_ready_ext()
4515 svc_rdy_ext->mac_phy_caps = kcalloc(svc_rdy_ext->tot_phy_id, in ath11k_wmi_tlv_mac_phy_caps_parse()
4517 if (!svc_rdy_ext->mac_phy_caps) in ath11k_wmi_tlv_mac_phy_caps_parse()
4521 memcpy(svc_rdy_ext->mac_phy_caps + svc_rdy_ext->n_mac_phy_caps, ptr, len); in ath11k_wmi_tlv_mac_phy_caps_parse()
4600 svc_rdy_ext->mac_phy_caps, in ath11k_wmi_tlv_ext_soc_hal_reg_caps_parse()
4817 kfree(svc_rdy_ext.mac_phy_caps); in ath11k_service_ready_ext_event()