qcacmn: Extract hw_link_id and store in target_if pdev context

hw_link_id is unique across psoc to identify pdev in multi-soc ML cases.
Exract hw_link_id from mac_phy_cap and provide APIs in target_if to set
and get this for pdev

Change-Id: I9dcc4c1e4b515e83151ca88f5f026c0dd0b04646
CRs-Fixed: 3023496
Цей коміт міститься в:
Kiran Venkatappa
2021-08-05 23:24:30 +05:30
зафіксовано Madan Koyyalamudi
джерело f0c88a6cb9
коміт 7aaef9935d
5 змінених файлів з 87 додано та 3 видалено

Переглянути файл

@@ -184,6 +184,7 @@ struct wlan_psoc_host_hal_reg_cap_ext {
* @nss_ratio_enabled: This flag is set if nss ratio is received from FW as part
* of service ready ext event.
* @nss_ratio: nss ratio is used to calculate the NSS value for 160MHz.
* @hw_link_id: Unique link id across SoCs used to identify link in Multi-SoC ML
*/
struct wlan_psoc_host_mac_phy_caps {
uint32_t hw_mode_id;
@@ -230,6 +231,9 @@ struct wlan_psoc_host_mac_phy_caps {
uint32_t tgt_pdev_id;
bool nss_ratio_enabled;
uint8_t nss_ratio_info;
#if defined(WLAN_FEATURE_11BE_MLO) && defined(WLAN_MLO_MULTI_CHIP)
uint16_t hw_link_id;
#endif
};
/**