All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Cristian Pacheco" <cristianpacheco@fastmail.com>
To: "Mario Limonciello" <mario.limonciello@amd.com>,
	"sean.wang@mediatek.com" <sean.wang@mediatek.com>,
	"shayne.chen@mediatek.com" <shayne.chen@mediatek.com>,
	"ryder.lee@mediatek.com" <ryder.lee@mediatek.com>
Cc: "linux-mediatek@lists.infradead.org"
	<linux-mediatek@lists.infradead.org>,
	"linux-firmware@kernel.org" <linux-firmware@kernel.org>,
	"regressions@lists.linux.dev" <regressions@lists.linux.dev>,
	"nbd@nbd.name" <nbd@nbd.name>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	Cristian <cristianpacheco@protonmail.com>,
	"lorenzo@kernel.org" <lorenzo@kernel.org>,
	"Thorsten Leemhuis" <regressions@leemhuis.info>
Subject: Re: [REGRESSION] mt7925e: TX broken on 6 GHz (no DHCP) with linux-firmware 20261124 on 7.3.x; fine on 6.18 LTS
Date: Fri, 04 Dec 2026 12:17:05 -0600	[thread overview]
Message-ID: <def5e9e5-e3f8-41ff-ae79-82d022cdebb7@app.fastmail.com> (raw)
In-Reply-To: <0ef5750f-d5e2-4428-9401-df4867096ca7@amd.com>

In-Reply-To: <0ef5750f-d5e2-4428-9401-df4867096ca7@amd.com>
Subject: Re: [REGRESSION] mt7925e: TX broken on 6 GHz (no DHCP) with linux-firmware 20261124 on 7.3.x; fine on 6.18 LTS

On 12/4/26 08:22, Mario Limonciello wrote:
> I didn't do any commits.  I accepted pull requests from the robot from
> Mediatek requested firmware changes.
>
> If a revert is needed and Mediatek agrees; send a PR with a revert.

Thanks, Mario, that makes sense.

Sean, Ryder, Shayne: do you agree to a revert? Because main now also
has 15110556 (which is still broken), the revert would put both files
back to the 3c11e660 blobs (20260813113015a / 20260813113118), which
work with both 6.18 and 7.3. I will prepare the merge request and post
the link here. An Acked-by from MediaTek on it would be enough for it
to be merged.

If you would rather fix this on the firmware or driver side, I can help
with that too. 6.18.65 works with the new firmware and 7.3.x does not,
so the driver change that matters is somewhere between those two
versions. I can bisect the kernel with the new firmware to find it if
that would be useful, or test a new firmware build.

Thanks,
Cristian Pacheco


