mt76: connac: add mt76_connac_power_save_sched in mt76_connac_pm_unref
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 2 Jun 2021 21:25:28 +0000 (23:25 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sat, 19 Jun 2021 07:22:48 +0000 (09:22 +0200)
commit6ab079e2aba283e3e356cc60dd3d0648adc15b1d
tree27614a59d7a8b3f99a5fa93704629d50e4aab787
parent82453b1cbf9ef166364c12b5464251f16bac5f51
mt76: connac: add mt76_connac_power_save_sched in mt76_connac_pm_unref

Schedule power_save work running mt76_connac_pm_unref in order to reduce
power consumption

Tested-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/dma.c
drivers/net/wireless/mediatek/mt76/mt7615/main.c
drivers/net/wireless/mediatek/mt76/mt7615/pci_init.c
drivers/net/wireless/mediatek/mt76/mt76_connac.h
drivers/net/wireless/mediatek/mt76/mt7921/dma.c
drivers/net/wireless/mediatek/mt76/mt7921/main.c