[PATCH] wcn36xx: Fix packet drop on resume
Kalle Valo
kvalo at codeaurora.org
Wed Oct 27 00:45:34 PDT 2021
Loic Poulain <loic.poulain at linaro.org> wrote:
> If the system is resumed because of an incoming packet, the wcn36xx RX
> interrupts is fired before actual resuming of the wireless/mac80211
> stack, causing any received packets to be simply dropped. E.g. a ping
> request causes a system resume, but is dropped and so never forwarded
> to the IP stack.
>
> This change fixes that, disabling DMA interrupts on suspend to no pass
> packets until mac80211 is resumed and ready to handle them.
>
> Note that it's not incompatible with RX irq wake.
>
> Signed-off-by: Loic Poulain <loic.poulain at linaro.org>
> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue at linaro.org>
> Signed-off-by: Kalle Valo <kvalo at codeaurora.org>
Patch applied to ath-next branch of ath.git, thanks.
df0697801d8a wcn36xx: Fix packet drop on resume
--
https://patchwork.kernel.org/project/linux-wireless/patch/1635150496-19290-1-git-send-email-loic.poulain@linaro.org/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the wcn36xx
mailing list