Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
#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) |
int(* net_wifi_mgmt_offload::ap_disable) (const struct device *dev) |
int(* net_wifi_mgmt_offload::ap_enable) (const struct device *dev, struct wifi_connect_req_params *params) |
int(* net_wifi_mgmt_offload::connect) (const struct device *dev, struct wifi_connect_req_params *params) |
int(* net_wifi_mgmt_offload::disconnect) (const struct device *dev) |
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.
int(* net_wifi_mgmt_offload::scan) (const struct device *dev, scan_result_cb_t cb) |