Lines Matching refs:net_iface

412 		dev->scan_cb(dev->net_iface, 0, &res);  in MODEM_CMD_DIRECT_DEFINE()
572 wifi_mgmt_raise_connect_result_event(dev->net_iface, 0); in MODEM_CMD_DEFINE()
573 net_if_dormant_off(dev->net_iface); in MODEM_CMD_DEFINE()
598 net_if_ipv4_addr_rm(dev->net_iface, &dev->ip); in esp_mgmt_disconnect_work()
601 net_if_dormant_on(dev->net_iface); in esp_mgmt_disconnect_work()
603 wifi_mgmt_raise_disconnect_result_event(dev->net_iface, 0); in esp_mgmt_disconnect_work()
670 net_if_ipv4_addr_add(dev->net_iface, &dev->ip, NET_ADDR_MANUAL, 0); in esp_ip_addr_work()
672 net_if_ipv4_addr_add(dev->net_iface, &dev->ip, NET_ADDR_DHCP, 0); in esp_ip_addr_work()
674 net_if_ipv4_set_gw(dev->net_iface, &dev->gw); in esp_ip_addr_work()
675 net_if_ipv4_set_netmask_by_addr(dev->net_iface, &dev->ip, &dev->nm); in esp_ip_addr_work()
936 if (net_if_is_carrier_ok(dev->net_iface)) { in MODEM_CMD_DEFINE()
937 net_if_dormant_on(dev->net_iface); in MODEM_CMD_DEFINE()
938 net_if_carrier_off(dev->net_iface); in MODEM_CMD_DEFINE()
943 wifi_mgmt_raise_connect_result_event(dev->net_iface, -1); in MODEM_CMD_DEFINE()
945 wifi_mgmt_raise_disconnect_result_event(dev->net_iface, 0); in MODEM_CMD_DEFINE()
952 net_if_ipv4_addr_rm(dev->net_iface, &dev->ip); in MODEM_CMD_DEFINE()
1050 if (!net_if_is_carrier_ok(data->net_iface)) { in esp_mgmt_iface_status()
1091 dev->scan_cb(dev->net_iface, 0, NULL); in esp_mgmt_scan_work()
1107 if (!net_if_is_carrier_ok(data->net_iface)) { in esp_mgmt_scan()
1150 net_if_dormant_on(dev->net_iface); in esp_mgmt_connect_work()
1153 wifi_mgmt_raise_disconnect_result_event(dev->net_iface, in esp_mgmt_connect_work()
1156 wifi_mgmt_raise_connect_result_event(dev->net_iface, in esp_mgmt_connect_work()
1161 wifi_mgmt_raise_connect_result_event(dev->net_iface, 0); in esp_mgmt_connect_work()
1162 net_if_dormant_off(dev->net_iface); in esp_mgmt_connect_work()
1237 if (!net_if_is_carrier_ok(data->net_iface) || in esp_mgmt_connect()
1238 !net_if_is_admin_up(data->net_iface)) { in esp_mgmt_connect()
1324 net_if_dormant_off(data->net_iface); in esp_mgmt_ap_enable()
1334 net_if_dormant_on(data->net_iface); in esp_mgmt_ap_disable()
1434 net_if_set_link_addr(dev->net_iface, dev->mac_addr, in esp_init_work()
1451 net_if_carrier_on(dev->net_iface); in esp_init_work()
1461 if (net_if_is_carrier_ok(data->net_iface)) { in esp_reset()
1462 net_if_carrier_off(data->net_iface); in esp_reset()
1650 data->net_iface = NET_IF_GET(Z_DEVICE_DT_DEV_ID(DT_DRV_INST(0)), 0); in esp_init()