add LastMileLogger

Add the LastMileLogger class, which manages the tracing
of kernel wifi events. These events will include
cfg80211 API calls, cfg80211 events, and data-path
events on the Wifi interface.

Note:
- The LastMileLogger itself does _not_ control which
  events are logged. LML simply a) controls when
  logging is enabled/disabled, and b) retrieves the
  trace data when appropriate.
- The events to be logged will be controlled by an
  init script. Separating the control reduces the
  risk that a compromised system_server captures
  more data than it should.
- Later CLs will actually plumb all the bits together
  (LastMileLogger, init script, WifiStateMachine,
  WifiDiagnostics, etc.). As of this CL, LML isn't
  actually instantiated in WifiService.

Bug: 34180821
Test: tests/wifitests/runtests.sh (on angler)
Change-Id: I2facf70b93a0f824fbb08c1bddb415bcbdc7e504
2 files changed
tree: 39c096afc19ece63371dfd48831e9a435b796cbf
  1. service/
  2. PREUPLOAD.cfg