Skip to contentSkip to conversation

rtl_bt: Update RTL8852C BT USB firmware to 0x040D_7225

PATCH In review [email protected] 4 participants 5 messages Jun 7, 2023 – Aug 4, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtl_bt: Update RTL8852C BT USB firmware to 0x040D_7225

From: Hilda Wu <[email protected]>

This firmware patch update for Realtek RTL8852C BT USB controller

Note: This firmware patch needs to be used with driver "btrtl: Firmware format v2 support". Please update the driver with this commit: 9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa

Release Version: 0x040D_7225

---
 rtl_bt/rtl8852cu_fw.bin | Bin 113336 -> 112953 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)
rtl_bt/rtl8852cu_fw.bin binary +0 -0
index fa61830450e8e7c2cb39e8bec2467f32612402bc..61987b7cae78f5632f75803372de58e82873d05b 100644
GIT binary patch
Signature · 1 line
2.17.1
#1 lore raw

Applied and pushed out.

josh

Quoted 1,908 lines · On Wed, Jun 7, 2023 at 4:28 AM <[email protected]> wrote:

From: Hilda Wu <[email protected]>

This firmware patch update for Realtek RTL8852C BT USB controller

Note: This firmware patch needs to be used with driver "btrtl: Firmware format v2 support". Please update the driver with this commit: 9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa

Release Version: 0x040D_7225

---
 rtl_bt/rtl8852cu_fw.bin | Bin 113336 -> 112953 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)
rtl_bt/rtl8852cu_fw.bin binary +0 -1
index fa61830450e8e7c2cb39e8bec2467f32612402bc..61987b7cae78f5632f75803372de58e82873d05b 100644
GIT binary patch
 
--

2.17.1

#2 lore raw

Josh,

Quoted 13 lines

Applied and pushed out.

josh

Quoted 8 lines · On Wed, Jun 7, 2023 at 4:28 AM <[email protected]> wrote:

From: Hilda Wu <[email protected]>

This firmware patch update for Realtek RTL8852C BT USB controller

Note: This firmware patch needs to be used with driver "btrtl: Firmware format v2 support". Please update the driver with this commit: 9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa

Do I understand this correctly that kernels that don't have this patch (any kernel < 6.4) can no longer load this v2 BT firmware because it's not compatible with old drivers? That's a regression, no? The incompatible new firmware should be named differently so that we don't break old kernels.

The v2 driver [1] seems to support both the old and new firmware binary so IMO should try to load the new firmware first and fall back to the old one if not found.

Unless I'm misreading this.

...Juerg

[1]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa

Quoted 6 lines
Quoted 6 lines

Release Version: 0x040D_7225

---
 rtl_bt/rtl8852cu_fw.bin | Bin 113336 -> 112953 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)
#3 lore raw

Josh, Realtek,

Any comments?

Thanks
...Juerg

Quoted 41 lines

Josh,

Quoted 13 lines

Applied and pushed out.

josh

Quoted 8 lines · On Wed, Jun 7, 2023 at 4:28 AM <[email protected]> wrote:

From: Hilda Wu <[email protected]>

This firmware patch update for Realtek RTL8852C BT USB controller

Note: This firmware patch needs to be used with driver "btrtl: Firmware format v2 support". Please update the driver with this commit: 9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa

Do I understand this correctly that kernels that don't have this patch (any kernel < 6.4) can no longer load this v2 BT firmware because it's not compatible with old drivers? That's a regression, no? The incompatible new firmware should be named differently so that we don't break old kernels.

The v2 driver [1] seems to support both the old and new firmware binary so IMO should try to load the new firmware first and fall back to the old one if not found.

Unless I'm misreading this.

...Juerg

[1]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa

Quoted 6 lines
Quoted 6 lines

Release Version: 0x040D_7225

---
 rtl_bt/rtl8852cu_fw.bin | Bin 113336 -> 112953 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)  
#4 lore raw

Hi! Juerg,
Realtek implements a driver patch to meet the condition as your suggestion. Please check the commit from the patchwork.
https://patchwork.kernel.org/project/bluetooth/patch/[email protected]/

For the patch on linux-firmware project, it will be submitted when the above driver patch is approved.

BRs,
Max

Quoted 65 lines

-----Original Message-----
From: Juerg Haefliger <[email protected]>
Sent: Thursday, August 3, 2023 12:49 PM
To: Josh Boyer <[email protected]>
Cc: Hilda Wu <[email protected]>; [email protected]; [email protected]; Max Chou <[email protected]>; [email protected]; 陳霂華 <[email protected]>; Hsin Yu Chang <[email protected]>; KidmanLee <[email protected]>
Subject: Re: [PATCH] rtl_bt: Update RTL8852C BT USB firmware to 0x040D_7225

Josh, Realtek,

Any comments?

Thanks
...Juerg

Quoted 13 lines

Josh,

Quoted 10 lines

Applied and pushed out.

josh

Quoted 5 lines · On Wed, Jun 7, 2023 at 4:28 AM <[email protected]> wrote:

From: Hilda Wu <[email protected]>

This firmware patch update for Realtek RTL8852C BT USB controller

Quoted 8 lines
Quoted 3 lines
Quoted 3 lines

Note: This firmware patch needs to be used with driver "btrtl: Firmware format v2 support". Please update the driver with this commit: 9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa

Do I understand this correctly that kernels that don't have this patch (any kernel < 6.4) can no longer load this v2 BT firmware because it's not compatible with old drivers? That's a regression, no? The incompatible new firmware should be named differently so that we don't

break old kernels.

Quoted 5 lines

The v2 driver [1] seems to support both the old and new firmware binary so IMO should try to load the new firmware first and fall back to the old one if not found.

Quoted 16 lines

Unless I'm misreading this.

...Juerg

[1]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/com
mit/?id=9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa

Quoted 6 lines
Quoted 6 lines

Release Version: 0x040D_7225

---
 rtl_bt/rtl8852cu_fw.bin | Bin 113336 -> 112953 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

------Please consider the environment before printing this e-mail.