diff --git a/softap/sdk/qsap_api.c b/softap/sdk/qsap_api.c index 9c3599f..8b18c78 100755 --- a/softap/sdk/qsap_api.c +++ b/softap/sdk/qsap_api.c @@ -179,6 +179,7 @@ static struct Command cmd_list[eCMD_LAST] = { { "interface", NULL }, { "ssid2", NULL }, { "bridge", NULL }, + { "ctrl_interface", NULL }, }; struct Command qsap_str[eSTR_LAST] = { diff --git a/softap/sdk/qsap_api.h b/softap/sdk/qsap_api.h index 5d841e7..0c5bf53 100755 --- a/softap/sdk/qsap_api.h +++ b/softap/sdk/qsap_api.h @@ -93,7 +93,7 @@ enum error_val { #define CONFIG_FILE_5G "/data/vendor/wifi/hostapd_dual5g.conf" /** Configuration file name */ -#define CONFIG_FILE "/data/vendor/wifi/hostapd.conf" +#define CONFIG_FILE "/data/misc/wifi/hostapd.conf" /** Default configuration file path */ #define DEFAULT_CONFIG_FILE_PATH "/system/etc/hostapd/hostapd_default.conf" @@ -347,6 +347,7 @@ typedef enum esap_cmd { eCMD_INTERFACE = 73, eCMD_SSID2 = 74, eCMD_BRIDGE = 75, + eCMD_CTRL_INTERFACE = 76, eCMD_LAST /** New command numbers should be added above this */ } esap_cmd_t;