iwlagn: turn dynamic smps on while BT is on
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> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
d4daaea656
commit
f5682c01eb
@@ -1897,6 +1897,9 @@ static void iwlagn_bt_traffic_change_work(struct work_struct *work)
|
|||||||
|
|
||||||
switch (priv->bt_traffic_load) {
|
switch (priv->bt_traffic_load) {
|
||||||
case IWL_BT_COEX_TRAFFIC_LOAD_NONE:
|
case IWL_BT_COEX_TRAFFIC_LOAD_NONE:
|
||||||
|
if (priv->bt_status)
|
||||||
|
smps_request = IEEE80211_SMPS_DYNAMIC;
|
||||||
|
else
|
||||||
smps_request = IEEE80211_SMPS_AUTOMATIC;
|
smps_request = IEEE80211_SMPS_AUTOMATIC;
|
||||||
break;
|
break;
|
||||||
case IWL_BT_COEX_TRAFFIC_LOAD_LOW:
|
case IWL_BT_COEX_TRAFFIC_LOAD_LOW:
|
||||||
|
Reference in New Issue
Block a user