linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven@narfation.org>
To: jwboyer@kernel.org, dwmw2@infradead.org, ben@decadent.org.uk,
	Felix Fietkau <nbd@nbd.name>,
	Lorenzo Bianconi <lorenzo.bianconi@redhat.com>,
	Deren Wu <Deren.Wu@mediatek.com>
Cc: Mark-YW Chen <Mark-YW.Chen@mediatek.com>,
	Sean Wang <sean.wang@mediatek.com>,
	Soul Huang <Soul.Huang@mediatek.com>,
	YN Chen <YN.Chen@mediatek.com>, Deren Wu <Deren.Wu@mediatek.com>,
	KM Lin <km.lin@mediatek.com>,
	Robin Chiu <robin.chiu@mediatek.com>,
	CH Yeh <ch.yeh@mediatek.com>, Posh Sun <posh.sun@mediatek.com>,
	Eric Liang <Eric.Liang@mediatek.com>,
	jemele@google.com, linux-firmware <linux-firmware@kernel.org>,
	linux-wireless <linux-wireless@vger.kernel.org>,
	linux-mediatek <linux-mediatek@lists.infradead.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Deren Wu <deren.wu@mediatek.com>,
	jf@simonwunderlich.de
Subject: Re: [PATCH] linux-firmware: update firmware for MT7921 WiFi device
Date: Thu, 09 Dec 2021 15:04:24 +0100	[thread overview]
Message-ID: <3841963.FhVex8QpIh@ripper> (raw)
In-Reply-To: <2314855.OJx0zA1Pyt@ripper>

[-- Attachment #1: Type: text/plain, Size: 1707 bytes --]

On Thursday, 9 December 2021 10:21:02 CET Sven Eckelmann wrote:
> Tested-by: Sven Eckelmann <sven@narfation.org>

I would like to retract this again because it seems like the firmware is now 
hanging all the time when the default runtime-pm/deep-sleep settings are used.

    [  521.553436] mt7921e 0000:05:00.0: Message 40000002 (seq 12) timeout
    [  521.559884] mt7921e 0000:05:00.0: chip reset
    [  521.661983] mt7921e 0000:05:00.0: HW/SW Version: 0x8a108a10, Build Time: 20211129210838a
    [  521.661983] 
    [  521.684088] mt7921e 0000:05:00.0: WM Firmware Version: ____010000, Build Time: 20211129210917
    [  521.723561] mt7921e 0000:05:00.0: Firmware init done

This doesn't seem to happen that often when I perform a

   echo 0 > /sys/kernel/debug/ieee80211/phy0/mt76/runtime-pm
   echo 0 > /sys/kernel/debug/ieee80211/phy0/mt76/deep-sleep

before setting up the interfaces.

But even then, on the first "ip link set up dev mon0" (not only for mon0 - 
also for wlan0/...) it will crash with:


    [  806.731357] mt7921e 0000:05:00.0: Message 00000046 (seq 4) timeout
    [  806.737730] mt7921e 0000:05:00.0: chip reset
RTNETLINK answers: Connection timed out
    [  806.867666] mt7921e 0000:05:00.0: HW/SW Version: 0x8a108a10, Build Time: 20211129210838a
    [  806.867666] 
    [  806.888441] mt7921e 0000:05:00.0: WM Firmware Version: ____010000, Build Time: 20211129210917
    [  806.928204] mt7921e 0000:05:00.0: Firmware init done

But when I then set up the device again then it seems to work. This is the 
case for monitor and managed interfaces.

I've used commit 678071ef7029 ("mt76: mt7615: clear mcu error interrupt status 
on mt7663") in mt76.git for this. 

Kind regards,
	Sven

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2021-12-09 14:04 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-09  8:24 [PATCH] linux-firmware: update firmware for MT7921 WiFi device Deren Wu
2021-12-09  9:21 ` Sven Eckelmann
2021-12-09 14:04   ` Sven Eckelmann [this message]
2021-12-09 14:13     ` Lorenzo Bianconi
2021-12-09 14:59       ` Sven Eckelmann
  -- strict thread matches above, loose matches on Subject: below --
2025-07-03  5:14 Allan Wang
2025-07-06 16:16 ` Josh Boyer
2025-06-06  2:45 Allan Wang
2025-06-06 19:20 ` Josh Boyer
2024-11-12  1:43 Allan Wang
2024-11-12 12:37 ` Josh Boyer
2024-08-30  9:35 Deren Wu
2024-09-03 11:19 ` Josh Boyer
     [not found] <0685d2babbd6fd196710dc9dcb5f740dce1a9005.1700116118.git.deren.wu@mediatek.com>
2023-11-27 13:55 ` Josh Boyer
2023-04-07  1:40 Deren Wu
2023-03-03  1:10 Deren Wu
2023-01-19  2:21 Deren Wu
2022-11-10  1:57 Deren Wu
2022-11-09 14:02 Deren Wu
     [not found] ` <CA+5PVA75PEj3TSiE39yd7vVfY-iRopNba+gcbg0=6HTfvi+V7A@mail.gmail.com>
2022-11-10  1:38   ` Deren Wu (武德仁)
2022-09-20  5:59 Deren Wu
2022-06-21 12:31 Deren Wu
2022-02-10 15:15 Deren Wu
2022-01-14  6:51 Deren Wu
2022-01-14  9:52 ` Sven Eckelmann
2021-12-24  7:16 Deren Wu
2021-10-18  5:11 Deren Wu
2021-05-20  9:04 sean.wang

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=3841963.FhVex8QpIh@ripper \
    --to=sven@narfation.org \
    --cc=Deren.Wu@mediatek.com \
    --cc=Eric.Liang@mediatek.com \
    --cc=Mark-YW.Chen@mediatek.com \
    --cc=Soul.Huang@mediatek.com \
    --cc=YN.Chen@mediatek.com \
    --cc=ben@decadent.org.uk \
    --cc=ch.yeh@mediatek.com \
    --cc=dwmw2@infradead.org \
    --cc=jemele@google.com \
    --cc=jf@simonwunderlich.de \
    --cc=jwboyer@kernel.org \
    --cc=km.lin@mediatek.com \
    --cc=linux-firmware@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=lorenzo.bianconi@redhat.com \
    --cc=nbd@nbd.name \
    --cc=posh.sun@mediatek.com \
    --cc=robin.chiu@mediatek.com \
    --cc=sean.wang@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).