ath9k: Make PM-QOS value as user configurable
authorMohammed Shafi Shajakhan <mshajakhan@atheros.com>
Tue, 14 Dec 2010 07:48:28 +0000 (13:18 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 15 Dec 2010 22:03:54 +0000 (17:03 -0500)
commit4dc3530df7c0428b41c00399a7ee8c929406d181
tree43a6c79e6984ce0479746e4a1a847f4a1b493538
parent17b3c17ecde36db5db7760a2802990b3129a4d65
ath9k: Make PM-QOS value as user configurable

This patch allows the pm-qos value to be user configurable by making it as
a module parameter.This will help our customers to configure the pm-qos
value according to the effect in throughput due to the DMA latency problem
which was observed in Intel Pinetrail platforms.
The tested value of '55' will be filled as the default
pm-qos-value incase the user does not specifies pm-qos value as a
module parameter.
example usage: sudo modprobe ath9k pmqos=65

Cc: Senthilkumar Balasubramanian <Senthilkumar.Balasubramanian@Atheros.com>
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