From: Debabrata Purohit Date: Fri, 1 Jun 2018 13:43:34 +0000 (+0100) Subject: [9610] wlbt: enable PM QoS by default X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=40327bfab3faf47c51d8a3154e036b8268ace971;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 --- 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");