qsap: Point the hostapd configuration location to /data/misc/wifi
1) This commit points the hostapd configuration location to /data/misc/wifi. 2) Aims to enable configure ctrl_interface via qsap command. CRs-Fixed: 2091779 Change-Id: I8ebfdd4b5c359659272209ab2e0f7b92793e51c9
This commit is contained in:
@@ -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] = {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user