Lines Matching refs:netif

122 		ret = net_if_set_name(g_mlan.netif, "ml");  in nxp_wifi_wlan_event_callback()
128 ret = net_if_set_name(g_uap.netif, "ua"); in nxp_wifi_wlan_event_callback()
145 net_if_dormant_off(g_mlan.netif); in nxp_wifi_wlan_event_callback()
151 net_if_dormant_off(g_mlan.netif); in nxp_wifi_wlan_event_callback()
194 wifi_mgmt_raise_connect_result_event(g_mlan.netif, 0); in nxp_wifi_wlan_event_callback()
197 net_if_dormant_on(g_mlan.netif); in nxp_wifi_wlan_event_callback()
201 net_if_dormant_on(g_mlan.netif); in nxp_wifi_wlan_event_callback()
212 net_if_dormant_on(g_mlan.netif); in nxp_wifi_wlan_event_callback()
221 net_if_dormant_on(g_mlan.netif); in nxp_wifi_wlan_event_callback()
225 wifi_mgmt_raise_disconnect_result_event(g_mlan.netif, 0); in nxp_wifi_wlan_event_callback()
228 net_if_dormant_on(g_mlan.netif); in nxp_wifi_wlan_event_callback()
232 net_if_dormant_on(g_mlan.netif); in nxp_wifi_wlan_event_callback()
254 net_if_ipv4_addr_add(g_uap.netif, &dhcps_addr4, NET_ADDR_MANUAL, 0); in nxp_wifi_wlan_event_callback()
255 net_if_ipv4_set_gw(g_uap.netif, &dhcps_addr4); in nxp_wifi_wlan_event_callback()
261 net_if_ipv4_set_netmask_by_addr(g_uap.netif, &dhcps_addr4, &netmask_addr); in nxp_wifi_wlan_event_callback()
262 net_if_dormant_off(g_uap.netif); in nxp_wifi_wlan_event_callback()
269 if (net_dhcpv4_server_start(g_uap.netif, &base_addr) < 0) { in nxp_wifi_wlan_event_callback()
305 wifi_mgmt_raise_ap_sta_connected_event(g_uap.netif, &ap_sta_info); in nxp_wifi_wlan_event_callback()
313 wifi_mgmt_raise_ap_sta_disconnected_event(g_uap.netif, &ap_sta_info); in nxp_wifi_wlan_event_callback()
322 net_if_dormant_on(g_uap.netif); in nxp_wifi_wlan_event_callback()
328 net_if_ipv4_addr_rm(g_uap.netif, &dhcps_addr4); in nxp_wifi_wlan_event_callback()
331 net_dhcpv4_server_stop(g_uap.netif); in nxp_wifi_wlan_event_callback()
436 net_if_dormant_on(g_mlan.netif); in nxp_wifi_wlan_start()
439 net_eth_carrier_on(g_mlan.netif); in nxp_wifi_wlan_start()
443 net_if_dormant_on(g_uap.netif); in nxp_wifi_wlan_start()
446 net_eth_carrier_on(g_uap.netif); in nxp_wifi_wlan_start()
708 g_mlan.scan_cb(g_mlan.netif, 0, &res); in nxp_wifi_process_results()
718 g_mlan.scan_cb(g_mlan.netif, 0, NULL); in nxp_wifi_process_results()
854 wifi_mgmt_raise_connect_result_event(g_mlan.netif, -1); in nxp_wifi_connect()
860 wifi_mgmt_raise_connect_result_event(g_mlan.netif, -1); in nxp_wifi_connect()
958 wifi_mgmt_raise_disconnect_result_event(g_mlan.netif, -1); in nxp_wifi_disconnect()
971 wifi_mgmt_raise_disconnect_result_event(g_mlan.netif, -1); in nxp_wifi_disconnect()
975 wifi_mgmt_raise_disconnect_result_event(g_mlan.netif, 0); in nxp_wifi_disconnect()
1204 nxp_wifi_connect(g_mlan.netif->if_dev->dev, &params); in nxp_wifi_auto_connect()
1580 intf->netif = iface; in nxp_wifi_sta_init()
1621 intf->netif = iface; in nxp_wifi_uap_init()
1751 net_if_set_link_addr(if_handle->netif, if_handle->mac_address, in nxp_wifi_set_config()