QSAP: Enhance 'set' commmand to configure for OWE

This creates a new hostapd_owe.conf if use below 'set' CMD:
  "softap qccmd set owe <args>"

CRs-Fixed: 2356574
Change-Id: I1ef4f11f7bdb3155dcfbc2c75fa106c8a3ecc61a
This commit is contained in:
Hu Wang
2018-12-06 18:13:00 +08:00
parent b44cdad94e
commit d855500014
2 changed files with 14 additions and 2 deletions

View File

@@ -92,6 +92,9 @@ enum error_val {
#define CONFIG_FILE_2G "/data/vendor/wifi/hostapd/hostapd_dual2g.conf"
#define CONFIG_FILE_5G "/data/vendor/wifi/hostapd/hostapd_dual5g.conf"
/** Configuration file name for OWE-transition */
#define CONFIG_FILE_OWE "/data/vendor/wifi/hostapd/hostapd_owe.conf"
/** Configuration file name */
#define CONFIG_FILE "/data/vendor/wifi/hostapd/hostapd.conf"
@@ -252,6 +255,7 @@ enum eCmd_req {
enum eConf_req {
CONF_2g = 0,
CONF_5g = 1,
CONF_owe = 2,
CONF_REQ_LAST
};