]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
iwlwifi: Add chain noise scaling factor
authorBen Cahill <ben.m.cahill@intel.com>
Fri, 5 Feb 2010 19:33:46 +0000 (11:33 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Feb 2010 21:50:58 +0000 (16:50 -0500)
commitd4fe5ac9e04e6e175a7bd7e29844b351533be591
treebb29b50196723739ffd77096f7e6215358127777
parent19885c4fbd79439efd6b3798bfb73f2f30e27104
iwlwifi: Add chain noise scaling factor

6x50 device requires a different scaling factor for Rx gain values sent to
device via PHY_CALIBRATION_CMD (CHAIN_NOISE_GAIN_CMD).  Rather than create
a new iwlXXXX_gain_computation() function, add new chain_noise_scale member
to struct iwl_cfg, and keep using iwl5000_gain_computation().

Signed-off-by: Ben Cahill <ben.m.cahill@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-1000.c
drivers/net/wireless/iwlwifi/iwl-5000.c
drivers/net/wireless/iwlwifi/iwl-6000.c
drivers/net/wireless/iwlwifi/iwl-core.h