On Fri, Dec 4, 2026, at 8:22 AM, Mario Limonciello wrote:
> On 12/4/26 01:40, Thorsten Leemhuis wrote:
>> On 12/2/26 21:46, Cristian Pacheco wrote:
>>> In-Reply-To: <1478cfe8-f70f-4c65-b3e0-800e2d04d384@leemhuis.info>
>>> Subject: Re: [REGRESSION] mt7925e: TX broken on 6 GHz (no DHCP) with linux-firmware 20261124 on 7.3.x; fine on 6.18 LTS
>>>
>>> On 12/2/26 11:34, Thorsten Leemhuis wrote:
>>>> Thx for the report. In case there is no reply here soon, please report
>>>> an issue in https://gitlab.com/kernel-firmware/linux-firmware and ask
>>>> for a revert while describing the problem, as this from what I should
>>>> not happen, as explained in
>>>> Documentation/driver-api/firmware/firmware-usage-guidelines.rst.
>>>
>>> Thanks, Thorsten. Issues appear to be disabled on that project: there
>>> is no Issues entry, and /-/issues/new returns 404 even when logged in.
>> Ohh, that must have changed recently, as I think the path I outlined
>> worked a few months ago for two other reverts (or I'm confused). Anyway,
>> no problem, in that case lets get Mario into the loop:
>> 
>> Mario did some of the most recent commits, can tell us what the right
>> approach is, or maybe even directly take care of the revert.
>
> Hi,
>
> I didn't do any commits.  I accepted pull requests from the robot from 
> Mediatek requested firmware changes.
>
> If a revert is needed and Mediatek agrees; send a PR with a revert.
>
> Thanks,>
>> Ciao, Thorsten
>> 
>>> Two updates:
>>>
>>> 1. Culprit commit in linux-firmware
>>>
>>>     Last good: 3c11e660d3a8 ("linux-firmware: update firmware for MT7925
>>>     WiFi device"), versions 20260813113015a / 20260813113118, in tag
>>>     20261019.
>>>
>>>     First bad: 5a3f625f2e9d ("linux-firmware: update firmware for MT7925
>>>     WiFi device"), versions 20261016232915a / 20261016233029, first
>>>     shipped in tag 20261124.
>>>
>>>     The versions match exactly what the driver logs in the good and bad
>>>     cases.
>>>
>>> 2. The newer firmware in main (15110556531b, versions 20261126112940a /
>>>     20261126113102, merged 2026-12-01, not tagged yet) is still broken.
>>>
>>>     Tested on 7.3.6-arch1-2 by placing both files in /lib/firmware/updates
>>>     (the driver logged Build Time 20261126112940a / 20261126113102):
>>>
>>>     6 GHz, 6375 MHz, 160 MHz, signal -34 dBm:
>>>       tx packets 33 / tx retries 196 / tx failed 14
>>>       tx bitrate alternates between 6.0 and 216.1 MBit/s (EHT-MCS 2 NSS 1)
>>>       no DHCP lease
>>>     5 GHz, 5785 MHz, signal -31 dBm:
>>>       tx bitrate 103.2 MBit/s 40MHz EHT-MCS 4 EHT-NSS 1
>>>       tx packets 27 / tx retries 85 / tx failed 0
>>>
>>>     The 5 GHz rate is slightly better than with 5a3f625f, but 6 GHz is
>>>     still unusable.
>>>
>>>     For comparison, same kernel and AP with 3c11e660:
>>>       6 GHz: 2882.3 MBit/s 160MHz EHT-MCS 13 NSS 2, 222 tx / 12 retries / 0 failed
>>>
>>> JB, Sean, Ryder, Shayne: could you please revert 5a3f625f in
>>> linux-firmware until a firmware that works with current mainline is
>>> available? Alternatively, let me know if there is a driver change for
>>> 7.3.x that the new firmware needs. I am happy to test patches or new
>>> firmware builds.
>>>
>>> Thanks,
>>> Cristian Pacheco
>>>
>>>
>>> On Wed, Dec 2, 2026, at 4:34 AM, Thorsten Leemhuis wrote:
>>>> On 12/1/26 04:09, Cristian wrote:>
>>>>> After updating linux-firmware (MediaTek) from 20261019 to 20261124, my
>>>>> MT7925 can no longer transmit reliably: on 6 GHz it associates and
>>>>> completes the 4-way handshake but never gets an IP (almost every TX frame
>>>>> is retried/fails), and on 5 GHz TX rate collapses to MCS0/1 NSS1 with
>>>>> heavy retries. Downgrading only the firmware fixes it on the same
>>>>> kernels. The same new firmware works fine with the 6.18 LTS driver.
>>>>
>>>> Thx for the report. In case there is no reply here soon, please report
>>>> and issue in https://gitlab.com/kernel-firmware/linux-firmware and ask
>>>> for a revert while  describing the problem, as this from what I should
>>>> not happen, as explained in
>>>> Documentation/driver-api/firmware/firmware-usage-guidelines.rst.
>>>>
>>>> Ciao, Thorsten
>>>>> Hardware / software
>>>>> -------------------
>>>>>    Laptop:    Lenovo ThinkPad T16 Gen 4 (21QQCTO1WW), BIOS R2XET35W (1.15)
>>>>>    Device:    c2:00.0 MEDIATEK Corp. MT7925 802.11be 160MHz 2x2 PCIe
>>>>>               [Filogic 360] [14c3:7925], subsystem Lenovo [17aa:e025]
>>>>>    Driver:    mt7925e
>>>>>    Distro:    Arch Linux
>>>>>    Userspace: NetworkManager 1.58.1, wpa_supplicant 2.12
>>>>>    Regdomain: MX (6 GHz LPI, 12 dBm)
>>>>>    AP:        Ubiquiti U7 Pro, fw 8.8.14, 6 GHz 160 MHz (ch 37 and ch 85),
>>>>>               WPA3-SAE, MLO off, 802.11r off. Other 6 GHz clients
>>>>>               (WiFi 6E and WiFi 7) work fine on the same APs.
>>>>>
>>>>> Firmware versions (as reported by the driver)
>>>>> ---------------------------------------------
>>>>>    linux-firmware 20261019 (good):
>>>>>      HW/SW Version: 0x8a108a10, Build Time: 20260813113015a
>>>>>      WM Firmware Version: ____000000, Build Time: 20260813113118
>>>>>    linux-firmware 20261124 (bad):
>>>>>      HW/SW Version: 0x8a108a10, Build Time: 20261016232915a
>>>>>      WM Firmware Version: ____000000, Build Time: 20261016233029
>>>>>
>>>>>    Files: mediatek/mt7925/WIFI_MT7925_PATCH_MCU_1_1_hdr.bin,
>>>>>           mediatek/mt7925/WIFI_RAM_CODE_MT7925_1_1.bin
>>>>>
>>>>> Test matrix (6 GHz, same AP, same location, signal -44 dBm)
>>>>> -----------------------------------------------------------
>>>>>    kernel           firmware   result
>>>>>    7.3.5-arch1-1    20261019   OK
>>>>>    7.3.5-arch1-1    20261124   BROKEN
>>>>>    7.3.6-arch1-2    20261019   OK
>>>>>    7.3.6-arch1-2    20261124   BROKEN
>>>>>    6.18.65 (LTS)    20261124   OK
>>>>>
>>>>> Broken case (7.3.6 + fw 20261124), 6 GHz, 6375 MHz, 160 MHz:
>>>>>    signal: -44 dBm
>>>>>    tx packets: 21   tx retries: 210   tx failed: 15
>>>>>    tx bitrate: 6.0 MBit/s   rx bitrate: 6.0 MBit/s
>>>>>    NetworkManager stuck in "getting IP configuration".
>>>>>    Packet capture on wlan0: DHCP Discover/Request frames are sent,
>>>>>    zero DHCP replies and zero incoming ARP. (Same numbers on 7.3.5.)
>>>>>
>>>>> Broken case, 5 GHz (control, 5785 MHz):
>>>>>    Association and DHCP succeed, but TX is degraded:
>>>>>    7.3.6: tx bitrate 17.2 MBit/s 40MHz EHT-MCS 0 EHT-NSS 1,
>>>>>           rx bitrate 1080.6 MBit/s 80MHz EHT-MCS 10 EHT-NSS 2,
>>>>>           tx packets 53 / tx retries 305 / tx failed 7
>>>>>    7.3.5: tx bitrate 34.4 MBit/s 40MHz EHT-MCS 1 EHT-NSS 1,
>>>>>           tx packets 45 / tx retries 247 / tx failed 4, RTT up to ~1 s
>>>>>
>>>>> Good case (7.3.6 + fw 20261019), 6 GHz, 6135 MHz, 160 MHz:
>>>>>    tx/rx bitrate: 2401.9 MBit/s 160MHz EHT-MCS 11 EHT-NSS 2
>>>>>    tx failed: 0, ping to gateway 0% loss, ~3 ms
>>>>> Good case (7.3.5 + fw 20261019), 6 GHz, 6375 MHz:
>>>>>    tx bitrate: 2882.3 MBit/s 160MHz EHT-MCS 13 EHT-NSS 2
>>>>>    tx packets 45 / tx retries 29 / tx failed 0
>>>>> Good case (6.18.65 LTS + fw 20261124), 6 GHz, 6375 MHz:
>>>>>    tx bitrate: 2882 MBit/s EHT-MCS 13, tx packets 25 / tx retries 2
>>>>>
>>>>> Since the receive side works and only TX is affected, and since the
>>>>> 6.18 driver copes with the new firmware while the 7.3.x driver does not,
>>>>> this looks like an incompatibility between the 20261124 firmware and the
>>>>> mt7925 driver in recent mainline (possibly TX power / rate control,
>>>>> given that 6 GHz LPI at 12 dBm fails completely while 5 GHz degrades).
>>>>>
>>>>> Full logs (iw link, station dump, kernel firmware lines) and the DHCP
>>>>> packet captures are available on request.
>>>>>
>>>>> #regzbot introduced: linux-firmware 20261019..20261124
>>>>>
>>>>> Thanks,
>>>>> Cristian Pacheco
>>

      reply	other threads:[~2026-12-04 18:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01  3:09 [REGRESSION] mt7925e: TX broken on 6 GHz (no DHCP) with linux-firmware 20261124 on 7.3.x; fine on 6.18 LTS Cristian
2026-12-02 10:34 ` Thorsten Leemhuis
2026-12-02 20:46   ` Cristian Pacheco
2026-12-04  7:40     ` Thorsten Leemhuis
2026-12-04 14:22       ` Mario Limonciello
2026-12-04 18:17         ` Cristian Pacheco [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=def5e9e5-e3f8-41ff-ae79-82d022cdebb7@app.fastmail.com \
    --to=cristianpacheco@fastmail.com \
    --cc=cristianpacheco@protonmail.com \
    --cc=linux-firmware@kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=lorenzo@kernel.org \
    --cc=mario.limonciello@amd.com \
    --cc=nbd@nbd.name \
    --cc=regressions@leemhuis.info \
    --cc=regressions@lists.linux.dev \
    --cc=ryder.lee@mediatek.com \
    --cc=sean.wang@mediatek.com \
    --cc=shayne.chen@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.