brcmfmac: support chipsets with different core enumeration space
authorArend van Spriel <arend.vanspriel@broadcom.com>
Wed, 28 Jul 2021 20:50:34 +0000 (22:50 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 21 Aug 2021 15:49:05 +0000 (18:49 +0300)
commit1ce050c159528ee74e31498411dfed8e0935d10c
tree6cb9abc4cc4108a60b442b580f31b97232662adf
parenta7dd0ac94544dd2465b01a0eeb1786f362477c65
brcmfmac: support chipsets with different core enumeration space

Historically the broadcom wifi chipsets always had enumeration
space containing all core information at same place. However, for
new chipsets the ASIC developers moved away from that given fact.
So we have to accommodate that it can differ per chipset.

Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
Reviewed-by: Franky Lin <franky.lin@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1627505434-9544-5-git-send-email-arend.vanspriel@broadcom.com
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.h
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
drivers/net/wireless/broadcom/brcm80211/include/soc.h