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: 191429306
Test: build pass, device can connect to AP.
Change-Id: I54a012f619f113a2567a93707731b5c4802b1da8
diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp
index 77ff3bb..dcbac91 100644
--- a/dumpstate/DumpstateDevice.cpp
+++ b/dumpstate/DumpstateDevice.cpp
@@ -1083,26 +1083,6 @@
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;
}