diff options
author | Chih-Kang Chang <gary.chang@realtek.com> | 2024-05-02 04:25:03 +0200 |
---|---|---|
committer | Ping-Ke Shih <pkshih@realtek.com> | 2024-05-04 02:05:15 +0200 |
commit | 940cd99625de8c75209b1169e6cd5698075c0a37 (patch) | |
tree | ef8cc2fd0254e307bec5e53ba6ea772e79d4fdc8 /drivers/net/wireless/realtek/rtw89/cam.c | |
parent | wifi: rtw89: wow: update latest PTK GTK info to mac80211 after resume (diff) | |
download | linux-940cd99625de8c75209b1169e6cd5698075c0a37.tar.xz linux-940cd99625de8c75209b1169e6cd5698075c0a37.zip |
wifi: rtw89: wow: support 802.11w PMF IGTK rekey
Once we connect to AP with 802.11w enabled, IGTK rekey happen during GTK
happen. We get IGTK IPN from mac80211 and set to firmware, and get latest
IGTK IPN from AOAC report then update to mac80211 after resume. When rekey
happen, also update new IGTK key info to mac80211. Furthermore, We
construct SA query reply packet to firmware. If firmware received SA query
request from AP can transmit reply back 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-11-pkshih@realtek.com
Diffstat (limited to 'drivers/net/wireless/realtek/rtw89/cam.c')
-rw-r--r-- | drivers/net/wireless/realtek/rtw89/cam.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/realtek/rtw89/cam.c b/drivers/net/wireless/realtek/rtw89/cam.c index 67f13e4c3d15..e334b0c8ec5b 100644 --- a/drivers/net/wireless/realtek/rtw89/cam.c +++ b/drivers/net/wireless/realtek/rtw89/cam.c @@ -356,6 +356,9 @@ int rtw89_cam_sec_key_add(struct rtw89_dev *rtwdev, key->flags |= IEEE80211_KEY_FLAG_SW_MGMT_TX; ext_key = true; break; + case WLAN_CIPHER_SUITE_AES_CMAC: + hw_key_type = RTW89_SEC_KEY_TYPE_BIP_CCMP128; + break; default: return -EOPNOTSUPP; } |