iwlwifi: mvm: refactor d3 key update functions
authorEliad Peller <eliad@wizery.com>
Thu, 12 Nov 2015 08:49:38 +0000 (10:49 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 1 Dec 2015 19:17:53 +0000 (21:17 +0200)
commitac8ef0ce38de082218ff5ef972bea7dbebd09f53
treec03ade52af9166aa99cf563757b5e57b236eff66
parenta399f98069743a9a17f85a406b4dc36c059f75ca
iwlwifi: mvm: refactor d3 key update functions

We need to reuse the key update logic for d0i3
as well.

Add some parameters to deal with the constraints
implied by the d0i3 flow (specifically, support
non-SYNC commands, and don't take mutexes that
might deadlock).

Change some commands to be ASYNC, in order
to simplify locking a bit.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h