Patch "iwlwifi: mvm: fix antenna selection when BT is active" has been added to the 4.1-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
iwlwifi: mvm: fix antenna selection when BT is active
to the 4.1-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
iwlwifi-mvm-fix-antenna-selection-when-bt-is-active.patch
and it can be found in the queue-4.1 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
923a8c1d8069104726bde55c37cec66324ccc328Mon Sep 17 00:00:00 2001
From: Emmanuel Grumbach <[email protected]>
Date: Sun, 31 May 2015 21:44:22 +0300
Subject: iwlwifi: mvm: fix antenna selection when BT is active
From: Emmanuel Grumbach <[email protected]>
commit 923a8c1d8069104726bde55c37cec66324ccc328 upstream.
When BT is active, we want to avoid the shared antenna for management frame to make sure we don't disturb BT. There was a bug in that code because it chose the antenna BIT(ANT_A) where ANT_A is already a bitmap (0x1). This means that the antenna chosen in the end was ANT_B. While this is not optimal on devices with 2 antennas (it'd disturb BT), it is critical on single antenna devices like 3160 which couldn't connect at all when BT was active.
This fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=97181
--- drivers/net/wireless/iwlwifi/mvm/tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/iwlwifi/mvm/tx.c +1 -1
@@ -225,7 +225,7 @@ void iwl_mvm_set_tx_cmd_rate(struct iwl_if (info->band ==IEEE80211_BAND_2GHZ && !iwl_mvm_bt_coex_is_shared_ant_avail (mvm)) - rate_flags =BIT (mvm->cfg->non_shared_ant) <<RATE_MCS_ANT_POS ; + rate_flags = mvm->cfg->non_shared_ant <<RATE_MCS_ANT_POS ;else rate_flags =BIT (mvm->mgmt_last_antenna_idx) <<RATE_MCS_ANT_POS ;
Patches currently in stable-queue which might be from [email protected] are
queue-4.1/iwlwifi-mvm-fix-antenna-selection-when-bt-is-active.patch queue-4.1/iwlwifi-pcie-prepare-the-device-before-accessing-it.patch queue-4.1/iwlwifi-nvm-remove-mac-address-byte-swapping-in-8000-family.patch