wlan: Add default hostapd configuration file
If the hostapd configuration files are not present in /data/misc/wifi,
copy it from the default file location /system/etc/wifi/
while starting softAP.
Change-Id: I3b33a283c2713176666d2a84428645cdb7113684
CRs-fixed: 409888
diff --git a/softap/sdk/qsap_api.h b/softap/sdk/qsap_api.h
index b82416d..67c1951 100644
--- a/softap/sdk/qsap_api.h
+++ b/softap/sdk/qsap_api.h
@@ -92,11 +92,17 @@
#define CONFIG_FILE "/data/misc/wifi/hostapd.conf"
/** Default configuration file path */
-#define DEFAULT_CONFIG_FILE_PATH "/persist/qcom/softap/hostapd_default.conf"
+#define DEFAULT_CONFIG_FILE_PATH "/system/etc/hostapd/hostapd_default.conf"
+
+/** Default Accept list file name */
+#define DEFAULT_ACCEPT_LIST_FILE_PATH "/system/etc/hostapd/hostapd.accept"
/** Accept list file name */
#define ACCEPT_LIST_FILE "/data/hostapd/hostapd.accept"
+/** Default Deny list file name */
+#define DEFAULT_DENY_LIST_FILE_PATH "/system/etc/hostapd/hostapd.deny"
+
/** Deny list file name */
#define DENY_LIST_FILE "/data/hostapd/hostapd.deny"