diff options
| author | Ping-Ke Shih <pkshih@realtek.com> | 2025-11-13 13:34:59 +0800 |
|---|---|---|
| committer | Ping-Ke Shih <pkshih@realtek.com> | 2025-11-18 09:57:40 +0800 |
| commit | c8d212fa81c5e0cad15655918b5fb8fcf6e6fe57 (patch) | |
| tree | db6a88c87cd4e551f1fa5df632738f46dd9670af /net/switchdev/switchdev.c | |
| parent | 09afd209a84421948ac9bf2076459a0418e102ec (diff) | |
wifi: rtw89: use separated function to set RX filter
Normally use rtw89_write32_mask() with a consecutive bit mask, but mask of
RX filter B_AX_RX_FLTR_CFG_MASK is bits 31-22 and 15-0, which excludes bits
of B_AX_RX_MPDU_MAX_LEN_MASK (bits 21-16).
Though the original logic is well to set RX filter, change it to a separate
function to avoid the tricky design.
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20251113053459.34995-1-pkshih@realtek.com
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
