]> bbs.cooldavid.org Git - net-next-2.6.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)
commitf7322f8f05f5755252e96d772fdcf9ca4304dc69
tree93ba6e6025fb4d964e87c9a5b2e040a9270ac5f2
parent85f72bc839705294b32b6c16b491c0422f0a71b3
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