From 40327bfab3faf47c51d8a3154e036b8268ace971 Mon Sep 17 00:00:00 2001 From: Debabrata Purohit Date: Fri, 1 Jun 2018 14:43:34 +0100 Subject: [PATCH] [9610] wlbt: enable PM QoS by default The driver can detect high throughput condition and can configure kernel PM QoS to run the MIF and CPU at high frequency. Enable this feature by default. Change-Id: I554cb442a882d3efe96304e62384bbcefd24f77d SCSC-Bug-Id: SSB-40399 Signed-off-by: Debabrata Purohit --- drivers/net/wireless/scsc/hip4.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/scsc/hip4.c b/drivers/net/wireless/scsc/hip4.c index f382e41e78ad..52efa5d985ba 100755 --- a/drivers/net/wireless/scsc/hip4.c +++ b/drivers/net/wireless/scsc/hip4.c @@ -23,15 +23,15 @@ #include "debug.h" -static bool hip4_qos_enable; +static bool hip4_qos_enable = true; module_param(hip4_qos_enable, bool, S_IRUGO | S_IWUSR); -MODULE_PARM_DESC(hip4_qos_enable, "enable HIP4 PM QoS. (default: N)"); +MODULE_PARM_DESC(hip4_qos_enable, "enable HIP4 PM QoS. (default: Y)"); -static int hip4_qos_max_tput_in_mbps; +static int hip4_qos_max_tput_in_mbps = 300; module_param(hip4_qos_max_tput_in_mbps, int, S_IRUGO | S_IWUSR); MODULE_PARM_DESC(hip4_qos_max_tput_in_mbps, "throughput (in Mbps) to apply Max PM QoS"); -static int hip4_qos_med_tput_in_mbps; +static int hip4_qos_med_tput_in_mbps = 150; module_param(hip4_qos_med_tput_in_mbps, int, S_IRUGO | S_IWUSR); MODULE_PARM_DESC(hip4_qos_med_tput_in_mbps, "throughput (in Mbps) to apply Median PM QoS"); -- 2.20.1