diff options
author | Star Chang <starchang@google.com> | 2022-09-20 07:07:07 +0000 |
---|---|---|
committer | Star Chang <starchang@google.com> | 2022-11-04 01:31:19 +0000 |
commit | d9c9199c8363c6e61a211e3d556240e129e9abd8 (patch) | |
tree | d6e6dcc9a98ed9a9ada9d404d7451ed79ba29b06 | |
parent | 712cb29b4d677c235636f7bdff776660937bc8df (diff) | |
download | gs201-d9c9199c8363c6e61a211e3d556240e129e9abd8.tar.gz |
Add TWT statistic logs to dumpstate for bugreport.
Bug: 253348062
Test: dump bugreport ok
Change-Id: I2a1edafa78113e4f48d22244151c3a1500fe7f71
Signed-off-by: Star Chang <starchang@google.com>
-rw-r--r-- | dumpstate/Dumpstate.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dumpstate/Dumpstate.cpp b/dumpstate/Dumpstate.cpp index 5c3e9cd..8d95cb6 100644 --- a/dumpstate/Dumpstate.cpp +++ b/dumpstate/Dumpstate.cpp @@ -286,6 +286,8 @@ void Dumpstate::dumpTextSection(int fd, const std::string §ionName) { void Dumpstate::dumpWlanSection(int fd) { // Dump firmware symbol table for firmware log decryption DumpFileToFd(fd, "WLAN FW Log Symbol Table", "/vendor/firmware/Data.msc"); + RunCommandToFd(fd, "WLAN TWT Dump", {"/vendor/bin/sh", "-c", + "cat /sys/wlan_ptracker/twt/*"}); } // Dump items related to power and battery |