dumpstate: remove wifi fw symbol table am: f83b6cfad9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15023708 Change-Id: Ic5d4389c11df3eaf5439c995c1989c6f57a33c30
This commit is contained in:
commit
d327ab2a8f
1 changed files with 0 additions and 20 deletions
|
@ -1083,26 +1083,6 @@ Return<DumpstateStatus> DumpstateDevice::dumpstateBoard_1_1(const hidl_handle& h
|
||||||
dumpModem(fd, fdModem);
|
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;
|
return DumpstateStatus::OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue