iwlwifi: LTR updates
authorAlex Malamud <alex.malamud@intel.com>
Wed, 22 May 2019 10:49:18 +0000 (13:49 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:31:15 +0000 (15:31 +0300)
commitaa43ae1216753773ad5c8620c597b1d4cce1b14d
treed077b4396184ecc01ce250b95d1c3db86ae70db6
parent24d2176d1778690eb15d203ae5ae37a7be9f3556
iwlwifi: LTR updates

New FW versions introduces LTR feature enablement by default.
For such FW versions, driver (mvm/xvt) should not send
host command to enable LTR feature, also it should be possible to
override LTR configuration through the debugfs.

1. Send LTR feature enablement command only for FW versions
which does not advertises SET_LTR_GEN2 capability.
2. Implement ltr_config file in debugfs for LTR configuration override.

Signed-off-by: Alex Malamud <alex.malamud@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/file.h
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
drivers/net/wireless/intel/iwlwifi/mvm/fw.c