]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: mt76: mt7996: disable promiscuous mode by default
authorPeter Chiu <chui-hao.chiu@mediatek.com>
Mon, 15 Sep 2025 07:59:05 +0000 (09:59 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 15 Sep 2025 11:23:01 +0000 (13:23 +0200)
commita4a66cbaa20f51cb953d09a95c67cb237a088ec9
tree78e5c4242082183eefa511f3e1bd4c51bd7e7039
parent12911593efa97abc27b75e98c530b8b1193c384b
wifi: mt76: mt7996: disable promiscuous mode by default

Set MT_WF_RFCR_DROP_OTHER_UC by default and disable this flag in
mt7996_set_monitor only if monitor mode is enabled.

Without this patch, the MT_WF_RFCR_DROP_OTHER_UC would not be set so the
driver would receive lots of packets meant for other devices.

Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com>
Link: https://patch.msgid.link/20250915075910.47558-10-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7996/init.c