From b9d3e85359602207d9bd178bc04dc20df449c968 Mon Sep 17 00:00:00 2001 From: Roger Wang Date: Tue, 22 Jun 2021 08:37:15 +0800 Subject: [PATCH] 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 --- dumpstate/DumpstateDevice.cpp | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp index 77ff3bba..dcbac91d 100644 --- a/dumpstate/DumpstateDevice.cpp +++ b/dumpstate/DumpstateDevice.cpp @@ -1083,26 +1083,6 @@ Return 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; }