hostapd_cli: Enable command completion and history for Android

Signed-off-by: Mikael Kanstrup <mikael.kanstrup@sonymobile.com>
This commit is contained in:
Mikael Kanstrup 2016-10-12 14:18:54 +02:00 committed by Jouni Malinen
parent cf296a23d5
commit bc4b680c22
2 changed files with 6 additions and 0 deletions

View file

@ -38,6 +38,9 @@ endif
L_CFLAGS += -DCONFIG_CTRL_IFACE_CLIENT_DIR=\"/data/misc/wifi/sockets\" L_CFLAGS += -DCONFIG_CTRL_IFACE_CLIENT_DIR=\"/data/misc/wifi/sockets\"
L_CFLAGS += -DCONFIG_CTRL_IFACE_DIR=\"/data/system/hostapd\" L_CFLAGS += -DCONFIG_CTRL_IFACE_DIR=\"/data/system/hostapd\"
# Use Android specific directory for hostapd_cli command completion history
L_CFLAGS += -DCONFIG_HOSTAPD_CLI_HISTORY_DIR=\"/data/misc/wifi\"
# To force sizeof(enum) = 4 # To force sizeof(enum) = 4
ifeq ($(TARGET_ARCH),arm) ifeq ($(TARGET_ARCH),arm)
L_CFLAGS += -mabi=aapcs-linux L_CFLAGS += -mabi=aapcs-linux

View file

@ -199,3 +199,6 @@ CONFIG_AP=y
# These extentions facilitate efficient use of multiple frequency bands # These extentions facilitate efficient use of multiple frequency bands
# available to the AP and the devices that may associate with it. # available to the AP and the devices that may associate with it.
#CONFIG_MBO=y #CONFIG_MBO=y
# Include internal line edit mode in hostapd_cli.
CONFIG_WPA_CLI_EDIT=y