debugd: Add packet capture tool
Add a tool for performing interface-based or over-the-air capture.
This uses a helper shell script to select or create a monitoring
interface, and a small binary for generating a pcap file.
CQ-DEPEND=CL:50010
BUG=chromium:218380
TEST=Unit tests (for the shell script) and manual tests on a
daisy with a USB WiFi dongle.
Change-Id: I8bb7d5f2ac23eb249ed097e047a2672670445f39
Reviewed-on: https://gerrit.chromium.org/gerrit/50011
Reviewed-by: Elly Jones <ellyjones@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
9 files changed