Loic Poulain <loic.poulain@xxxxxxxxxx> writes: > This reverts commit 8def9ec46a5fafc0abcf34489a9e8a787bca984d. > > The firmware keep-alive does not cause any event in case of error > such as non acked. It's just a basic keep alive to prevent the AP > to kick-off the station due to inactivity. So let mac80211 submit > its own monitoring packet (probe/null) and disconnect on timeout. > > Note: We want to keep firmware keep alive to prevent kick-off > when host is in suspend-to-mem (no mac80211 monitor packet). > Ideally fw keep alive should be enabled in suspend path and disabled > in resume path to prevent having both firmware and mac80211 submitting > periodic null packets. > > This fixes non detected AP leaving issues in active mode (nothing > monitors beacon or connection). > > Cc: stable@xxxxxxxxxxxxxxx > Fixes: 8def9ec46a5f ("wcn36xx: Enable firmware link monitoring") > Signed-off-by: Loic Poulain <loic.poulain@xxxxxxxxxx> I'll queue this to v5.15. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches