diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2013-05-28 20:31:50 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-06-04 13:13:11 +0200 |
commit | e96d551f4bc6a13942aa5837ca6739c61d540945 (patch) | |
tree | 6938d73e1bccc335943fd7ada6d573ff48fa8e55 /drivers/net/wireless/iwlwifi/mvm | |
parent | iwlwifi: mvm: fix the LUT for BT Coex (diff) | |
download | linux-e96d551f4bc6a13942aa5837ca6739c61d540945.tar.xz linux-e96d551f4bc6a13942aa5837ca6739c61d540945.zip |
iwlwifi: mvm: limit the length of the AMPDU when BT is running
This holds for existing BA agreements.
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')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/rs.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/rs.c b/drivers/net/wireless/iwlwifi/mvm/rs.c index 6a050c69e7d0..7dfc212c4f0e 100644 --- a/drivers/net/wireless/iwlwifi/mvm/rs.c +++ b/drivers/net/wireless/iwlwifi/mvm/rs.c @@ -2782,6 +2782,13 @@ static void rs_fill_link_cmd(struct iwl_mvm *mvm, lq_cmd->agg_time_limit = cpu_to_le16(LINK_QUAL_AGG_TIME_LIMIT_DEF); + + /* + * overwrite if needed, pass aggregation time limit + * to uCode in uSec - This is racy - but heh, at least it helps... + */ + if (mvm && BT_MBOX_MSG(&mvm->last_bt_notif, 3, TRAFFIC_LOAD) >= 2) + lq_cmd->agg_time_limit = cpu_to_le16(1200); } static void *rs_alloc(struct ieee80211_hw *hw, struct dentry *debugfsdir) |