Public bug reported: [Impact] MediaTek is dropping the wireless-regdb dependency on new platforms. The mt76 driver has the code for it (regulatory wiphy self-managed mode, 802.11d). The MT7922 firmware in the archive does not carry the regulatory (CLC) data that code needs, so the mode never turns on.
On Dell systems with MediaTek MT7922 modules, country channel and power limits then only come from wireless-regdb. This blocks the feature for the new platforms. The kernel side is already in the 7.3 kernel. Only the firmware is missing. Firmware in the archive today: mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin Version: 20260224103145a mediatek/WIFI_RAM_CODE_MT7922_1.bin Version: 20260224103233 The RAM code only has CLC records with index 0. No index 3 (regulatory) record. [Fix] Update the two MT7922 firmware files to the latest MediaTek release: mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin Version: 20261027203145a mediatek/WIFI_RAM_CODE_MT7922_1.bin Version: 20261027203227 The new RAM code adds CLC records with index 3. The driver uses them as MT792x_CLC_REGD. Upstream linux-firmware commit, merged in main, not in a release tag yet: 2452612955cd linux-firmware: update firmware for MT7922 WiFi device Earlier MediaTek updates to the same files: 1a2f6aca3c9c (20260605, tag 20260622) 3ea09d09e (20260724, tag 20260810, first with index 3 records) Driver patches (already in v7.3): 9b80bd9cab40 wifi: mt76: mt7921: add regulatory wiphy self manager support 1f83a8378eb2 wifi: mt76: mt7921: refactor regd update to fix recursive mutex deadlock 1a296bfd3e77 wifi: mt76: mt7921: skip unknown CLC firmware records (v7.3-rc3) Patch series: https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/ (Fill in the other patchwork URLs from MediaTek's list.) [Test Plan] Install the updated linux-firmware on a system with an MT7922 card. Boot the oem-7.3 kernel. 1. Check the firmware loaded: $ sudo dmesg | grep -i mt7921e Without patch: build time of the 2026-02-24 firmware. With patch: patch build 20261027203145a, ram build 20261027203227. 2. Check the regulatory mode: $ iw reg get Without patch: country and rules come from wireless-regdb. With patch: the phy is listed as "self-managed" with rules from the firmware. 3. Check the card still works: $ nmcli device wifi connect <ssid> password <pw> $ ping -c 10 <gateway> With patch: it connects and there are no firmware errors in dmesg. [Where problems could occur] Could break the mt7921e WiFi driver on MT7922 (MediaTek MCU and RAM firmware). If the new firmware is bad, the card could fail to load it. The wlan interface would then be missing and dmesg would show "Failed to start patch" or a firmware init error. Self-managed mode changes where the country rules come from. If the new data is wrong, valid 5 GHz or 6 GHz channels could be hidden, or channels the country does not allow could show up. Kernels without the CLC record check can break with this firmware. The new RAM code has index 3 records. Drivers without the bounds check write past the end of phy->clc[] (3 entries) or fail to probe. 7.0 stable kernels need d98cfccb739c "skip unknown CLC firmware records". Our 7.0.14 tree has it. Older flavors (6.17 and older) have not been checked. The same two files are used by other MT7921/MT7922 cards, so all of them get the new firmware. ** Affects: hwe-next Importance: Undecided Status: New ** Affects: linux-firmware (Ubuntu) Importance: Undecided Status: New ** Affects: linux-firmware (Ubuntu Resolute) Importance: Undecided Status: New ** Affects: linux-firmware (Ubuntu Stonking) Importance: Undecided Status: New ** Tags: jira-somerville-4786 oem-priority somerville ** Also affects: linux-firmware (Ubuntu Resolute) Importance: Undecided Status: New ** Also affects: linux-firmware (Ubuntu Stonking) Importance: Undecided Status: New ** Tags added: jira-somerville-4786 oem-priority somerville -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2174563 Title: MediaTek MT7922 WiFi regulatory domain not self-managed, firmware too old To manage notifications about this bug go to: https://bugs.launchpad.net/hwe-next/+bug/2174563/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
