]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: open/close envlope to force move BT state machine
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 23 Aug 2010 22:24:49 +0000 (15:24 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 3 Sep 2010 19:31:35 +0000 (12:31 -0700)
commit94b4f2c69a6889fb104863b9af45308070680a55
tree93ba6e6025fb4d964e87c9a5b2e040a9270ac5f2
parent63db574846788afb370cf6e49861db6e8a7d6c7c
iwlagn: open/close envlope to force move BT state machine

In uCode, BT state machine need to receive open envlope
command before perform calibration; followed by close envlope
command to move to next stage.

Since Linux has two separated uCode, one for init and the second
one for runtime; we use open envlope commands for init uCode to
indicate we are ready to perform calibration operation.
But for runtime uCode, we are not doing any init calibration,
so we issue open/close envlope commands to force uCode move to
"BT COEX ON" state.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-ucode.c
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-agn.h