]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: rtw89: wow: change type of WoWLAN pattern mask to __le32
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 29 Dec 2025 03:09:16 +0000 (11:09 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Wed, 31 Dec 2025 08:15:19 +0000 (16:15 +0800)
commit355f38849e75618ca764686742bbc56ab65e0846
treea453ccda8f8441dac597773d66dcd16ca1da0224
parent0b92c2cc4856811eaeeac5fdcbbc7bcd8eb05dc8
wifi: rtw89: wow: change type of WoWLAN pattern mask to __le32

The WoWLAN pattern mask is generated in byte stream, and actually firmware
expects to see the same byte stream too. Since these byte stream is sent
to firmware with 32-bit stream in little-endian order. Change to mask
to __le32, and just do assignment instead of le32 conversion to wkfm fields
of H2C command.

For little-endian machine, it doesn't change logic at all.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20251229030926.27004-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/fw.c