]> git.baikalelectronics.ru Git - kernel.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)
committerFelix Fietkau <nbd@nbd.name>
Sat, 19 Jun 2021 07:22:44 +0000 (09:22 +0200)
commitb9745b33b7eb95c7124c75b7c44deb11f71c8943
tree181eae29c6229965423f9792aa7a71a81084dacb
parent20813096b2232f9d3bf6763a7515ab1782f703dc
mt76: connac: fix WoW with disconnetion and bitmap pattern

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

Fixes: 328b1f8abf67 ("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>
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h