Home
last modified time | relevance | path

Searched refs:config_fname (Results 1 – 8 of 8) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
Dap_main.c261 const char *config_fname, int debug) in hostapd_interface_init() argument
266 wpa_printf(MSG_ERROR, "Configuration file: %s", config_fname); in hostapd_interface_init()
267 iface = hostapd_init(interfaces, config_fname); in hostapd_interface_init()
287 config_fname); in hostapd_interface_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dhostapd.h45 struct hostapd_config * (*config_read_cb)(const char *config_fname);
420 char *config_fname; member
590 const char *config_fname, int debug);
Dhostapd.c209 if (iface->config_fname == NULL) { in hostapd_reload_config()
220 newconf = iface->interfaces->config_read_cb(iface->config_fname); in hostapd_reload_config()
233 fname = os_strdup(iface->config_fname); in hostapd_reload_config()
525 os_free(iface->config_fname); in hostapd_cleanup_iface()
2350 hapd_iface->config_fname = os_strdup(config_file); in hostapd_init()
2351 if (hapd_iface->config_fname == NULL) in hostapd_init()
2354 conf = interfaces->config_read_cb(hapd_iface->config_fname); in hostapd_init()
2382 os_free(hapd_iface->config_fname); in hostapd_init()
2422 const char *config_fname, int debug) in hostapd_interface_init_bss() argument
2440 config_fname, phy, iface ? "" : " --> new PHY"); in hostapd_interface_init_bss()
[all …]
Dwps_hostapd.c483 if (hapd->iface->config_fname == NULL) in hapd_wps_cred_cb()
485 len = os_strlen(hapd->iface->config_fname) + 5; in hapd_wps_cred_cb()
489 os_snprintf(tmp_fname, len, "%s-new", hapd->iface->config_fname); in hapd_wps_cred_cb()
491 oconf = fopen(hapd->iface->config_fname, "r"); in hapd_wps_cred_cb()
640 if (rename(tmp_fname, hapd->iface->config_fname) < 0) { in hapd_wps_cred_cb()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dap_main.c258 const char *config_fname, int debug) in hostapd_interface_init() argument
263 wpa_printf(MSG_DEBUG, "Configuration file: %s", config_fname); in hostapd_interface_init()
264 iface = hostapd_init(interfaces, config_fname); in hostapd_interface_init()
284 config_fname); in hostapd_interface_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dhostapd.h49 struct hostapd_config * (*config_read_cb)(const char *config_fname);
451 char *config_fname; member
622 const char *config_fname, int debug);
Dhostapd.c220 if (iface->config_fname == NULL) { in hostapd_reload_config()
231 newconf = iface->interfaces->config_read_cb(iface->config_fname); in hostapd_reload_config()
244 fname = os_strdup(iface->config_fname); in hostapd_reload_config()
544 os_free(iface->config_fname); in hostapd_cleanup_iface()
2495 hapd_iface->config_fname = os_strdup(config_file); in hostapd_init()
2496 if (hapd_iface->config_fname == NULL) in hostapd_init()
2499 conf = interfaces->config_read_cb(hapd_iface->config_fname); in hostapd_init()
2527 os_free(hapd_iface->config_fname); in hostapd_init()
2567 const char *config_fname, int debug) in hostapd_interface_init_bss() argument
2585 config_fname, phy, iface ? "" : " --> new PHY"); in hostapd_interface_init_bss()
[all …]
Dwps_hostapd.c531 if (hapd->iface->config_fname == NULL) in hapd_wps_cred_cb()
533 len = os_strlen(hapd->iface->config_fname) + 5; in hapd_wps_cred_cb()
537 os_snprintf(tmp_fname, len, "%s-new", hapd->iface->config_fname); in hapd_wps_cred_cb()
539 oconf = fopen(hapd->iface->config_fname, "r"); in hapd_wps_cred_cb()
694 if (rename(tmp_fname, hapd->iface->config_fname) < 0) { in hapd_wps_cred_cb()