330-v4.18-0001-brcmfmac-add-support-for-BCM4366E-chipset.patch 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. From: Dan Haab <dhaab@luxul.com>
  2. Date: Tue, 3 Apr 2018 10:21:56 +0200
  3. Subject: [PATCH] brcmfmac: add support for BCM4366E chipset
  4. BCM4366E is a wireless chipset with a BCM43664 ChipCommon. It's
  5. supported by the same firmware as 4366c0.
  6. Signed-off-by: Dan Haab <dan.haab@luxul.com>
  7. [arend: rebase patch and remove unnecessary definition]
  8. Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
  9. ---
  10. drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c | 1 +
  11. drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c | 1 +
  12. drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h | 1 +
  13. 3 files changed, 3 insertions(+)
  14. --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c
  15. +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c
  16. @@ -689,6 +689,7 @@ static u32 brcmf_chip_tcm_rambase(struct
  17. case BRCM_CC_43525_CHIP_ID:
  18. case BRCM_CC_4365_CHIP_ID:
  19. case BRCM_CC_4366_CHIP_ID:
  20. + case BRCM_CC_43664_CHIP_ID:
  21. return 0x200000;
  22. case CY_CC_4373_CHIP_ID:
  23. return 0x160000;
  24. --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
  25. +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
  26. @@ -75,6 +75,7 @@ static struct brcmf_firmware_mapping brc
  27. BRCMF_FW_NVRAM_ENTRY(BRCM_CC_4365_CHIP_ID, 0xFFFFFFF0, 4365C),
  28. BRCMF_FW_NVRAM_ENTRY(BRCM_CC_4366_CHIP_ID, 0x0000000F, 4366B),
  29. BRCMF_FW_NVRAM_ENTRY(BRCM_CC_4366_CHIP_ID, 0xFFFFFFF0, 4366C),
  30. + BRCMF_FW_NVRAM_ENTRY(BRCM_CC_43664_CHIP_ID, 0xFFFFFFF0, 4366C),
  31. BRCMF_FW_NVRAM_ENTRY(BRCM_CC_4371_CHIP_ID, 0xFFFFFFFF, 4371),
  32. };
  33. --- a/drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h
  34. +++ b/drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h
  35. @@ -57,6 +57,7 @@
  36. #define BRCM_CC_43602_CHIP_ID 43602
  37. #define BRCM_CC_4365_CHIP_ID 0x4365
  38. #define BRCM_CC_4366_CHIP_ID 0x4366
  39. +#define BRCM_CC_43664_CHIP_ID 43664
  40. #define BRCM_CC_4371_CHIP_ID 0x4371
  41. #define CY_CC_4373_CHIP_ID 0x4373