Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
wifi_nm.h File Reference

Wi-Fi Network manager API. More...

Go to the source code of this file.

Data Structures

struct  wifi_nm_mgd_iface
 WiFi Network Managed interfaces. More...
 
struct  wifi_nm_instance
 WiFi Network manager instance. More...
 

Enumerations

enum  wifi_nm_iface_type { WIFI_TYPE_STA = 0 , WIFI_TYPE_SAP }
 Types of Wi-Fi interface. More...
 

Functions

struct wifi_nm_instancewifi_nm_get_instance (const char *name)
 Get a Network manager instance for a given name.
 
struct wifi_nm_instancewifi_nm_get_instance_iface (struct net_if *iface)
 Get a Network manager instance for a given interface.
 
unsigned char wifi_nm_get_type_iface (struct net_if *iface)
 Get a Wi-Fi type for a given interface.
 
bool wifi_nm_iface_is_sta (struct net_if *iface)
 Check if the interface is a Wi-Fi station interface.
 
bool wifi_nm_iface_is_sap (struct net_if *iface)
 Check if the interface is a Wi-Fi Soft AP interface.
 
int wifi_nm_register_mgd_iface (struct wifi_nm_instance *nm, struct net_if *iface)
 Register a managed interface.
 
int wifi_nm_register_mgd_type_iface (struct wifi_nm_instance *nm, enum wifi_nm_iface_type type, struct net_if *iface)
 Register a managed interface.
 
int wifi_nm_unregister_mgd_iface (struct wifi_nm_instance *nm, struct net_if *iface)
 Unregister managed interface.
 

Detailed Description

Wi-Fi Network manager API.

This file contains the Wi-Fi network manager API. These APIs are used by the any network management application to register as a Wi-Fi network manager.