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
This commit is contained in:
parent
2968f7ed45
commit
a0342c45ce
1 changed files with 7 additions and 0 deletions
|
@ -259,4 +259,11 @@
|
||||||
Settings.System.RING_VIBRATION_INTENSITY more details on the constant values and
|
Settings.System.RING_VIBRATION_INTENSITY more details on the constant values and
|
||||||
meanings. -->
|
meanings. -->
|
||||||
<integer name="config_defaultRingVibrationIntensity">3</integer>
|
<integer name="config_defaultRingVibrationIntensity">3</integer>
|
||||||
|
|
||||||
|
<!-- If the hardware supports specially marking packets that caused a wakeup of the
|
||||||
|
main CPU, set this value to the mark used. -->
|
||||||
|
<integer name="config_networkWakeupPacketMark">0x80000000</integer>
|
||||||
|
|
||||||
|
<!-- Mask to use when checking skb mark defined in config_networkWakeupPacketMark above. -->
|
||||||
|
<integer name="config_networkWakeupPacketMask">0x80000000</integer>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue