[SRU][F/J] Update firmware of MT7922

Bug #1970923 reported by AaronMa
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Undecided
Unassigned
linux-firmware (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned

Bug Description

[Impact]
MT7922 is not stable to connect.

[Fix]
Update firmware of MT7922 wifi and bluetooth.

[Test]
Verified on RZ616, it works fine, suspend OK.
Wifi b/g can be connected.
iperf test result looks fine.
Bluetooth is stable.

[Where problems could occur]
These firmware is specific for MT7922, it should be low risk.

AaronMa (mapengyu)
tags: added: oem-priority originate-from-1968687 sutton
tags: added: originate-from-1964309
tags: added: originate-from-1968953
tags: added: originate-from-1965894
Revision history for this message
Bin Li (binli) wrote :

https://bugs.launchpad.net/sutton/+bug/1965460/comments/19

It should be from below commits.

commit ee439794cada7b1c26598d3e827ddb6b5b2512d6
Author: Sean Wang <email address hidden>
Date: Sat Apr 16 05:47:37 2022 +0800

    linux-firmware: update firmware for mediatek bluetooth chip (MT7922)

    Update binary firmware for MT7922 Bluetooth devices

    File: mediatek/BT_RAM_CODE_MT7922_1_1_hdr.bin
    Version: 20220322164155

    Signed-off-by: Sean Wang <email address hidden>
    Signed-off-by: Josh Boyer <email address hidden>

commit b0e1b45ea8ad8d0b8ab6342b0a30055780056af5
Author: Deren Wu <email address hidden>
Date: Fri Apr 15 21:30:42 2022 +0800

    linux-firmware: update firmware for MT7922 WiFi device

    Update binary firmware for MT7922 WiFi devices

    File: mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin
    Version: 20220322163923a
    File: mediatek/WIFI_RAM_CODE_MT7922_1.bin
    Version: 20220322164011

    Signed-off-by: Deren Wu <email address hidden>
    Signed-off-by: Josh Boyer <email address hidden>

Revision history for this message
AaronMa (mapengyu) wrote :
Juerg Haefliger (juergh)
tags: added: kern-3168
Juerg Haefliger (juergh)
Changed in linux-firmware (Ubuntu Jammy):
status: New → Fix Committed
Changed in linux-firmware (Ubuntu Focal):
status: New → Fix Committed
Revision history for this message
Jason Yen (jasonyen) wrote :

@ Juerg,

Thanks for the help to comment the new firmware for mt7922. Can you help to advise when will be the new linux-firmware with this fix landing?

Juerg Haefliger (juergh)
summary: - [SRU][F/J] Update firmware of MT7922
+ [SRU][F/J] Update firmware of MT7922
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello AaronMa, or anyone else affected,

Accepted linux-firmware into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/linux-firmware/20220329.git681281e4-0ubuntu3.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello AaronMa, or anyone else affected,

Accepted linux-firmware into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/linux-firmware/1.187.31 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

AaronMa (mapengyu)
tags: added: verification-done-focal
tags: added: verification-done-jammy
Revision history for this message
Bin Li (binli) wrote :

Eugene had done two reboot 30 and one sleep 30 test with Fenrir-AMD-2, both
wifi and bt works well after the stress test. The kernel was 1036-oem and the firmware was 1.187.31.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware - 1.187.31

---------------
linux-firmware (1.187.31) focal; urgency=medium

  * The system hangs when HDMI external monitor involved on AMD Yellow Carp platforms (LP: #1970293)
    - amdgpu: update yellow carp DMCUB firmware
  * [SRU][F/J] Update firmware of MT7922 (LP: #1970923)
    - linux-firmware: update firmware for MT7922 WiFi device
    - linux-firmware: update firmware for mediatek bluetooth chip (MT7922)
  * [SRU][F][linux-firmware] UBUNTU: SAUCE: Update firmware of WCN6855 (LP: #1972806)
    - SAUCE: WCN6855 hw2.0: update board-2.bin
    - SAUCE: WCN6855 hw2.0: 1.1: add WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.9

 -- Juerg Haefliger <email address hidden> Fri, 13 May 2022 13:35:44 +0200

Changed in linux-firmware (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Update Released

The verification of the Stable Release Update for linux-firmware has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
h4wkmoon (h4wkmooncz) wrote :

not function mediatek bluetooth chip (MT7922) n linux-firmware - 1.187.31 20220329.git681281e4-0ubuntu3.2

Linux gandalf-Zenbook-UM3402YA-UM3402YA 5.18.0-051800-generic #202205222030 SMP PREEMPT_DYNAMIC Sun May 22 20:33:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

https://linux-hardware.org/?probe=1a31d93797

some wifi+bluetooth here: https://wiki.archlinux.org/title/ASUS_ROG_Zephyrus_G14_(2022)_GA402

Revision history for this message
AaronMa (mapengyu) wrote :

@h4wkmoon

Could you try to apply the attached patch and build kernel or btusb module to verify?

tags: added: patch
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Releasing this as-is under the assumption that the hardware mentioned in comment #9 didn't work before and is not a regression. Please follow up with a fix for it at a later point.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware - 20220329.git681281e4-0ubuntu3.2

---------------
linux-firmware (20220329.git681281e4-0ubuntu3.2) jammy; urgency=medium

  * [SRU][F/J] Update firmware of MT7922 (LP: #1970923)
    - linux-firmware: update firmware for MT7922 WiFi device
    - linux-firmware: update firmware for mediatek bluetooth chip (MT7922)
  * Add firmware for i915/DG2 (LP: #1971539)
    - i915: Add GuC v70.1.2 for DG2
    - i915: Add DMC v2.06 for DG2

 -- Juerg Haefliger <email address hidden> Fri, 13 May 2022 13:44:55 +0200

Changed in linux-firmware (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
h4wkmoon (h4wkmooncz) wrote :

@AaronMa jupiiii :-) fixed

i used new kernel 5.18.1 #1 SMP PREEMPT_DYNAMIC Wed Jun 1 23:32:47 CEST 2022 x86_64 x86_64 x86_64 GNU/Linux - no function bluetooth chip MT7922, wifi OK

and compiled with your patch MT7922 WiFi + bluetooth chip work fine :-)

btusb.c
 { USB_DEVICE(0x13d3, 0x3568), .driver_info = BTUSB_MEDIATEK |
           BTUSB_WIDEBAND_SPEECH |
           BTUSB_VALID_LE_STATES },

thx much !

ASUS Zenbook UM3402

Revision history for this message
AaronMa (mapengyu) wrote :

@h4wkmoon,

Thanks for your test.
send the patch to upstream:
https://<email address hidden>/T/#u

Timo Aaltonen (tjaalton)
Changed in linux-firmware (Ubuntu):
status: New → Fix Released
Timo Aaltonen (tjaalton)
Changed in hwe-next:
status: New → Fix Released
Revision history for this message
gugaiz (gugaiz) wrote :

I have a MediaTek Corp. MT7922 running with kernel 6.2.0-20-generic #20-Ubuntu. Wifi works fine after a reboot, but it does not start after resuming. I can't even do sudo commands after resuming and the computer won't turn off (I have to turn it off by pressing and holding the power button)

The report here says that it works fine after suspend, but it is not the case here. Any ideas?

$ sudo lshw -C network
  *-network
       description: Wireless interface
       product: MT7922 802.11ax PCI Express Wireless Network Adapter
       vendor: MEDIATEK Corp.
       physical id: 0
       bus info: pci@0000:2f:00.0
       logical name: wlo1
       version: 00
       serial: e8:fb:1c:7d:be:e7
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=mt7921e driverversion=6.2.0-20-generic firmware=____000000-20221227123243 ip=192.168.0.159 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: iomemory:620-61f irq:189 memory:622c100000-622c1fffff memory:86c00000-86c07fff

$ apt show linux-firmware
Package: linux-firmware
Version: 20230323.gitbcdcfbcf-0ubuntu1.1
Priority: optional

$ cat /etc/os-release
PRETTY_NAME="Ubuntu 23.04"
NAME="Ubuntu"
VERSION_ID="23.04"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.