From: Wey-Yi Guy <wey-yi.w.guy@intel.com>
To: linville@tuxdriver.com
Cc: linux-wireless@vger.kernel.org,
ipw3945-devel@lists.sourceforge.net,
Wey-Yi Guy <wey-yi.w.guy@intel.com>
Subject: [PATCH 6/8] iwlagn: turn dynamic smps on while BT is on
Date: Sat, 23 Oct 2010 09:15:44 -0700 [thread overview]
Message-ID: <1287850546-23500-7-git-send-email-wey-yi.w.guy@intel.com> (raw)
In-Reply-To: <1287850546-23500-1-git-send-email-wey-yi.w.guy@intel.com>
While BT is on and doing iscan and/or pscan, BT is in listen
mode which will impact WiFi throughput, we need to
enable dynamic smps in order to improve the rx throughput.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
---
drivers/net/wireless/iwlwifi/iwl-agn-lib.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
index b555edd..931af54 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
@@ -1889,7 +1889,10 @@ static void iwlagn_bt_traffic_change_work(struct work_struct *work)
switch (priv->bt_traffic_load) {
case IWL_BT_COEX_TRAFFIC_LOAD_NONE:
- smps_request = IEEE80211_SMPS_AUTOMATIC;
+ if (priv->bt_status)
+ smps_request = IEEE80211_SMPS_DYNAMIC;
+ else
+ smps_request = IEEE80211_SMPS_AUTOMATIC;
break;
case IWL_BT_COEX_TRAFFIC_LOAD_LOW:
smps_request = IEEE80211_SMPS_DYNAMIC;
--
1.7.0.4
next prev parent reply other threads:[~2010-10-23 16:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-23 16:15 [PATCH 0/8] update for 2.6.38 Wey-Yi Guy
2010-10-23 16:15 ` [PATCH 1/8] iwlwifi: make mac80211 ops a device config Wey-Yi Guy
2010-10-23 16:15 ` [PATCH 2/8] iwlagn: don't resent RXON timing Wey-Yi Guy
2010-10-25 8:34 ` Johannes Berg
2010-10-23 16:15 ` [PATCH 3/8] iwlagn: new RXON processing for modern devices Wey-Yi Guy
2010-10-23 16:15 ` [PATCH 4/8] iwlwifi: fix IBSS beaconing Wey-Yi Guy
2010-10-23 16:15 ` [PATCH 5/8] iwlwifi: implement switching iftype while up Wey-Yi Guy
2010-10-23 16:15 ` Wey-Yi Guy [this message]
2010-10-23 16:15 ` [PATCH 7/8] iwlwifi: add new devices to Kconfig Wey-Yi Guy
2010-10-23 16:15 ` [PATCH 8/8] iwlagn: use 6000g2b uCode for 130 series devices Wey-Yi Guy
2010-11-09 21:12 ` [PATCH 0/8] update for 2.6.38 John W. Linville
2010-11-09 21:18 ` Guy, Wey-Yi
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=1287850546-23500-7-git-send-email-wey-yi.w.guy@intel.com \
--to=wey-yi.w.guy@intel.com \
--cc=ipw3945-devel@lists.sourceforge.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.