From 9401fa60b47ea78d2a653be9440240a828c35649 Mon Sep 17 00:00:00 2001 From: Hsiu-Chang Chen Date: Sun, 5 Dec 2021 15:16:37 +0800 Subject: [PATCH] dumpstate: dump wlan firmware symbol file Bug: 205919442 Test: Build Pass Change-Id: Ib48b8bdf002e6462a7a0499f02b6a7b76329dee4 --- dumpstate/DumpstateDevice.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp index f85be3b0..57775940 100644 --- a/dumpstate/DumpstateDevice.cpp +++ b/dumpstate/DumpstateDevice.cpp @@ -298,6 +298,9 @@ void DumpstateDevice::dumpTextSection(int fd, const std::string §ionName) { void DumpstateDevice::dumpWlanSection(int fd) { RunCommandToFd(fd, "WLAN Debug Dump", {"/vendor/bin/sh", "-c", "cat /sys/wifi/dump_start"}); + + // Dump firmware symbol table for firmware log decryption + DumpFileToFd(fd, "WLAN FW Log Symbol Table", "/vendor/firmware/Data.msc"); } // Dump items related to power and battery