Re: [PATCH 2/5] mac80211: add patch for BCM43436 firmware

2021-11-20 Thread Stijn Tintel
On 20/11/2021 15:10, Rafał Miłecki wrote:
> On 20.11.2021 04:41, Stijn Tintel wrote:
>> This chip is used in the Raspberry Pi Zero 2.
>>
>> Signed-off-by: Stijn Tintel 
>
> This trivial patch could easily be upstreamed, please send it to
> linux-wireless@.

This is pointless without the firmware being available in
linux-firmware.git. Since I can't submit that firmware, I rather not
submit this patch either.

Stijn


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [PATCH 2/5] mac80211: add patch for BCM43436 firmware

2021-11-20 Thread Rafał Miłecki

On 20.11.2021 04:41, Stijn Tintel wrote:

This chip is used in the Raspberry Pi Zero 2.

Signed-off-by: Stijn Tintel 


This trivial patch could easily be upstreamed, please send it to
linux-wireless@.

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[PATCH 2/5] mac80211: add patch for BCM43436 firmware

2021-11-19 Thread Stijn Tintel
This chip is used in the Raspberry Pi Zero 2.

Signed-off-by: Stijn Tintel 
---
 ...ac-BCM43436-needs-dedicated-firmware.patch | 29 +++
 1 file changed, 29 insertions(+)
 create mode 100644 
package/kernel/mac80211/patches/brcm/865-brcmfmac-BCM43436-needs-dedicated-firmware.patch

diff --git 
a/package/kernel/mac80211/patches/brcm/865-brcmfmac-BCM43436-needs-dedicated-firmware.patch
 
b/package/kernel/mac80211/patches/brcm/865-brcmfmac-BCM43436-needs-dedicated-firmware.patch
new file mode 100644
index 00..d5e650dcb3
--- /dev/null
+++ 
b/package/kernel/mac80211/patches/brcm/865-brcmfmac-BCM43436-needs-dedicated-firmware.patch
@@ -0,0 +1,29 @@
+From 0a2690fa8c3a0b356a0cf5fc63c2428264ead0e7 Mon Sep 17 00:00:00 2001
+From: Phil Elwell 
+Date: Tue, 19 May 2020 09:46:12 +0100
+Subject: [PATCH] brcmfmac: BCM43436 needs dedicated firmware
+
+Signed-off-by: Phil Elwell 
+---
+ drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
 b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
+@@ -615,6 +615,7 @@ BRCMF_FW_DEF(4335, "brcmfmac4335-sdio");
+ BRCMF_FW_DEF(43362, "brcmfmac43362-sdio");
+ BRCMF_FW_DEF(4339, "brcmfmac4339-sdio");
+ BRCMF_FW_DEF(43430A0, "brcmfmac43430a0-sdio");
++BRCMF_FW_DEF(43436, "brcmfmac43436-sdio");
+ /* Note the names are not postfixed with a1 for backward compatibility */
+ BRCMF_FW_CLM_DEF(43430A1, "brcmfmac43430-sdio");
+ BRCMF_FW_DEF(43430B0, "brcmfmac43430b0-sdio");
+@@ -649,6 +650,8 @@ static const struct brcmf_firmware_mappi
+   BRCMF_FW_ENTRY(BRCM_CC_4339_CHIP_ID, 0x, 4339),
+   BRCMF_FW_ENTRY(BRCM_CC_43430_CHIP_ID, 0x0001, 43430A0),
+   BRCMF_FW_ENTRY(BRCM_CC_43430_CHIP_ID, 0x0002, 43430A1),
++  BRCMF_FW_ENTRY(BRCM_CC_43430_CHIP_ID, 0x0004, 43436),
++  BRCMF_FW_ENTRY(BRCM_CC_43430_CHIP_ID, 0xFFFA, 43430A1),
+   BRCMF_FW_ENTRY(BRCM_CC_43430_CHIP_ID, 0xFFFC, 43430B0),
+   BRCMF_FW_ENTRY(BRCM_CC_4345_CHIP_ID, 0x0200, 43456),
+   BRCMF_FW_ENTRY(BRCM_CC_4345_CHIP_ID, 0xFDC0, 43455),
-- 
2.32.0


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel