]> Pileus Git - ~andy/linux/commit
ath9k: Ensure we set FTP_STOMP_LOW weight when WLAN is idle
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Mon, 8 Oct 2012 16:00:51 +0000 (21:30 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 29 Oct 2012 19:18:50 +0000 (15:18 -0400)
commitbe41b052029f75a72df3c437a238bf9d574b6461
tree53a940e7fced76a558d9019ac1067506335cc443
parente0509d3bdd7365d06c9bf570bf9f118cae6cbd58
ath9k: Ensure we set FTP_STOMP_LOW weight when WLAN is idle

When WLAN is idle ensure we downgrade to FTP_STOMP_LOW weight
(from STOMP_LOW) to provide more bandwidth for BT FTP profile.
WLAN's idleness can be estimated by taking into account of the
rx data packets and just ignore beacons, qos nullfunc etc.

Also update bt_wait_time even if the chip is in NETWORK SLEEP
mode. This should help BT throughput when WLAN is idle.

Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/gpio.c
drivers/net/wireless/ath/ath9k/recv.c