mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
wifi: mt76: mt7915: fix rx filter setting for bfee functionality
[ Upstream commit 6ac80fce713e875a316a58975b830720a3e27721 ]
Fix rx filter setting to prevent dropping NDPA frames. Without this
change, bfee functionality may behave abnormally.
Fixes: e57b790146 ("mt76: add mac80211 driver for MT7915 PCIe-based chipsets")
Signed-off-by: Howard Hsu <howard-yh.hsu@mediatek.com>
Link: https://patch.msgid.link/20240827093011.18621-21-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
0ea4ce26a1
commit
79e06c2d26
@@ -540,8 +540,7 @@ static void mt7915_configure_filter(struct ieee80211_hw *hw,
|
|||||||
|
|
||||||
MT76_FILTER(CONTROL, MT_WF_RFCR_DROP_CTS |
|
MT76_FILTER(CONTROL, MT_WF_RFCR_DROP_CTS |
|
||||||
MT_WF_RFCR_DROP_RTS |
|
MT_WF_RFCR_DROP_RTS |
|
||||||
MT_WF_RFCR_DROP_CTL_RSV |
|
MT_WF_RFCR_DROP_CTL_RSV);
|
||||||
MT_WF_RFCR_DROP_NDPA);
|
|
||||||
|
|
||||||
*total_flags = flags;
|
*total_flags = flags;
|
||||||
mt76_wr(dev, MT_WF_RFCR(band), phy->rxfilter);
|
mt76_wr(dev, MT_WF_RFCR(band), phy->rxfilter);
|
||||||
|
|||||||
Reference in New Issue
Block a user