Zephyr Project API  3.2.0
A Scalable Open Source RTOS
net_wifi_mgmt_offload Struct Reference

#include <wifi_mgmt.h>

Data Fields

struct net_if_api wifi_iface
 
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)
 
int(* iface_status )(const struct device *dev, struct wifi_iface_status *status)
 

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_status

int(* net_wifi_mgmt_offload::iface_status) (const struct device *dev, struct wifi_iface_status *status)

◆ scan

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

◆ wifi_iface

struct net_if_api net_wifi_mgmt_offload::wifi_iface

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.


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