crosh: add network_logging wifi and reset

Improve the `wifi` subcommand to include driver debugging, and add a
`reset` subcommand.

Wifi driver debugging is currently only supported for Marvell mwifiex,
but it should be possible to add other Wifi driver interfaces where they
exist. The DBus API will print out 'true' or 'false' depending on
whether the debugging feature is supported (and successfully
enabled/disabled).

BUG=chrome-os-partner:59342
TEST=crosh `network_logging wifi` and `network_logging reset`

Change-Id: Ia6581c67aefa219cec2bbfbb03888f50a34f82d7
Signed-off-by: Brian Norris <briannorris@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/423193
Reviewed-by: Kirtika Ruchandani <kirtika@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
(cherry picked from commit 0cf423ae89b331bb272059b8f3225c742bbd06fe)
Reviewed-on: https://chromium-review.googlesource.com/431417
1 file changed