mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 05:38:17 +00:00
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>
This commit is contained in:
@@ -286,6 +286,8 @@ void Dumpstate::dumpTextSection(int fd, const std::string §ionName) {
|
|||||||
void Dumpstate::dumpWlanSection(int fd) {
|
void Dumpstate::dumpWlanSection(int fd) {
|
||||||
// Dump firmware symbol table for firmware log decryption
|
// Dump firmware symbol table for firmware log decryption
|
||||||
DumpFileToFd(fd, "WLAN FW Log Symbol Table", "/vendor/firmware/Data.msc");
|
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
|
// Dump items related to power and battery
|
||||||
|
|||||||
Reference in New Issue
Block a user