diff mbox series

[SRU,linux-firmware,I,PULL] Update firmware for MT7921 WiFi/Bluetooth

Message ID 20211020070359.1723649-1-vicamo.yang@canonical.com
State New
Headers show
Series [SRU,linux-firmware,I,PULL] Update firmware for MT7921 WiFi/Bluetooth | expand

Commit Message

You-Sheng Yang Oct. 20, 2021, 7:03 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1947829

[Impact]

Sometimes MT7921 may not be probed due to an endless mcu reset:

  [ 5.789548] mt7921 mcu reset 0
  [ 5.790625] mt7921 rx type 0x7
  [ 5.790625] mt7921 eid 0x1 ext_eid 0x0
  [ 5.790626] mt76_rx_event eid 0x1 ext_eid 0x0

[Fix]

WiFi and Bluetooth firmware updates from mainline:
* e5a80ef8 linux-firmware: update frimware for mediatek bluetooth chip (MT7921)
* d34196f5 linux-firmware: update firmware for MT7921 WiFi device

[Test Case]

This should fix the mcu reset and wireless/bluetooh devices should be
probed successfully.

[Where problems could occur]

While there is explicit FW API for kernel version compatibility checking,
this might introduce some hidden glitches that we don't know yet.

[Other Info]

MT7921 is supported since Impish 5.13 kernel, and Impish already has the
latest Bluetooth firmware, so only the WiFi one is proposed. For oem-5.13
and oem-5.14 in Focal, both firmware updates for Bluetooth and WiFi are
required.

----------------------------------------------------------------
The following changes since commit dbd025299a27674401c31c9f055abc3044807627:

  UBUNTU: [Packaging] rebase-upstream: Add a bug reference if env variable LP is set (2021-09-30 08:12:32 +0200)

are available in the Git repository at:

  https://git.launchpad.net/~vicamo/ubuntu/+source/linux-firmware bug-1947829/mt7921-mcu-reset/impish-pull

for you to fetch changes up to 721e33dc2e615e810a3b4e0de0cb13e6083560f7:

  linux-firmware: update firmware for MT7921 WiFi device (2021-10-20 14:47:05 +0800)

----------------------------------------------------------------
Deren Wu (1):
      linux-firmware: update firmware for MT7921 WiFi device

 WHENCE                                     |   4 ++--
 mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin | Bin 92192 -> 92192 bytes
 mediatek/WIFI_RAM_CODE_MT7961_1.bin        | Bin 685320 -> 689864 bytes
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin b/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
index 15c68961..d63e48da 100644
Binary files a/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin and b/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin differ
diff --git a/mediatek/WIFI_RAM_CODE_MT7961_1.bin b/mediatek/WIFI_RAM_CODE_MT7961_1.bin
index 9de3d1d4..2a0599f5 100644
Binary files a/mediatek/WIFI_RAM_CODE_MT7961_1.bin and b/mediatek/WIFI_RAM_CODE_MT7961_1.bin differ

Comments

Timo Aaltonen Oct. 20, 2021, 12:10 p.m. UTC | #1
On 20.10.2021 10.03, You-Sheng Yang wrote:
> BugLink: https://bugs.launchpad.net/bugs/1947829
> 
> [Impact]
> 
> Sometimes MT7921 may not be probed due to an endless mcu reset:
> 
>    [ 5.789548] mt7921 mcu reset 0
>    [ 5.790625] mt7921 rx type 0x7
>    [ 5.790625] mt7921 eid 0x1 ext_eid 0x0
>    [ 5.790626] mt76_rx_event eid 0x1 ext_eid 0x0
> 
> [Fix]
> 
> WiFi and Bluetooth firmware updates from mainline:
> * e5a80ef8 linux-firmware: update frimware for mediatek bluetooth chip (MT7921)
> * d34196f5 linux-firmware: update firmware for MT7921 WiFi device
> 
> [Test Case]
> 
> This should fix the mcu reset and wireless/bluetooh devices should be
> probed successfully.
> 
> [Where problems could occur]
> 
> While there is explicit FW API for kernel version compatibility checking,
> this might introduce some hidden glitches that we don't know yet.
> 
> [Other Info]
> 
> MT7921 is supported since Impish 5.13 kernel, and Impish already has the
> latest Bluetooth firmware, so only the WiFi one is proposed. For oem-5.13
> and oem-5.14 in Focal, both firmware updates for Bluetooth and WiFi are
> required.
> 
> ----------------------------------------------------------------
> The following changes since commit dbd025299a27674401c31c9f055abc3044807627:
> 
>    UBUNTU: [Packaging] rebase-upstream: Add a bug reference if env variable LP is set (2021-09-30 08:12:32 +0200)
> 
> are available in the Git repository at:
> 
>    https://git.launchpad.net/~vicamo/ubuntu/+source/linux-firmware bug-1947829/mt7921-mcu-reset/impish-pull
> 
> for you to fetch changes up to 721e33dc2e615e810a3b4e0de0cb13e6083560f7:
> 
>    linux-firmware: update firmware for MT7921 WiFi device (2021-10-20 14:47:05 +0800)
> 
> ----------------------------------------------------------------
> Deren Wu (1):
>        linux-firmware: update firmware for MT7921 WiFi device
> 
>   WHENCE                                     |   4 ++--
>   mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin | Bin 92192 -> 92192 bytes
>   mediatek/WIFI_RAM_CODE_MT7961_1.bin        | Bin 685320 -> 689864 bytes
>   3 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/WHENCE b/WHENCE
> index e957390b..b3e53620 100644
> --- a/WHENCE
> +++ b/WHENCE
> @@ -5150,9 +5150,9 @@ Licence: Redistributable. See LICENCE.mediatek for details.
>   Driver: mt7921 - MediaTek MT7921 Wireless MACs
>   
>   File: mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
> -Version: 20210612122717a
> +Version: 20211014150838a
>   File: mediatek/WIFI_RAM_CODE_MT7961_1.bin
> -Version: 20210612122753
> +Version: 20211014150922
>   
>   Licence: Redistributable. See LICENCE.mediatek for details.
>   
> diff --git a/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin b/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
> index 15c68961..d63e48da 100644
> Binary files a/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin and b/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin differ
> diff --git a/mediatek/WIFI_RAM_CODE_MT7961_1.bin b/mediatek/WIFI_RAM_CODE_MT7961_1.bin
> index 9de3d1d4..2a0599f5 100644
> Binary files a/mediatek/WIFI_RAM_CODE_MT7961_1.bin and b/mediatek/WIFI_RAM_CODE_MT7961_1.bin differ
> 

applied, thanks
diff mbox series

Patch

diff --git a/WHENCE b/WHENCE
index e957390b..b3e53620 100644
--- a/WHENCE
+++ b/WHENCE
@@ -5150,9 +5150,9 @@  Licence: Redistributable. See LICENCE.mediatek for details.
 Driver: mt7921 - MediaTek MT7921 Wireless MACs
 
 File: mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
-Version: 20210612122717a
+Version: 20211014150838a
 File: mediatek/WIFI_RAM_CODE_MT7961_1.bin
-Version: 20210612122753
+Version: 20211014150922
 
 Licence: Redistributable. See LICENCE.mediatek for details.