]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
iwlwifi: mvm: BT Coex - add High Band retention
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 11 Jun 2014 12:37:25 +0000 (15:37 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 7 Jul 2014 18:35:56 +0000 (21:35 +0300)
Tell the firmware if TTC should be enabled when switching
to High Band.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/coex.c
drivers/net/wireless/iwlwifi/mvm/fw-api-coex.h

index 3395df1c5b7572af80daacf919636b23bb6aceec..64325b60c0ffc2bce001fced131b05044224ef1a 100644 (file)
@@ -587,6 +587,8 @@ int iwl_send_bt_init_conf(struct iwl_mvm *mvm)
                        cpu_to_le32(BT_COEX_MPLUT_BOOST_ENABLED);
        }
 
+       bt_cmd->enabled_modules |= cpu_to_le32(BT_COEX_HIGH_BAND_RET);
+
        if (mvm->cfg->bt_shared_single_ant)
                memcpy(&bt_cmd->decision_lut, iwl_single_shared_ant,
                       sizeof(iwl_single_shared_ant));
index 98becb9c90faff159ae38b32cf97eb03646a534c..fea817d6a9be32a17dc94750a7ffe6aaf35543e6 100644 (file)
@@ -220,6 +220,7 @@ enum iwl_bt_coex_enabled_modules {
        BT_COEX_MPLUT_BOOST_ENABLED     = BIT(1),
        BT_COEX_SYNC2SCO_ENABLED        = BIT(2),
        BT_COEX_CORUN_ENABLED           = BIT(3),
+       BT_COEX_HIGH_BAND_RET           = BIT(4),
 }; /* BT_COEX_MODULES_ENABLE_E_VER_1 */
 
 /**