Support Mediatek MT7925 WiFi/BT

Bug #2043542 reported by You-Sheng Yang
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Invalid
Undecided
Unassigned
Noble
Fix Released
Undecided
Unassigned
linux-firmware (Ubuntu)
Fix Released
High
You-Sheng Yang
Jammy
Fix Released
High
You-Sheng Yang
Noble
Fix Released
High
You-Sheng Yang
linux-oem-6.5 (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Fix Released
High
You-Sheng Yang
Noble
Invalid
Undecided
Unassigned

Bug Description

[kernel SRU Justification]

[Impact]

Mediatek MT7925 WiFi/Bluetooth not supported yet.

[Fix]

For WiFi, there are tons of patches to be backported from upstream kernel v6.7 due to a massive refactoring was done to integrate multiple mt79xx drivers into one before landing support for mt7925. While these changes, mostly clean cherry-picks, are tied to each other, and separating them may cause more efforts in the future, a huge patchset of total number 144 is proposed.

For Bluetooth, upstream commit 4c92ae75ea7d ("Bluetooth: btusb: Add support Mediatek MT7925") is required.

[Test Case]

Initial hardware support. One should be able to find WiFi/BT interfaces up available along with proposed kernels.

[Where problems could occur]

Features for MT7925 are not all available at this moment, and expect more fixes for every corner case.

[Other Info]

MT7925 is supported since v6.7, and we need it for oem-6.5 as well. Nominate for Jammy and Noble.

============================================================================

[linux-firmware SRU Justification]

[Impact]

Missing firmware for Mediatek MT7925 WiFi/BT.

[Fix]

Upstream firmware commits:
- WiFi: 4de2d71b322b ("linux-firmware: add firmware for MT7925")
- Bluetooth: b83108216200 ("linux-firmware: add firmware for mediatek bluetooth
  chip (MT7925)")

[Test Case]

Initial hardware support. One should be able to find WiFi/BT interfaces up
available along with proposed kernels.

[Where problems could occur]

Features for MT7925 are not all available at this moment, and expect more fixes
for every corner case.

[Other Info]

MT7925 is supported since v6.7, and we need it for oem-6.5 as well. Nominate
for Jammy and Noble.

========== original bug report ==========

* WiFi
  - kernel: https://<email address hidden>/
    * ebe81e6b8659 wifi: mt76: connac: add more unified event IDs
    * 3c1199134874 wifi: mt76: connac: add more unified command IDs
    * 473f26fb167e wifi: mt76: connac: add data field in struct tlv
    * 975cd4d6d547 wifi: mt76: connac: add eht support for tx power
    * e9eac4eb1bbd wifi: mt76: connac: add eht support for phy mode config
    * d3d7f57e5c1c wifi: mt76: connac: export functions for mt7925
    * 69f94b9fab06 wifi: mt76: mt792x: support mt7925 chip init
    * 525209262f9c wifi: mt76: connac: introduce helper for mt7925 chipset
  - firmware: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=4de2d71b322b9289a9851b9e1ef8c29ebf01071a
* Bluetooth
  - kernel: https://github.com/torvalds/linux/commit/4c92ae75ea7d41b6bafe10ee6f4c12ec12624786
  - firmware: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=b83108216200dfece891ddc52bcde2e2860f5dc2

You-Sheng Yang (vicamo)
tags: added: amd oem-priority originate-from-2039771
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Depends on https://<email address hidden>/
* c9072f112fcf wifi: mt76: mt792x: introduce mt792x_irq_map
* e8a264ccd2de wifi: mt76: mt7921: move init shared code in mt792x-lib module
* 974e759c3fd9 wifi: mt76: mt7921: move debugfs shared code in mt792x-lib module
* c693f2f068c0 wifi: mt76: mt7921: move dma shared code in mt792x-lib module
* 311f121c2409 wifi: mt76: mt7921: move mac shared code in mt792x-lib module
* c74df1c067f2 wifi: mt76: mt792x: introduce mt792x-lib module
* 20249e1a853c wifi: mt76: mt7921: move mt792x_hw_dev in mt792x.h
* c605d0ce0253 wifi: mt76: mt7921: move mt792x_mutex_{acquire/release} in mt792x.h
* 1c42e0f28359 wifi: mt76: mt792x: move shared structure definition in mt792x.h
* 838cc6679733 wifi: mt76: mt7921: rename mt7921_hif_ops in mt792x_hif_ops
* 975e122ddb7c wifi: mt76: mt7921: rename mt7921_dev in mt792x_dev
* 78562b2cafc6 wifi: mt76: mt7921: rename mt7921_phy in mt792x_phy
* b7bfad2c83cd wifi: mt76: mt7921: rename mt7921_sta in mt792x_sta
* 15ca8970efdb wifi: mt76: mt7921: rename mt7921_vif in mt792x_vif
* 95a686dcaea0 wifi: mt76: mt7921: convert acpisar and clc pointers to void
* 6db1b497b04e wifi: mt76: mt7921: move common register definition in mt792x_regs.h

Revision history for this message
You-Sheng Yang (vicamo) wrote :

And https://<email address hidden>/
* fc80731ba063 wifi: mt76: mt7921: move mt7921u_disconnect mt792x-lib
* 2e7f7a2c871c wifi: mt76: mt7921: move mt7921_dma_init in pci.c
* 7d403f3a19c6 wifi: mt76: mt792x: move MT7921_PM_TIMEOUT and MT7921_HW_SCAN_TIMEOUT in common code
* 81d4c943a168 wifi: mt76: mt76_connac3: move lmac queue enumeration in mt76_connac3_mac.h
* 583204ae70f9 wifi: mt76: mt792x: move mt7921_load_firmware in mt792x-lib module
* d28e1a48952e wifi: mt76: mt792x: introduce mt792x-usb module
* 29f5a494f7a2 wifi: mt76: mt7921: move acpi_sar code in mt792x-lib module
* 1c0254967d94 wifi: mt76: mt7921: move runtime-pm pci code in mt792x-lib
* c21a7f9f406b wifi: mt76: mt7921: move shared runtime-pm code on mt792x-lib
* 5c041325cd0b wifi: mt76: mt7921: move hif_ops macro in mt792x.h
* ff6551740000 wifi: mt76: mt792x: move more dma shared code in mt792x_dma

You-Sheng Yang (vicamo)
Changed in linux-oem-6.5 (Ubuntu):
status: New → Invalid
Changed in linux-oem-6.5 (Ubuntu Jammy):
status: New → Incomplete
Revision history for this message
AceLan Kao (acelankao) wrote :

Just a note the firmware for MT7925 is here https://launchpad.net/bugs/2042496

Revision history for this message
You-Sheng Yang (vicamo) wrote :
You-Sheng Yang (vicamo)
description: updated
Juerg Haefliger (juergh)
tags: added: kern-8846
You-Sheng Yang (vicamo)
Changed in linux-firmware (Ubuntu Jammy):
status: New → In Progress
Changed in linux-firmware (Ubuntu Noble):
status: New → In Progress
Changed in linux-firmware (Ubuntu Jammy):
importance: Undecided → High
Changed in linux-firmware (Ubuntu Noble):
importance: Undecided → High
Changed in linux-firmware (Ubuntu Jammy):
assignee: nobody → You-Sheng Yang (vicamo)
Changed in linux-firmware (Ubuntu Noble):
assignee: nobody → You-Sheng Yang (vicamo)
You-Sheng Yang (vicamo)
summary: - Add MT7925 WiFi/BT support
+ Support Mediatek MT7925 WiFi/BT
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Three more fixes available in v6.7-rc4 and -rc7:
* cd607f2cbbbec wifi: mt76: fix crash with WED rx support enabled
* 695bfba7ca781 wifi: mt76: mt7925: fix typo in mt7925_init_he_caps
* 7a934b5cc3f45 wifi: mt76: mt7921: fix 6GHz disabled by the missing default CLC config

Changed in linux (Ubuntu Jammy):
status: New → Invalid
Revision history for this message
You-Sheng Yang (vicamo) wrote :

So far Wifi kernel driver will be ready since v6.7-rc1 (with fixes from -rc7), and Bluetooth since v6.6. While linux/noble is currently at v6.6, mark it as confirmed at this moment.

Changed in linux (Ubuntu Noble):
status: New → Confirmed
Changed in linux-oem-6.5 (Ubuntu Jammy):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: Incomplete → In Progress
Revision history for this message
You-Sheng Yang (vicamo) wrote :
description: updated
You-Sheng Yang (vicamo)
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote :

All commits are already in linux/noble 6.7.0-1.1.

Changed in linux (Ubuntu Noble):
status: Confirmed → Fix Released
Juerg Haefliger (juergh)
Changed in linux-firmware (Ubuntu Jammy):
status: In Progress → Fix Committed
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello You-Sheng, 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.25 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
You-Sheng Yang (vicamo) wrote :

verified linux-firmware/jammy-proposed version 20220329.git681281e4-0ubuntu3.25

tags: added: verification-done-jammy
Revision history for this message
You-Sheng Yang (vicamo) wrote :
Timo Aaltonen (tjaalton)
Changed in linux-oem-6.5 (Ubuntu Jammy):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-6.5/6.5.0-1014.15 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy-linux-oem-6.5' to 'verification-done-jammy-linux-oem-6.5'. If the problem still exists, change the tag 'verification-needed-jammy-linux-oem-6.5' to 'verification-failed-jammy-linux-oem-6.5'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-oem-6.5-v2 verification-needed-jammy-linux-oem-6.5
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello You-Sheng, 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.26 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
Launchpad Janitor (janitor) wrote :

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

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

  * Miscellaneous Ubuntu changes
    - [Workflow] Add initial gitea workflow files
    - SAUCE: [Workflow] check_whence.py: Update list of known files
  * Revert "WCN6856 Wi-FI Unavailable and no function during suspend stress (LP: #2048977)"
    - Revert "ath11k: WCN6855 hw2.0: update to WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.36"
    - Revert "ath11k: WCN6855 hw2.0: update board-2.bin"
    - Revert "ath11k: WCN6855 hw2.0: update board-2.bin"

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

  * Dell dock station WD22TB4 loses ether dev after reboot/power off (LP: #2048747)
    - rtl_nic: update firmware of USB devices
  * occasional wifi firmware loading failures: wiwlwifi: BE200: Failed to start RT ucode: -110 (LP: #2048853)
    - iwlwifi: add new FWs from core81-65 release
    - iwlwifi: add new FWs from core83-55 release
    - iwlwifi: fix for the new FWs from core83-55 release
    - iwlwifi: update gl FW for core80-165 release
  * WCN6856 Wi-FI Unavailable and no function during suspend stress (LP: #2048977)
    - ath11k: WCN6855 hw2.0: update board-2.bin
    - ath11k: WCN6855 hw2.0: update board-2.bin
    - ath11k: WCN6855 hw2.0: update to WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.36
  * Support Mediatek MT7925 WiFi/BT (LP: #2043542)
    - linux-firmware: add firmware for MT7925
    - linux-firmware: add firmware for mediatek bluetooth chip (MT7925)
  * upstream Intel VSC firmware paths moved to intel/vsc/ (LP: #2048991)
    - intel: vsc: Add firmware for Visual Sensing Controller
    - SAUCE: intel: vsc: use upstream binaries

 -- Juerg Haefliger <email address hidden> Tue, 30 Jan 2024 11:04:32 +0100

Changed in linux-firmware (Ubuntu Jammy):
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
You-Sheng Yang (vicamo) wrote (last edit ):

verified linux-firmware/jammy-proposed version 20220329.git681281e4-0ubuntu3.26 and linux-oem-6.5/jammy-proposed version 6.5.0-1014.15.

tags: added: verification-done-jammy-linux-oem-6.5
removed: verification-needed-jammy-linux-oem-6.5
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (96.9 KiB)

This bug was fixed in the package linux-oem-6.5 - 6.5.0-1014.15

---------------
linux-oem-6.5 (6.5.0-1014.15) jammy; urgency=medium

  * jammy/linux-oem-6.5: 6.5.0-1014.15 -proposed tracker (LP: #2048371)

  * DP connection swap to break eDP behavior on AMD 7735U (LP: #2049758)
    - drm/amd/display: Pass pwrseq inst for backlight and ABM

  * Disable keyboard wakeup for Framework 13 (LP: #2048735)
    - platform/x86/amd/pmc: Move platform defines to header
    - platform/x86/amd/pmc: Only run IRQ1 firmware version check on Cezanne
    - platform/x86/amd/pmc: Move keyboard wakeup disablement detection to pmc-
      quirks
    - platform/x86/amd/pmc: Disable keyboard wakeup on AMD Framework 13

  * Enable the mic-mute led on Dell MTL laptops (LP: #2049569)
    - ASoC: SOF: ipc4-control: Add support for ALSA switch control
    - ASoC: SOF: ipc4-topology: Add definition for generic switch/enum control

  * Support Mediatek MT7925 WiFi/BT (LP: #2043542)
    - wifi: mt76: mt7603: rework/fix rx pse hang check
    - wifi: mt76: mt7603: improve watchdog reset reliablity
    - wifi: mt76: mt7603: improve stuck beacon handling
    - wifi: mt76: connac: move connac3 definitions in mt76_connac3_mac.h
    - wifi: mt76: remove unused error path in mt76_connac_tx_complete_skb
    - wifi: mt76: mt7996: set correct wcid in txp
    - wifi: mt76: mt7996: fix beamform mcu cmd configuration
    - wifi: mt76: mt7996: fix beamformee ss subfield in EHT PHY cap
    - wifi: mt76: mt7996: fix wmm queue mapping
    - wifi: mt76: mt7996: fix rx rate report for CBW320-2
    - wifi: mt76: mt7996: fix TWT command format
    - wifi: mt76: update beacon size limitation
    - wifi: mt76: fix potential memory leak of beacon commands
    - wifi: mt76: get rid of false alamrs of tx emission issues
    - wifi: mt76: fix per-band IEEE80211_CONF_MONITOR flag comparison
    - wifi: mt76: mt7915: fix beamforming availability check
    - wifi: mt76: mt7996: enable BSS_CHANGED_MU_GROUPS support
    - wifi: mt76: mt7615: enable BSS_CHANGED_MU_GROUPS support
    - wifi: mt76: enable UNII-4 channel 177 support
    - wifi: mt76: mt7915: report tx retries/failed counts for non-WED path
    - wifi: mt76: report non-binding skb tx rate when WED is active
    - wifi: mt76: mt7915: drop return in mt7915_sta_statistics
    - wifi: mt76: mt7996: drop return in mt7996_sta_statistics
    - wifi: mt76: mt7921: remove macro duplication in regs.h
    - wifi: mt76: mt7915: move mib_stats structure in mt76.h
    - wifi: mt76: mt7996: rely on mib_stats shared definition
    - wifi: mt76: mt7921: rely on mib_stats shared definition
    - wifi: mt76: mt7915: add support for MT7981
    - wifi: mt76: mt7921e: report tx retries/failed counts in tx free event
    - wifi: mt76: add tx_nss histogram to ethtool stats
    - wifi: mt76: mt7915: accumulate mu-mimo ofdma muru stats
    - wifi: mt76: mt7921: Support temp sensor
    - wifi: mt76: mt7915: disable WFDMA Tx/Rx during SER recovery
    - wifi: mt76: mt7996: disable WFDMA Tx/Rx during SER recovery
    - wifi: mt76: mt7921: make mt7921_mac_sta_poll static
    - mt76: mt7996: rely on mt76_sta_stats in mt76_wcid
    - wifi: mt76: mt7921: get rid of MT7921_RESET...

Changed in linux-oem-6.5 (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

l-f landed in noble

Changed in linux-firmware (Ubuntu Jammy):
status: Fix Released → Triaged
status: Triaged → Fix Released
Changed in linux-firmware (Ubuntu Noble):
status: In Progress → Fix Released
Changed in hwe-next:
status: New → Fix Released
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.