Lines Matching defs:mac_phy_caps
11204 struct wmi_mac_phy_capabilities *mac_phy_caps;
11232 mac_phy_caps = wmi_mac_phy_caps + phy_idx;
11234 pdev->pdev_id = mac_phy_caps->pdev_id;
11235 pdev_cap->supported_bands |= mac_phy_caps->supported_bands;
11236 pdev_cap->ampdu_density = mac_phy_caps->ampdu_density;
11238 mac_phy_caps->supported_bands;
11239 sc->target_pdev_ids[sc->target_pdev_count].pdev_id = mac_phy_caps->pdev_id;
11242 if (!(mac_phy_caps->supported_bands & WMI_HOST_WLAN_2G_CAP) &&
11243 !(mac_phy_caps->supported_bands & WMI_HOST_WLAN_5G_CAP))
11250 if (mac_phy_caps->supported_bands & WMI_HOST_WLAN_2G_CAP) {
11251 pdev_cap->tx_chain_mask = mac_phy_caps->tx_chain_mask_2g;
11252 pdev_cap->rx_chain_mask = mac_phy_caps->rx_chain_mask_2g;
11255 if (mac_phy_caps->supported_bands & WMI_HOST_WLAN_5G_CAP) {
11256 pdev_cap->vht_cap = mac_phy_caps->vht_cap_info_5g;
11257 pdev_cap->vht_mcs = mac_phy_caps->vht_supp_mcs_5g;
11258 pdev_cap->he_mcs = mac_phy_caps->he_supp_mcs_5g;
11259 pdev_cap->tx_chain_mask = mac_phy_caps->tx_chain_mask_5g;
11260 pdev_cap->rx_chain_mask = mac_phy_caps->rx_chain_mask_5g;
11262 WMI_NSS_RATIO_ENABLE_DISABLE_GET(mac_phy_caps->nss_ratio);
11264 WMI_NSS_RATIO_INFO_GET(mac_phy_caps->nss_ratio);
11278 if (mac_phy_caps->supported_bands & WMI_HOST_WLAN_2G_CAP) {
11280 cap_band->phy_id = mac_phy_caps->phy_id;
11281 cap_band->max_bw_supported = mac_phy_caps->max_bw_supported_2g;
11282 cap_band->ht_cap_info = mac_phy_caps->ht_cap_info_2g;
11283 cap_band->he_cap_info[0] = mac_phy_caps->he_cap_info_2g;
11284 cap_band->he_cap_info[1] = mac_phy_caps->he_cap_info_2g_ext;
11285 cap_band->he_mcs = mac_phy_caps->he_supp_mcs_2g;
11287 &mac_phy_caps->he_cap_phy_info_2g,
11289 memcpy(&cap_band->he_ppet, &mac_phy_caps->he_ppet2g,
11293 if (mac_phy_caps->supported_bands & WMI_HOST_WLAN_5G_CAP) {
11295 cap_band->phy_id = mac_phy_caps->phy_id;
11296 cap_band->max_bw_supported = mac_phy_caps->max_bw_supported_5g;
11297 cap_band->ht_cap_info = mac_phy_caps->ht_cap_info_5g;
11298 cap_band->he_cap_info[0] = mac_phy_caps->he_cap_info_5g;
11299 cap_band->he_cap_info[1] = mac_phy_caps->he_cap_info_5g_ext;
11300 cap_band->he_mcs = mac_phy_caps->he_supp_mcs_5g;
11301 memcpy(cap_band->he_cap_phy_info, &mac_phy_caps->he_cap_phy_info_5g,
11303 memcpy(&cap_band->he_ppet, &mac_phy_caps->he_ppet5g,
11307 cap_band->max_bw_supported = mac_phy_caps->max_bw_supported_5g;
11308 cap_band->ht_cap_info = mac_phy_caps->ht_cap_info_5g;
11309 cap_band->he_cap_info[0] = mac_phy_caps->he_cap_info_5g;
11310 cap_band->he_cap_info[1] = mac_phy_caps->he_cap_info_5g_ext;
11311 cap_band->he_mcs = mac_phy_caps->he_supp_mcs_5g;
11312 memcpy(cap_band->he_cap_phy_info, &mac_phy_caps->he_cap_phy_info_5g,
11314 memcpy(&cap_band->he_ppet, &mac_phy_caps->he_ppet5g,
11345 svc_rdy_ext->mac_phy_caps,
11473 svc_rdy_ext->mac_phy_caps = mallocarray(
11477 if (!svc_rdy_ext->mac_phy_caps)
11482 memcpy(svc_rdy_ext->mac_phy_caps + svc_rdy_ext->n_mac_phy_caps,
11764 free(svc_rdy_ext.mac_phy_caps, M_DEVBUF,