Add TWT statistic logs to dumpstate for bugreport. am: d9c9199c83 am: 23775cefc4

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19999827

Change-Id: If54de7f3eda032b07a778b39c414953cc1e26726
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Star Chang 2022-11-04 02:57:02 +00:00 committed by Automerger Merge Worker
commit fbc2d10e23

View file

@ -304,6 +304,8 @@ void Dumpstate::dumpTextSection(int fd, const std::string &sectionName) {
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