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]

 



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

---
  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