]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: send DC calib config to runtime ucode
authorShanyu Zhao <shanyu.zhao@intel.com>
Wed, 15 Sep 2010 01:13:31 +0000 (18:13 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Tue, 28 Sep 2010 23:57:06 +0000 (16:57 -0700)
commit29ae60c3fa0761d658f53316a47b69afbf079fe1
tree82246979540a799303e417ba117eeae06e066bb5
parent250ea863c7c71ca7482d368185951330720cea4c
iwlwifi: send DC calib config to runtime ucode

Since uCode is responsible for doing DC calibration, there's no need
to let init uCode to do initial DC calibration then send results
back to driver, then driver sends the results to runtime uCode.
Driver can simply tell runtime uCode to do DC calibration.

Actually, this patch does not disable DC calib for init uCode. It just
prevent driver from saving and sending the DC calib results (from init
ucode) to runtime uCode. The driver still uses 0xffffffff in
CALIB_CFG_CMD for init ucode.

Signed-off-by: Shanyu Zhao <shanyu.zhao@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-6000.c
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-commands.h
drivers/net/wireless/iwlwifi/iwl-dev.h