brcmfmac: support BCM4365E with 43666 ChipCommon chip ID
PATCH 1/1 brcmfmac: support BCM4365E with 43666 ChipCommon chip ID
From: Rafał Miłecki <[email protected]>
This adds support for the BCM43666/4 which seems to be using the same firmware as BCM4366 (4366c0). I found it in the Netgear R8000P router.
--- drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c | 1 + drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c | 1 + drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h | 1 + 3 files changed, 3 insertions(+)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c +1 -0
@@ -720,6 +720,7 @@ static u32 brcmf_chip_tcm_rambase(struct brcmf_chip_priv *ci)case BRCM_CC_4365_CHIP_ID :case BRCM_CC_4366_CHIP_ID :case BRCM_CC_43664_CHIP_ID : +case BRCM_CC_43666_CHIP_ID :return 0x200000 ;case BRCM_CC_4359_CHIP_ID :return (ci->pub.chiprev <9 ) ?0x180000 :0x160000 ;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c +1 -0
@@ -77,6 +77,7 @@ static const struct brcmf_firmware_mapping brcmf_pcie_fwnames[] = {BRCMF_FW_ENTRY (BRCM_CC_4366_CHIP_ID ,0x0000000F ,4366B ), BRCMF_FW_ENTRY(BRCM_CC_4366_CHIP_ID, 0xFFFFFFF0, 4366C), BRCMF_FW_ENTRY(BRCM_CC_43664_CHIP_ID, 0xFFFFFFF0, 4366C), + BRCMF_FW_ENTRY(BRCM_CC_43666_CHIP_ID, 0x00000010, 4366C), BRCMF_FW_ENTRY(BRCM_CC_4371_CHIP_ID, 0xFFFFFFFF, 4371), };
drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h +1 -0
@@ -48,6 +48,7 @@#define BRCM_CC_4365_CHIP_ID 0x4365#define BRCM_CC_4366_CHIP_ID 0x4366#define BRCM_CC_43664_CHIP_ID 43664 +#define BRCM_CC_43666_CHIP_ID 43666#define BRCM_CC_4371_CHIP_ID 0x4371#define CY_CC_4373_CHIP_ID 0x4373#define CY_CC_43012_CHIP_ID 43012
Signature · 1 line
2.26.2
Quoted 4 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
This adds support for the BCM43666/4 which seems to be using the same firmware as BCM4366 (4366c0). I found it in the Netgear R8000P router.
minor nit below...
Quoted 6 lines
Signed-off-by Rafał Miłecki <[email protected]>--- drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c | 1 + drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c | 1 + drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h | 1 + 3 files changed, 3 insertions(+)
[...]
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c static const struct brcmf_firmware_mapping brcmf_pcie_fwnames[] = { · line 80
Quoted 9 lines
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c +1
-0@@ -77,6 +77,7 @@ static const struct brcmf_firmware_mapping brcmf_pcie_fwnames[] = {BRCMF_FW_ENTRY (BRCM_CC_4366_CHIP_ID ,0x0000000F ,4366B ), BRCMF_FW_ENTRY(BRCM_CC_4366_CHIP_ID, 0xFFFFFFF0, 4366C), BRCMF_FW_ENTRY(BRCM_CC_43664_CHIP_ID, 0xFFFFFFF0, 4366C), + BRCMF_FW_ENTRY(BRCM_CC_43666_CHIP_ID, 0x00000010, 4366C),
Our default approach is to enable it for all future revisions as was done for the two entries before this one.
Quoted 2 lines
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c +0
-0BRCMF_FW_ENTRY(BRCM_CC_4371_CHIP_ID, 0xFFFFFFFF, 4371), };
Signature · 1 line
This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.
Quoted 18 lines · Arend van Spriel
Quoted 4 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
This adds support for the BCM43666/4 which seems to be using the same firmware as BCM4366 (4366c0). I found it in the Netgear R8000P router.
minor nit below...
Acked-by Arend van Spriel <[email protected]>Quoted 6 lines
Signed-off-by Rafał Miłecki <[email protected]>---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c | 1 + drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c | 1 +drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h| 1 +3 files changed, 3 insertions(+)[...]
Quoted 14 lines
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c static const struct brcmf_firmware_mapping brcmf_pcie_fwnames[] = { · line 80
Quoted 9 lines
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c +1
-0@@ -77,6 +77,7 @@ static const struct brcmf_firmware_mapping brcmf_pcie_fwnames[] = { BRCMF_FW_ENTRY(BRCM_CC_4366_CHIP_ID, 0x0000000F, 4366B), BRCMF_FW_ENTRY(BRCM_CC_4366_CHIP_ID, 0xFFFFFFF0, 4366C), BRCMF_FW_ENTRY(BRCM_CC_43664_CHIP_ID, 0xFFFFFFF0, 4366C), + BRCMF_FW_ENTRY(BRCM_CC_43666_CHIP_ID, 0x00000010, 4366C),Our default approach is to enable it for all future revisions as was done for the two entries before this one.
Quoted 2 lines
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c +0
-0BRCMF_FW_ENTRY(BRCM_CC_4371_CHIP_ID, 0xFFFFFFFF, 4371), };
Thanks!
Quoted 1 line
This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.
This is probably unintended for public mailing lists :)