wifi: rtw89: use struct to fill H2C of WoWLAN global configuration
authorChih-Kang Chang <gary.chang@realtek.com>
Thu, 2 May 2024 02:24:59 +0000 (10:24 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Sat, 4 May 2024 00:01:55 +0000 (08:01 +0800)
commit786737b6b708006bdf61ecb9bdce2e1283bd7be0
tree921d134a46f58c7268f7e4cd052f9c50471be776
parent9076bf365e132eea6d0e17c78e079a4e4c6b976e
wifi: rtw89: use struct to fill H2C of WoWLAN global configuration

This H2C command is used to set WoWLAN global config, and we correct
the H2C format by enlarging the H2C size to fill GTK and PTK info.
This fix is compatible with old firmware.

Signed-off-by: Chih-Kang Chang <gary.chang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://msgid.link/20240502022505.28966-7-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/fw.c
drivers/net/wireless/realtek/rtw89/fw.h