]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Fix ath9k prevents CPU to enter C3 states
authorMohammed Shafi Shajakhan <mshajakhan@atheros.com>
Tue, 15 Feb 2011 15:59:32 +0000 (21:29 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 Feb 2011 16:16:00 +0000 (11:16 -0500)
commit215bbf58676eb90828de1b37d73653a186cc3c95
tree6e4528d6eee03aec59b3b630aae272f34e7f27b7
parent06d7190722f5729925e58a066af1c9abc1c51a0b
ath9k: Fix ath9k prevents CPU to enter C3 states

The DMA latency issue is observed only in Intel pinetrail platforms
but in the driver we had a default PM-QOS value of 55. This caused
unnecessary power consumption and battery drain in other platforms.

Remove the pm-qos thing in the driver code and address the throughput
issue in Intel pinetrail platfroms in user space using any one of
the scripts in below links:

http://www.kernel.org/pub/linux/kernel/people/mcgrof/scripts/cpudmalatency.c
http://johannes.sipsolutions.net/files/netlatency.c.txt

More details can be found in the following bugzilla link:

https://bugzilla.kernel.org/show_bug.cgi?id=27532

This reverts the following commits:

0fa8bb2b61747cf734557593f2fa23c6fa5857af
b61793a79ca224ee9bb841e946b5b35f75b4705d
5369b2ef166be31cdd4f94b3daa1a4e3de07d8a8

Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/init.c
drivers/net/wireless/ath/ath9k/main.c