Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
net_wifi_mgmt_offload Struct Reference

#include <wifi_mgmt.h>

Data Fields

struct net_if_api iface_api
 
int(* scan )(const struct device *dev, scan_result_cb_t cb)
 
int(* connect )(const struct device *dev, struct wifi_connect_req_params *params)
 
int(* disconnect )(const struct device *dev)
 
int(* ap_enable )(const struct device *dev, struct wifi_connect_req_params *params)
 
int(* ap_disable )(const struct device *dev)
 

Field Documentation

◆ ap_disable

int(* net_wifi_mgmt_offload::ap_disable) (const struct device *dev)

◆ ap_enable

int(* net_wifi_mgmt_offload::ap_enable) (const struct device *dev, struct wifi_connect_req_params *params)

◆ connect

int(* net_wifi_mgmt_offload::connect) (const struct device *dev, struct wifi_connect_req_params *params)

◆ disconnect

int(* net_wifi_mgmt_offload::disconnect) (const struct device *dev)

◆ iface_api

struct net_if_api net_wifi_mgmt_offload::iface_api

Mandatory to get in first position. A network device should indeed provide a pointer on such net_if_api structure. So we make current structure pointer that can be casted to a net_if_api structure pointer.

◆ scan

int(* net_wifi_mgmt_offload::scan) (const struct device *dev, scan_result_cb_t cb)

The documentation for this struct was generated from the following file: