Home
last modified time | relevance | path

Searched refs:ap_config (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/samples/net/wifi/apsta_mode/src/
Dmain.c34 static struct wifi_connect_req_params ap_config; variable
121 ap_config.ssid = (const uint8_t *)WIFI_AP_SSID; in enable_ap_mode()
122 ap_config.ssid_length = strlen(WIFI_AP_SSID); in enable_ap_mode()
123 ap_config.psk = (const uint8_t *)WIFI_AP_PSK; in enable_ap_mode()
124 ap_config.psk_length = strlen(WIFI_AP_PSK); in enable_ap_mode()
125 ap_config.channel = WIFI_CHANNEL_ANY; in enable_ap_mode()
126 ap_config.band = WIFI_FREQ_BAND_2_4_GHZ; in enable_ap_mode()
129 ap_config.security = WIFI_SECURITY_TYPE_NONE; in enable_ap_mode()
132 ap_config.security = WIFI_SECURITY_TYPE_PSK; in enable_ap_mode()
137 int ret = net_mgmt(NET_REQUEST_WIFI_AP_ENABLE, ap_iface, &ap_config, in enable_ap_mode()
/Zephyr-latest/modules/hostap/
DCMakeLists.txt175 ${HOSTAP_SRC_BASE}/ap/ap_config.c