diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2013-01-17 09:42:25 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-03-06 16:47:58 +0100 |
commit | 931d416049cdb6e8382792231317f76be0d922ce (patch) | |
tree | dd34fee8764e451bdd16c2be20b3dcfa19497bc3 /drivers/net/wireless/iwlwifi/mvm/fw.c | |
parent | fb3ceb817503f3d89e3beb4f48a2f4d608a6697f (diff) | |
download | blackbird-op-linux-931d416049cdb6e8382792231317f76be0d922ce.tar.gz blackbird-op-linux-931d416049cdb6e8382792231317f76be0d922ce.zip |
iwlwifi: mvm: begin basic BT-Coex implementation
Send the PRIO table before the calibrations. This table
tells the fw what priority to give to what (WiFi / BT)
according to events.
Send a hardcoded BT_COEX command to the fw to enable basic
BT coexistence.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/fw.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/fw.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/fw.c b/drivers/net/wireless/iwlwifi/mvm/fw.c index 0f45fa583aa1..1006b3204e7b 100644 --- a/drivers/net/wireless/iwlwifi/mvm/fw.c +++ b/drivers/net/wireless/iwlwifi/mvm/fw.c @@ -309,6 +309,10 @@ int iwl_run_init_mvm_ucode(struct iwl_mvm *mvm, bool read_nvm) goto error; } + ret = iwl_send_bt_prio_tbl(mvm); + if (ret) + goto error; + if (read_nvm) { /* Read nvm */ ret = iwl_nvm_init(mvm); @@ -414,6 +418,14 @@ int iwl_mvm_up(struct iwl_mvm *mvm) if (ret) goto error; + ret = iwl_send_bt_prio_tbl(mvm); + if (ret) + goto error; + + ret = iwl_send_bt_init_conf(mvm); + if (ret) + goto error; + /* Send phy db control command and then phy db calibration*/ ret = iwl_send_phy_db_data(mvm->phy_db); if (ret) |