diff options
author | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | 2021-06-05 03:11:37 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-06-14 17:18:15 +0200 |
commit | bedf1169bcae2f762b37d40dc9db648fe7ad1952 (patch) | |
tree | 4fd36bd00a58090d60ab6ae550cdbbb2dd0e348e /drivers/net/wireless/ath/wcn36xx/hal.h | |
parent | wcn36xx: Add GTK offload to WoWLAN path (diff) | |
download | linux-bedf1169bcae2f762b37d40dc9db648fe7ad1952.tar.xz linux-bedf1169bcae2f762b37d40dc9db648fe7ad1952.zip |
wcn36xx: Add GTK offload info to WoWLAN resume
Having enabled GTK rekey in suspend, we need to extract the replay counter
from the firmware on resume and perform a ieee80211_gtk_rekey_notify() so
that the STA remains verified from the perspective of the AP.
In order to enable the SMD command and response we need to pack the
existing command/response structures. Given these structures are currently
unused, there's no need to backport this as a fix.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Tested-by: Benjamin Li <benl@squareup.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210605011140.2004643-10-bryan.odonoghue@linaro.org
Diffstat (limited to 'drivers/net/wireless/ath/wcn36xx/hal.h')
-rw-r--r-- | drivers/net/wireless/ath/wcn36xx/hal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/wcn36xx/hal.h b/drivers/net/wireless/ath/wcn36xx/hal.h index 1f3c2e840232..455143c4164e 100644 --- a/drivers/net/wireless/ath/wcn36xx/hal.h +++ b/drivers/net/wireless/ath/wcn36xx/hal.h @@ -4919,7 +4919,7 @@ struct wcn36xx_hal_gtk_offload_rsp_msg { struct wcn36xx_hal_gtk_offload_get_info_req_msg { struct wcn36xx_hal_msg_header header; u8 bss_index; -}; +} __packed; struct wcn36xx_hal_gtk_offload_get_info_rsp_msg { struct wcn36xx_hal_msg_header header; @@ -4943,7 +4943,7 @@ struct wcn36xx_hal_gtk_offload_get_info_rsp_msg { u32 igtk_rekey_count; u8 bss_index; -}; +} __packed; struct dhcp_info { /* Indicates the device mode which indicates about the DHCP activity */ |