]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: rtw89: fw: part size to download firmware by header info
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 14 Nov 2025 06:01:16 +0000 (14:01 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 18 Nov 2025 01:16:25 +0000 (09:16 +0800)
commit92db331de6de948f4308ab4c80ddbe7ae27f39bb
tree6d9532973d5d4d6a630d4d2c4ad62f061f602659
parent3a12581fc292997f5ca6dafe3238afd39b77e798
wifi: rtw89: fw: part size to download firmware by header info

The part size is the unit to download firmware piece by piece. Old chips
use 2020 bytes as a piece, but in new chips the part size is defined in
firmware header. Change to use the value dynamically.

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