|
| LOG_MODULE_DECLARE (csk_wifi, CONFIG_WIFI_LOG_LEVEL) |
|
| K_MSGQ_DEFINE (wifi_result_msgq, sizeof(wifi_ret_msg_t), 1, 4) |
|
| K_MSGQ_DEFINE (wifi_interactive_msgq, sizeof(csk_wifi_ctrl_msg_t), 4, 4) |
|
static void | wifi_control_thread (void *, void *, void *) |
|
| K_SEM_DEFINE (init_sem, 0, 1) |
|
| K_THREAD_DEFINE (wifi_ctrl_thread_id, CONFIG_WIFI_CTRL_STACK_SIZE, wifi_control_thread, NULL, NULL, NULL, CONFIG_WIFI_CTRL_PRIORITY, 0, 0) |
|
static void | wifi_virtual_netif_init (const struct device *dev) |
|
static void | csk_wifi_receive_pkt (struct network_handle *virtual_netif, void *arg) |
|
wifi_sta_state_machine_t | wifi_obj_get_sm (void) |
|
static void | wifi_obj_set_sm (wifi_sta_state_machine_t sm) |
|
static int | wifi_give_result (wifi_ret_msg_t *ret_msg) |
|
int | wifi_take_result (wifi_ret_msg_t *ret_msg, k_timeout_t timeout) |
|
int | wifi_send_command (const struct device *dev, wifi_cmd_t command, k_timeout_t timeouts) |
|
static wifi_auth_mode_t | wifi_get_drv_encryption_mode (csk_wifi_encryption_mode_t mode) |
|
static csk_wifi_encryption_mode_t | wifi_get_csk_encryption_mode (wifi_auth_mode_t mode) |
|
static wifi_mode_t | wifi_get_drv_wifi_mode (csk_wifi_mode_t mode) |
|
static int | wifi_send_event (const struct device *dev, csk_wifi_event_t event, void *event_data, uint32_t data_len, k_timeout_t timeouts) |
|
static int | wifi_get_message (csk_wifi_ctrl_msg_t *msg, k_timeout_t timeouts) |
|
const struct device * | wifi_obj_get_dev (csk_wifi_mode_t mode) |
|
static int | convert_str_to_bytes (uint8_t *out, const char *s) |
|
static void | hosted_event_handler (hosted_event_t events, void *arg) |
|
static int | wifi_driver_init (void) |
|
static csk_wifi_result_t | wifi_sta_connect (const struct device *dev) |
|
static csk_wifi_result_t | wifi_sta_get_connected_info (const struct device *dev) |
|
static csk_wifi_result_t | wifi_sta_disconnect (const struct device *dev) |
|
static csk_wifi_result_t | wifi_sotfap_start (const struct device *dev) |
|
static csk_wifi_result_t | wifi_sotfap_stop (const struct device *dev) |
|
static csk_wifi_result_t | wifi_scan_list (int *ap_count, esp_hosted_wifi_scanlist_t **ap_list) |
|
static void | wifi_command_handler (const struct device *dev, wifi_cmd_t command) |
|
static void | wifi_event_handler (const struct device *dev, csk_wifi_event_t event) |
|
static void | csk_wifi_netif_init (struct net_if *netif) |
|
static int | csk_wifi_send_pkt (const struct device *dev, struct net_pkt *pkt) |
|
static int | csk_eth_dev_init (const struct device *dev) |
|