Search Linux Wireless

Re: [PATCH v2 1/2] wifi: mt76: introduce reboot notifier support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Angelo,

On Tue, 2022-11-29 at 16:00 +0100, AngeloGioacchino Del Regno wrote:
> Il 29/11/22 10:16, Deren Wu ha scritto:
> > Some combinations of hosts cannnot detect wifi chip 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.
> > 
> > This is a preliminary patch to add mt7921e reboot notifier support.
> > 
> > Reviewed-by: Shayne Chen <shayne.chen@xxxxxxxxxxxx>
> > Signed-off-by: Deren Wu <deren.wu@xxxxxxxxxxxx>
> 
> If you want to perform shutdown actions when rebooting the machine,
> this
> means that you want to perform actions when shutting down the
> kernel....
> 
> ...so, have you tried to perform such actions in the .shutdown()
> callback
> of your struct pci_driver? :-)
> 
> Regards,
> Angelo
> 

This patch works fine with pci .shutdown(). Thanks for your comments :)

I will drop this series and post a new version.


Regards,
Deren


> > ---
> >   drivers/net/wireless/mediatek/mt76/mac80211.c | 21
> > +++++++++++++++++++
> >   drivers/net/wireless/mediatek/mt76/mt76.h     |  2 ++
> >   2 files changed, 23 insertions(+)
> > 
> 
> 




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux