summaryrefslogtreecommitdiff
path: root/dumpstate
diff options
context:
space:
mode:
authorRoger Wang <wangroger@google.com>2021-08-27 10:24:13 +0800
committerRoger Wang <wangroger@google.com>2021-08-27 10:24:13 +0800
commit49d98956fc348c7ca6348746c522d65bda532eb1 (patch)
treec7cfc878eb043e4bc318b7a2888eb1b0c69beee7 /dumpstate
parent930b449775cd5535ad904d375a0858eb5e6ce685 (diff)
downloadgs201-49d98956fc348c7ca6348746c522d65bda532eb1.tar.gz
dumpstate: remove wifi fw symbol table
In b/183180525, vendor mentioned they won't provide fw symbol table (logstrs.bin) in terms of their internal concern. Hence, remove wifi fw symbol table from dumpstate. Bug: 197849117 Test: build pass, device can connect to AP. Change-Id: I91f5c38b87fd099961a95ac2ddf7fb8232003cd7
Diffstat (limited to 'dumpstate')
-rw-r--r--dumpstate/DumpstateDevice.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp
index 5cc8699..81b573e 100644
--- a/dumpstate/DumpstateDevice.cpp
+++ b/dumpstate/DumpstateDevice.cpp
@@ -1014,26 +1014,6 @@ Return<DumpstateStatus> DumpstateDevice::dumpstateBoard_1_1(const hidl_handle& h
dumpModem(fd, fdModem);
}
- // Keep this at the end as very long on not for humans
-
- static const char* kBcmdhd43752Path =
- "/sys/module/bcmdhd43752/parameters/info_string";
- static const char* kBcmdhd4389Path =
- "/sys/module/bcmdhd4389/parameters/info_string";
-
- std::string chip_info;
- if (android::base::ReadFileToString(kBcmdhd43752Path, &chip_info) &&
- (chip_info.find("Chip: aae8") != std::string::npos)) {
- RunCommandToFd(fd, "WLAN FW Log Symbol Table",
- {"/vendor/bin/base64",
- "/vendor/etc/wifi/logstrs_43752.bin"});
- } else if (android::base::ReadFileToString(kBcmdhd4389Path, &chip_info) &&
- (chip_info.find("Chip: 4389") != std::string::npos)) {
- RunCommandToFd(fd, "WLAN FW Log Symbol Table",
- {"/vendor/bin/base64",
- "/vendor/firmware/logstrs.bin"});
- }
-
return DumpstateStatus::OK;
}