On Tue, 1 Jun 2021 at 17:08, Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx> wrote: > > In both cases using Wireshark we see the target system receive an ARP or > NS6 lookup and respond, followed by the host sending a ping or ping6 and > the target system coming out of suspend. > > Similarly watching GTK keying on the AP when the device is in suspend, we > see the firmware successfully rekey and when we resume, the host picking up > the rekey material with persistence of the WiFi link during suspend/resume. > > commit 5336fad96e8f ("wcn36xx: Enable firmware offloaded keepalive") > ensures that the link is kept alive in suspend, this additional set gives > the ability to > > - Resolve ARP/NS6 lookups without waking the system > - Rekeying in suspend > - Suspending and resuming based on received datagram > > https://git.linaro.org/people/bryan.odonoghue/kernel.git/log/?h=ath.master-wcn36xx-fw-offload-suspend-resume > > Bryan O'Donoghue (12): > wcn36xx: Return result of set_power_params in suspend > wcn36xx: Run suspend for the first ieee80211_vif > wcn36xx: Add ipv4 ARP offload support in suspend > wcn36xx: Do not flush indication queue on suspend/resume > wcn36xx: Add ipv6 address tracking > wcn36xx: Add ipv6 namespace offload in suspend > wcn36xx: Add set_rekey_data callback > wcn36xx: Add GTK offload to WoWLAN path > wcn36xx: Add GTK offload info to WoWLAN resume > wcn36xx: Add Host suspend indication support > wcn36xx: Add host resume request support > wcn36xx: Enable WOWLAN flags > > drivers/net/wireless/ath/wcn36xx/hal.h | 20 +- > drivers/net/wireless/ath/wcn36xx/main.c | 110 ++++++++- > drivers/net/wireless/ath/wcn36xx/smd.c | 265 +++++++++++++++++++++ > drivers/net/wireless/ath/wcn36xx/smd.h | 17 ++ > drivers/net/wireless/ath/wcn36xx/wcn36xx.h | 14 ++ > 5 files changed, 412 insertions(+), 14 deletions(-) Reviewed-by: Loic Poulain <loic.poulain@xxxxxxxxxx>