[PATCH] wifi: mt76: mt7921e: introduce reboot notifier support
Ryder Lee
Ryder.Lee at mediatek.com
Mon Nov 28 18:21:58 PST 2022
On Tue, 2022-11-29 at 01:11 +0000, Deren Wu (武德仁) wrote:
> Hi Felix
>
> On Mon, 2022-11-28 at 10:26 +0100, Felix Fietkau wrote:
> > On 25.11.22 08:36, Deren Wu wrote:
> > > From: Leon Yen <Leon.Yen at mediatek.com>
> > >
> > > Some combinations of hosts cannnot detect mt7921e after reboot.
> > > The
> > > interoperability issue is caused by the status mismatch between
> > > host
> > > and chip fw. In such cases, the driver should stop chip
> > > activities
> > > and reset chip to default state before reboot.
> > >
> > > Co-developed-by: Deren Wu <deren.wu at mediatek.com>
> > > Signed-off-by: Deren Wu <deren.wu at mediatek.com>
> > > Signed-off-by: Leon Yen <Leon.Yen at mediatek.com>
> >
> > This doesn't just affect mt7921. There are some platforms where
> > similar
> > issues have been reported with mt7915 or mt7615.
> > I think we should move some parts of this to mt76 (and mt76-connac)
> > core.
> >
> > - Felix
> >
>
> Sure, I will post mt76 arch + mt7921e implement in v2.
>
> Regards,
> Deren
This is an userful finding. mt7915 still calls wfsys_reset at the
beginning of probe() to deal with bootup/module_reload issues.
Ryder
More information about the Linux-mediatek
mailing list