iwlwifi: mvm: don't send keys when entering D3
authorSara Sharon <sara.sharon@intel.com>
Sun, 1 Jul 2018 11:52:06 +0000 (14:52 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 Nov 2019 07:20:32 +0000 (08:20 +0100)
commit29fda86178fece824d9c29b86f39925b02a04af5
treec2f74c0c99dea696a567a17e4356d4e099b23eb8
parentd43b7b99fe770266e8b968827a2e4aead3135680
iwlwifi: mvm: don't send keys when entering D3

[ Upstream commit 8c7fd6a365eb5b2647b2c01918730d0a485b9f85 ]

In the past, we needed to program the keys when entering D3. This was
since we replaced the image. However, now that there is a single
image, this is no longer needed.  Note that RSC is sent separately in
a new command.  This solves issues with newer devices that support PN
offload. Since driver re-sent the keys, the PN got zeroed and the
receiver dropped the next packets, until PN caught up again.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/intel/iwlwifi/mvm/d3.c