aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/fw-api-coex.h
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-11-03 04:43:15 -0500
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-11-23 13:05:06 -0500
commit123f515635b12f100ba550b668203159dfb83c82 (patch)
tree5832c28f0376de43fa33a78e6150c51387e847cd /drivers/net/wireless/iwlwifi/mvm/fw-api-coex.h
parentd24962214dd5930aa713213654721fe1fd7ed844 (diff)
iwlwifi: mvm: BT Coex - add support for TTC / RRC
The TTC and RRC features are supported by the newer firmwares. It allows to reach better overall WiFi and BT performance. When the RRC is enabled, we don't need to force the AP to send SISO frames, but it can keeps sending MIMO frames. Reviewed-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/fw-api-coex.h')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/fw-api-coex.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/fw-api-coex.h b/drivers/net/wireless/iwlwifi/mvm/fw-api-coex.h
index 816883f9ff94..f3b11897991e 100644
--- a/drivers/net/wireless/iwlwifi/mvm/fw-api-coex.h
+++ b/drivers/net/wireless/iwlwifi/mvm/fw-api-coex.h
@@ -84,6 +84,8 @@
84 * @BT_COEX_SYNC2SCO: 84 * @BT_COEX_SYNC2SCO:
85 * @BT_COEX_CORUNNING: 85 * @BT_COEX_CORUNNING:
86 * @BT_COEX_MPLUT: 86 * @BT_COEX_MPLUT:
87 * @BT_COEX_TTC:
88 * @BT_COEX_RRC:
87 * 89 *
88 * The COEX_MODE must be set for each command. Even if it is not changed. 90 * The COEX_MODE must be set for each command. Even if it is not changed.
89 */ 91 */
@@ -100,6 +102,8 @@ enum iwl_bt_coex_flags {
100 BT_COEX_SYNC2SCO = BIT(7), 102 BT_COEX_SYNC2SCO = BIT(7),
101 BT_COEX_CORUNNING = BIT(8), 103 BT_COEX_CORUNNING = BIT(8),
102 BT_COEX_MPLUT = BIT(9), 104 BT_COEX_MPLUT = BIT(9),
105 BT_COEX_TTC = BIT(20),
106 BT_COEX_RRC = BIT(21),
103}; 107};
104 108
105/* 109/*
@@ -127,6 +131,8 @@ enum iwl_bt_coex_valid_bit_msk {
127 BT_VALID_TXTX_DELTA_FREQ_THRS = BIT(16), 131 BT_VALID_TXTX_DELTA_FREQ_THRS = BIT(16),
128 BT_VALID_TXRX_MAX_FREQ_0 = BIT(17), 132 BT_VALID_TXRX_MAX_FREQ_0 = BIT(17),
129 BT_VALID_SYNC_TO_SCO = BIT(18), 133 BT_VALID_SYNC_TO_SCO = BIT(18),
134 BT_VALID_TTC = BIT(20),
135 BT_VALID_RRC = BIT(21),
130}; 136};
131 137
132/** 138/**
@@ -506,7 +512,8 @@ struct iwl_bt_coex_profile_notif_old {
506 u8 bt_agg_traffic_load; 512 u8 bt_agg_traffic_load;
507 u8 bt_ci_compliance; 513 u8 bt_ci_compliance;
508 u8 ttc_enabled; 514 u8 ttc_enabled;
509 __le16 reserved; 515 u8 rrc_enabled;
516 u8 reserved;
510 517
511 __le32 primary_ch_lut; 518 __le32 primary_ch_lut;
512 __le32 secondary_ch_lut; 519 __le32 secondary_ch_lut;