linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
To: linux-wireless@vger.kernel.org
Cc: Eyal Shapira <eyal@wizery.com>,
	Eyal Shapira <eyalx.shapira@intel.com>,
	Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Subject: [PATCH 09/31] iwlwifi: mvm: fix BT coex shared antenna activity check
Date: Sun,  1 Mar 2015 21:31:22 +0200	[thread overview]
Message-ID: <1425238304-498-9-git-send-email-emmanuel.grumbach@intel.com> (raw)
In-Reply-To: <1425238186.30202.5.camel@egrumbacBox>

From: Eyal Shapira <eyal@wizery.com>

The shared antenna should be forbidden to use only if there's
high BT activity. Comparing to BT_OFF was effectively causing
us to always forbid using the shared antenna for SISO. This
leads to degraded performance in scenarios where the shared
antenna would have better performance.

Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
---
 drivers/net/wireless/iwlwifi/mvm/coex_legacy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/iwlwifi/mvm/coex_legacy.c b/drivers/net/wireless/iwlwifi/mvm/coex_legacy.c
index d530ef3..85144d5 100644
--- a/drivers/net/wireless/iwlwifi/mvm/coex_legacy.c
+++ b/drivers/net/wireless/iwlwifi/mvm/coex_legacy.c
@@ -1176,7 +1176,7 @@ bool iwl_mvm_bt_coex_is_ant_avail_old(struct iwl_mvm *mvm, u8 ant)
 bool iwl_mvm_bt_coex_is_shared_ant_avail_old(struct iwl_mvm *mvm)
 {
 	u32 ag = le32_to_cpu(mvm->last_bt_notif_old.bt_activity_grading);
-	return ag == BT_OFF;
+	return ag < BT_HIGH_TRAFFIC;
 }
 
 bool iwl_mvm_bt_coex_is_tpc_allowed_old(struct iwl_mvm *mvm,
-- 
1.9.1


  parent reply	other threads:[~2015-03-01 19:32 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-01 19:29 pull request: iwlwifi-next 2015-03-01 Grumbach, Emmanuel
2015-03-01 19:31 ` [PATCH 01/31] iwlwifi: mvm: rs: better match tx response rate to the LQ table Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 02/31] iwlwifi: mvm: rs: fix BT Coex check to look at the correct ant Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 03/31] iwlwifi: mvm: rs: adapt rate matching to new STBC/BFER Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 04/31] iwlwifi: mvm: rs: disable MIMO for low latency P2P Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 05/31] iwlwifi: mvm: consider TDLS queues as used during drain Emmanuel Grumbach
2015-03-01 22:21   ` Julian Calaby
2015-03-01 19:31 ` [PATCH 06/31] iwlwifi: mvm: increase the number of PAPD channel groups to 9 Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 07/31] iwlwifi: mvm: rs: avoid ss_force from being reset after tx idle Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 08/31] iwlwifi: mvm: rs: print single stream params via debugfs Emmanuel Grumbach
2015-03-01 19:42   ` Joe Perches
2015-03-02  8:46     ` Eyal Shapira
2015-03-01 22:20   ` Julian Calaby
2015-03-01 19:31 ` Emmanuel Grumbach [this message]
2015-03-01 19:31 ` [PATCH 10/31] iwlwifi: mvm: remove unused function in BT coex Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 11/31] iwlwifi: pcie: apply destination before releasing reset Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 12/31] iwlwifi: mvm: add statistics API version 10 Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 13/31] iwlwifi: mvm: support radio statistics as global survey Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 14/31] iwlwifi: deprecate -9.ucode for 3160 / 7260 / 7265 Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 15/31] iwlwifi: mvm: remove deprecated scan API code Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 16/31] iwlwifi: mvm: don't write to DBGC_OUT_CTRL when stopping the recording Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 17/31] iwlwifi: mvm: support beacon statistics for BSS client Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 18/31] iwlwifi: mvm: new Alive / error table API Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 19/31] iwlwifi: mvm: don't iterate interfaces to disconnect in net-detect Emmanuel Grumbach
2015-03-01 22:23   ` Julian Calaby
2015-03-02  6:24     ` Grumbach, Emmanuel
2015-03-01 19:31 ` [PATCH 20/31] iwlwifi: add new TLV capability flag for BT PLCR Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 21/31] iwlwifi: mvm: allow to force the Rx chains from debugfs Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 22/31] iwlwifi: mvm: use only 40 ms for fragmented scan Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 23/31] iwlwifi: mvm: add framework for triggers for fw dump Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 24/31] iwlwifi: mvm: add the cause of the firmware dump in the dump Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 25/31] iwlwifi: mvm: add trigger for firmware dump upon missed beacons Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 26/31] iwlwifi: mvm: add trigger for firmware dump upon channel switch Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 27/31] iwlwifi: mvm: add trigger for firmware dump upon command response Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 28/31] iwlwifi: mvm: restart firmware recording when no configuration is set Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 29/31] iwlwifi: mvm: add trigger for firmware dump upon statistics Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 30/31] iwlwifi: mvm: add trigger for firmware dump upon low RSSI Emmanuel Grumbach
2015-03-01 19:31 ` [PATCH 31/31] iwlwifi: mvm: don't override passive dwell in case of fragmented scan Emmanuel Grumbach
2015-03-03 11:52 ` pull request: iwlwifi-next 2015-03-01 Kalle Valo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1425238304-498-9-git-send-email-emmanuel.grumbach@intel.com \
    --to=emmanuel.grumbach@intel.com \
    --cc=eyal@wizery.com \
    --cc=eyalx.shapira@intel.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).