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

Commit d512be4e authored by Skylar Chang's avatar Skylar Chang Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa: fix the ipa inactivity timer issue



Currently if no embedded traffic showing on AP,
IPA resource manager will wait 1000ms to do
clock-gating and wastes AP power. The fix is
to change all IPA_RM's clients to use 100 ms
as INACTIVITY_MSEC_DELAY in profile.

Change-Id: I9b055befb79d5a452427d01aa526c5b7d90a349f
Signed-off-by: default avatarSkylar Chang <chiaweic@codeaurora.org>
parent 526a2392
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@
#define IPV4_HDR_NAME "rndis_eth_ipv4"
#define IPV6_HDR_NAME "rndis_eth_ipv6"
#define IPA_TO_USB_CLIENT IPA_CLIENT_USB_CONS
#define INACTIVITY_MSEC_DELAY 1000
#define INACTIVITY_MSEC_DELAY 100
#define DEFAULT_OUTSTANDING_HIGH 64
#define DEFAULT_OUTSTANDING_LOW 32
#define DEBUGFS_TEMP_BUF_SIZE 4
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@
#define WWAN_METADATA_SHFT 24
#define WWAN_METADATA_MASK 0xFF000000
#define WWAN_DATA_LEN 2000
#define IPA_RM_INACTIVITY_TIMER 1000 /* IPA_RM */
#define IPA_RM_INACTIVITY_TIMER 100 /* IPA_RM */
#define HEADROOM_FOR_QMAP   8 /* for mux header */
#define TAILROOM            0 /* for padding by mux layer */
#define MAX_NUM_OF_MUX_CHANNEL  10 /* max mux channels */