iwlwifi: move iwl_set_soc_latency to iwl-drv to be used by other op_modes
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Fri, 24 Apr 2020 16:47:00 +0000 (19:47 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 8 May 2020 06:51:52 +0000 (09:51 +0300)
commita8eb340f2ea48280eb2b7dc5a0e6cfff4928f5a5
tree328ad3318cef92b029856d8737a058605208ba1f
parent0960237d2fa39eae376580690c2d6bc6bd0a1d07
iwlwifi: move iwl_set_soc_latency to iwl-drv to be used by other op_modes

All the op_mode need to send this command as well. Instead of
duplicating the code from mvm, put the code in a common place.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20200424194456.7f30f977f9bf.I060b51d0d66d09b9d1ee512e7de8f2d695a52152@changeid
drivers/net/wireless/intel/iwlwifi/fw/init.c
drivers/net/wireless/intel/iwlwifi/fw/runtime.h
drivers/net/wireless/intel/iwlwifi/mvm/fw.c