summaryrefslogtreecommitdiff
path: root/wifi/1.2/default/ringbuffer.cpp
AgeCommit message (Collapse)Author
2018-09-05Merge QP1A.180823.001Bill Peckham
Change-Id: I0e80bda07db2ee67575e7d3c8bde46bf29d8c790
2018-01-24Followup CL for ringbuffer in wifi_halxshu
Bug: 72462185 Test: compile, unit tests Test: manual flash device In a terminal create the archive: adb shell su cd bugreports lshal debug android.hardware.wifi@1.2::IWifi >> archive.cpio In another termial pull and extract the archive: adb pull bugreports/archive.cpio cpio -iv < archive.cpio Verify extracted files are the same as files generated in device under /data/vendor/tombstones/wifi Change-Id: Ia2e89dd08edce1f0ec6c0c6e2c26231a0a9d4cc4
2018-01-23move ringbuffer interactions to wifi halxshu
Shallow copy of ringbuffer is stored inside the hal. The maximum ringbuffer size is configured by the framework. overrides IBase::debug to: 1. write ringbuffers in memory to flash (wifi tombstones) 2. write wifi tombstones to lshal debug fd in archived format Bug: 70171481 Test: compile, run on device Test: run "lshal debug android.hardware.wifi@1.2::IWifi >> archive.cpio" and compared archived files with originals using diff command Change-Id: I33c30e37f245cfa36e005ba8cdc46e91f6de9237