From a0342c45ce846135ee7c0adbb9e7b7faceabc2ec Mon Sep 17 00:00:00 2001 From: Roger Wang Date: Thu, 8 Apr 2021 20:05:43 +0800 Subject: [PATCH] Enable wakeup packet mask and marker config In this commit, we enable wakeup packet mask and marker config. Then, connectivity can do the proper accounting of the Wakeup statistics which will be included in the bugreport. BUG: 184807534 Test: adb shell dumpsys connmetrics ``` WakeupStats(wlan0, 1022s, total: 6, root: 0, system: 1, apps: 5, non-apps: 0, no uid: 0, l2 unicast/multicast/broadcast: 6/0/0, ethertype 0x800: 6, ipNxtHdr 6: 6) WakeupEvent(19:45:36.879, wlan0, uid: 1010151, eth=0x800, dstHw=10:7b:44:3c:30:88, ipNxtHdr=6, srcIp=216.58.200.42, dstIp=192.168.50.51, srcPort=443, dstPort=49572) WakeupEvent(19:47:36.741, wlan0, uid: 1010151, eth=0x800, dstHw=10:7b:44:3c:30:88, ipNxtHdr=6, srcIp=172.217.24.8, dstIp=192.168.50.51, srcPort=443, dstPort=53436) WakeupEvent(19:49:25.241, wlan0, uid: 10151, eth=0x800, dstHw=10:7b:44:3c:30:88, ipNxtHdr=6, srcIp=74.125.204.188, dstIp=192.168.50.51, srcPort=5228, dstPort=38444) //... ``` Change-Id: Ifabc2edd5425794d9e0af200eaec8baad44d6689 --- overlay/frameworks/base/core/res/res/values/config.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index e53bfc6b..47a37446 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -259,4 +259,11 @@ Settings.System.RING_VIBRATION_INTENSITY more details on the constant values and meanings. --> 3 + + + 0x80000000 + + + 0x80000000