| 
    Zephyr Project API
    3.4.0
    
   A Scalable Open Source RTOS 
   | 
 
#include <wifi_mgmt.h>
Data Fields | |
| struct offloaded_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) | 
| int(* | set_power_save )(const struct device *dev, struct wifi_ps_params *params) | 
| int(* | set_twt )(const struct device *dev, struct wifi_twt_params *params) | 
| int(* | get_power_save_config )(const struct device *dev, struct wifi_ps_config *config) | 
| int(* | reg_domain )(const struct device *dev, struct wifi_reg_domain *reg_domain) | 
| 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) | 
| int(* net_wifi_mgmt_offload::get_power_save_config) (const struct device *dev, struct wifi_ps_config *config) | 
| int(* net_wifi_mgmt_offload::iface_status) (const struct device *dev, struct wifi_iface_status *status) | 
| int(* net_wifi_mgmt_offload::reg_domain) (const struct device *dev, struct wifi_reg_domain *reg_domain) | 
| int(* net_wifi_mgmt_offload::scan) (const struct device *dev, scan_result_cb_t cb) | 
| int(* net_wifi_mgmt_offload::set_power_save) (const struct device *dev, struct wifi_ps_params *params) | 
| int(* net_wifi_mgmt_offload::set_twt) (const struct device *dev, struct wifi_twt_params *params) | 
| struct offloaded_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.