iwlwifi: add shared clock PHY config flag for some devices
authorLuca Coelho <luciano.coelho@intel.com>
Wed, 21 Feb 2018 20:18:59 +0000 (22:18 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 16 Mar 2018 10:34:54 +0000 (12:34 +0200)
commit86a2b2043af79deff5cf000c5a08847faa4f2ee0
tree4bc9ca60d2ba836e27da7e8749e0e192b281b2b5
parent75fd4fec3e4c43b131c7c4958adb3ab9f1665513
iwlwifi: add shared clock PHY config flag for some devices

Some devices use a shared clock which is very sensitive to variations
and cause trouble in some situations.  We need to set a bit in the phy
configuration to indicate that to the FW.  To make this generic, add a
extra_phy_config_flags element to the device configuration and OR it
into the phy_cfg before sending it to the firmware.  And also create a
set of configurations for devices that use shared clocks and need this
extra bit to be set.

Fixes: c62446d2b028 ("iwlwifi: add new 9460 series PCI IDs")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/cfg/9000.c
drivers/net/wireless/intel/iwlwifi/fw/file.h
drivers/net/wireless/intel/iwlwifi/iwl-config.h
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
drivers/net/wireless/intel/iwlwifi/pcie/drv.c