Home
last modified time | relevance | path

Searched refs:wps_ctx (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/
Desp_hostpad_wps.c64 sm->wps_ctx = os_zalloc(sizeof(struct wps_context)); /* alloc wps_ctx */ in wifi_ap_wps_init()
65 if (!sm->wps_ctx) { in wifi_ap_wps_init()
74 cfg.wps = sm->wps_ctx; in wifi_ap_wps_init()
83 hostapd_init_wps(hapd, sm->wps, sm->wps_ctx); in wifi_ap_wps_init()
99 if (sm->wps_ctx) { in wifi_ap_wps_init()
100 os_free(sm->wps_ctx); in wifi_ap_wps_init()
101 sm->wps_ctx = NULL; in wifi_ap_wps_init()
133 if (sm->wps_ctx) { in wifi_ap_wps_deinit()
134 os_free(sm->wps_ctx); in wifi_ap_wps_deinit()
135 sm->wps_ctx = NULL; in wifi_ap_wps_deinit()
Desp_wps.c1165 dev = &sm->wps_ctx->dev; in wps_dev_init()
1440 sm->wps_ctx = os_zalloc(sizeof(struct wps_context)); /* alloc wps_ctx */ in wifi_station_wps_init()
1441 if (!sm->wps_ctx) { in wifi_station_wps_init()
1449 cfg.wps = sm->wps_ctx; in wifi_station_wps_init()
1457 cfg.wps->config_methods = sm->wps_ctx->dev.config_methods; in wifi_station_wps_init()
1512 if (sm->wps_ctx) { in wifi_station_wps_init()
1513 if (sm->wps_ctx->dh_privkey) { in wifi_station_wps_init()
1514 wpabuf_free(sm->wps_ctx->dh_privkey); in wifi_station_wps_init()
1516 os_free(sm->wps_ctx); in wifi_station_wps_init()
1517 sm->wps_ctx = NULL; in wifi_station_wps_init()
[all …]
Desp_wps_i.h65 struct wps_context *wps_ctx; member