wifi: rtw89: wow: construct EAPoL packet for GTK rekey offload
authorChih-Kang Chang <gary.chang@realtek.com>
Thu, 2 May 2024 02:25:00 +0000 (10:25 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Sat, 4 May 2024 00:02:34 +0000 (08:02 +0800)
commited9a3c0d4dd9ce79ff7f65238164a96da1b52dbf
tree8a9b4b7d2c233d7f60b5b26e9b66aef510a405f0
parent786737b6b708006bdf61ecb9bdce2e1283bd7be0
wifi: rtw89: wow: construct EAPoL packet for GTK rekey offload

We construct EAPoL packet with various encryption method, and download
to firmware. Also we add Key Encryption Key (KEK) and Key Confirmation Key
(KCK) to H2C command. Once firmware received EAPoL group rekey packet(1/2)
can TX EAPoL group rekey packet(2/2) when suspend.

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-8-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/fw.c
drivers/net/wireless/realtek/rtw89/fw.h
drivers/net/wireless/realtek/rtw89/mac80211.c