iwlwifi: fix rate-scaling algorithm for BT combo devices
authorVenkataraman, Meenakshi <meenakshi.venkataraman@intel.com>
Thu, 10 Nov 2011 14:55:25 +0000 (06:55 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 Nov 2011 17:32:56 +0000 (12:32 -0500)
commit383b0874abc8c23f15a15773812fb09f23078311
treeff4d17ceeb57821fa55e308091c88af7a0522cb6
parent81a3de1ce2929fef2b112c048c50bc52b686f94d
iwlwifi: fix rate-scaling algorithm for BT combo devices

iwlwifi tries to avoid using antenna B in BT combo devices when BT
is active. A bug in the rate-scaling algorithm was causing the combo
device to never attempt MIMO rates. Fix the algorithm to
opportunistically try MIMO rates when BT traffic is low.

Signed-off-by: Meenakshi Venkataraman <meenakshi.venkataraman@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-rs.c