]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: mt7921: enable HW beacon filter in the initialization stage
authorSean Wang <sean.wang@mediatek.com>
Tue, 21 Jun 2022 21:17:39 +0000 (05:17 +0800)
committerFelix Fietkau <nbd@nbd.name>
Mon, 11 Jul 2022 11:40:03 +0000 (13:40 +0200)
commit090612c633eaf19bf65fdc8c311bed1d5c183978
treeb60f423065029cdd520d98d973297b4c4d78048c
parent84de9d121c922fca45cead9b58c5b5ff5bb43473
mt76: mt7921: enable HW beacon filter in the initialization stage

The current driver has worked with HW beacon filter and connection
monitor all the way, here we move the enablement into the initialization
stage like other HW features being done to get rid of others are
confused why these configurations would be changed at runtime.

We still leave a way to turn off these offload features in debugfs knobs
but that is just for debugging purposes.

Tested-by: Deren Wu <deren.wu@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/init.c
drivers/net/wireless/mediatek/mt76/mt7921/main.c
drivers/net/wireless/mediatek/mt76/mt7921/mcu.c