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
This commit is contained in:
parent
e0ccd8fe6d
commit
b9d3e85359
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