Home
last modified time | relevance | path

Searched refs:g_lwip_netif (Results 1 - 2 of 2) sorted by relevance

/vendor/hisilicon/hispark_pegasus/demo/histreaming_demo/
H A Dwifi_softap.c26 static struct netif *g_lwip_netif = NULL; variable
85 g_lwip_netif = netifapi_netif_find(ifname); in hi_wifi_start_softap()
86 if (g_lwip_netif == NULL) { in hi_wifi_start_softap()
94 netifapi_netif_set_addr(g_lwip_netif, &st_ipaddr, &st_netmask, &st_gw); in hi_wifi_start_softap()
96 netifapi_dhcps_start(g_lwip_netif, 0, 0); in hi_wifi_start_softap()
105 netifapi_dhcps_stop(g_lwip_netif); in hi_wifi_stop_softap()
106 hi_softap_reset_addr(g_lwip_netif); in hi_wifi_stop_softap()
118 g_lwip_netif = NULL; in hi_wifi_stop_softap()
H A Dwifi_sta.c26 static struct netif *g_lwip_netif = NULL; variable
58 netifapi_dhcp_start(g_lwip_netif); in wifi_wpa_event_cb()
62 netifapi_dhcp_stop(g_lwip_netif); in wifi_wpa_event_cb()
63 hi_sta_reset_addr(g_lwip_netif); in wifi_wpa_event_cb()
133 g_lwip_netif = netifapi_netif_find(ifname); in hi_wifi_start_sta()
134 if (g_lwip_netif == NULL) { in hi_wifi_start_sta()
186 g_lwip_netif = NULL; in hi_wifi_stop_sta()

Completed in 2 milliseconds