Home
last modified time | relevance | path

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

/Zephyr-latest/samples/net/wifi/apsta_mode/src/
Dmain.c31 static struct net_if *ap_iface; variable
93 net_if_ipv4_set_gw(ap_iface, &addr); in enable_dhcpv4_server()
95 if (net_if_ipv4_addr_add(ap_iface, &addr, NET_ADDR_MANUAL, 0) == NULL) { in enable_dhcpv4_server()
99 if (!net_if_ipv4_set_netmask_by_addr(ap_iface, &addr, &netmaskAddr)) { in enable_dhcpv4_server()
105 if (net_dhcpv4_server_start(ap_iface, &addr) != 0) { in enable_dhcpv4_server()
115 if (!ap_iface) { in enable_ap_mode()
137 int ret = net_mgmt(NET_REQUEST_WIFI_AP_ENABLE, ap_iface, &ap_config, in enable_ap_mode()
180 ap_iface = net_if_get_wifi_sap(); in main()
/Zephyr-latest/modules/hostap/src/
Dsupp_events.c301 return hostapd_get_he_twt_responder(wpa_s->ap_iface->bss[0], IEEE80211_MODE_AP); in is_twt_capable()