dumpstate: remove wifi fw symbol table am: f83b6cfad9 am: f8cf56451d am: 35d10b2bcf

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

Change-Id: I81f1025f226df349cff2e7d33b933052ce44cbd3
This commit is contained in:
Roger Wang 2021-06-22 17:58:46 +00:00 committed by Automerger Merge Worker
commit b69c713e4c

View file

@ -1083,26 +1083,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;
}