]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mt76: connac: fix WoW with disconnetion and bitmap pattern
authorYN Chen <yn.chen@mediatek.com>
Mon, 10 May 2021 15:14:54 +0000 (23:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jul 2021 14:59:56 +0000 (16:59 +0200)
commitbc90e1a9506d58aabeb16dca379778473070bc77
tree508be40371a2af6b2edeb87653e73b4227023c9d
parent230320c51bfc1a5a038d3d907044e5e4fff695df
mt76: connac: fix WoW with disconnetion and bitmap pattern

[ Upstream commit 193e5f22eeb2a9661bff8bc0d8519e6ded48c807 ]

Update MCU command usage to fix WoW configuration with disconnection
and bitmap pattern and to avoid magic number.

Fixes: ffa1bf97425b ("mt76: mt7921: introduce PM support")
Reviewed-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: YN Chen <yn.chen@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h