Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3f2382fd authored by Subash Abhinov Kasiviswanathan's avatar Subash Abhinov Kasiviswanathan
Browse files

soc: qmi: ps interval change



Change power save interval to monitor
every 1s and configurable as low as 1ms.

Fixed-CRs: 2330262
Change-Id: Ia6f0f88a2ac2696832e232dd2f7dcf6f258e5a4d
Acked-by: default avatarRaul Martinez <mraul@qti.qualcomm.com>
Signed-off-by: default avatarSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
parent 0e9fc9ea
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -33,12 +33,13 @@
#define FLAG_POWERSAVE_MASK 0x0010
#define DFC_MODE_MULTIQ 2

unsigned int rmnet_wq_frequency __read_mostly = 4;
unsigned int rmnet_wq_frequency __read_mostly = 1000;
module_param(rmnet_wq_frequency, uint, 0644);
MODULE_PARM_DESC(rmnet_wq_frequency, "Frequency of PS check");
MODULE_PARM_DESC(rmnet_wq_frequency, "Frequency of PS check in ms");

#define PS_WORK_ACTIVE_BIT 0
#define PS_INTERVAL (((!rmnet_wq_frequency) ? 1 : rmnet_wq_frequency) * HZ)
#define PS_INTERVAL (((!rmnet_wq_frequency) ?                             \
					1 : rmnet_wq_frequency/10) * (HZ/100))
#define NO_DELAY (0x0000 * HZ)

#ifdef CONFIG_QCOM_QMI_DFC