[PATCH 0/9] Command completion for hostapd_cli etc

Mikael Kanstrup mikael.kanstrup at sonymobile.com
Thu Jul 7 05:04:29 PDT 2016


Here are a couple of patches that add basic command completion support
for hostapd_cli tool. Some functions from wpa_cli are reused by moving
them to a new common cli.c file to be used both by hostapd_cli and
wpa_cli. Also including a completion patch for get_capabilty wpa_cli
command.

Mikael Kanstrup (9):
  wpa_cli: Implement completion routine for get_capability
  hostapd_cli: Add command completion support
  hostapd_cli: Replace static usage string with print_help function
  hostapd_cli: Add completion for help command
  Move parts of wpa_cli to a new common file
  hostapd_cli: Implement event handler
  hostapd_cli: Completion for disassociate and deauthenticate
  hostapd_cli: Completion for interface command
  Use a common license string for hostapd_cli and wpa_cli

 hostapd/Makefile         |   5 +-
 hostapd/hostapd_cli.c    | 519 +++++++++++++++++++++++++++++++++++------------
 src/common/cli.c         | 180 ++++++++++++++++
 src/common/cli.h         |  42 ++++
 wpa_supplicant/Makefile  |   1 +
 wpa_supplicant/wpa_cli.c | 230 +++++----------------
 6 files changed, 665 insertions(+), 312 deletions(-)
 create mode 100644 src/common/cli.c
 create mode 100644 src/common/cli.h

-- 
2.9.0.137.gcf4c2cf




More information about the Hostap mailing list