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)
commit4aa8e0a475e7630aa5862f7e7eda9f020e836294
treeb60f423065029cdd520d98d973297b4c4d78048c
parentabdb2b524b32292b78cb3aa41e9e64659e8a3a2f
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