|
Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
#include <stdio.h>#include <assert.h>#include <stdlib.h>#include <kernel.h>#include <net/ethernet.h>#include <net/net_pkt.h>#include <net/net_if.h>#include "csk6/csk_wifi.h"Go to the source code of this file.
Data Structures | |
| struct | csk_wifi_data |
| struct | wifi_req_t |
| struct | wifi_ret_msg_t |
| struct | wifi_scan_list_t |
Macros | |
| #define | CSK_WIFI_CHECK(cond, ret_val) |
| #define | CSK_WIFI_CHECK_RETURN(cond, ret_val, format, ...) |
| #define | CSK_WIFI_CHECK_GOTO(cond, label, format, ...) |
| #define | FOREACH_WIFI_STA_SM(WIFI_SM) |
| #define | FOREACH_WLAN_EVENT(WLAN_EVENT) |
| #define | GENERATE_ENUM(ENUM) ENUM, |
| #define | GENERATE_STRING(STRING) #STRING, |
| #define | WIFI_STA_SM_PRIMARY_GET(a) ((uint16_t)((a))) |
| #define | WIFI_STA_SM_PRIMARY_SET(a, b) |
Typedefs | |
| typedef uint32_t | wifi_fsm_t |
Functions | |
| const struct device * | wifi_obj_get_dev (csk_wifi_mode_t mode) |
| int | wifi_send_command (const struct device *dev, wifi_cmd_t command, k_timeout_t timeouts) |
| int | wifi_take_result (wifi_ret_msg_t *ret_msg, k_timeout_t timeout) |
| void | wifi_dispatch_callbacks (csk_wifi_event_t events, void *event_data, uint32_t event_data_len) |
Variables | |
| const char * | WIFI_STA_SM_STRINGS [] |
| #define CSK_WIFI_CHECK | ( | cond, | |
| ret_val | |||
| ) |
| #define CSK_WIFI_CHECK_GOTO | ( | cond, | |
| label, | |||
| format, | |||
| ... | |||
| ) |
| #define CSK_WIFI_CHECK_RETURN | ( | cond, | |
| ret_val, | |||
| format, | |||
| ... | |||
| ) |
| #define FOREACH_WIFI_STA_SM | ( | WIFI_SM | ) |
| #define FOREACH_WLAN_EVENT | ( | WLAN_EVENT | ) |
| #define GENERATE_ENUM | ( | ENUM | ) | ENUM, |
| #define GENERATE_STRING | ( | STRING | ) | #STRING, |
| #define WIFI_STA_SM_PRIMARY_GET | ( | a | ) | ((uint16_t)((a))) |
| #define WIFI_STA_SM_PRIMARY_SET | ( | a, | |
| b | |||
| ) |
| typedef uint32_t wifi_fsm_t |
| enum csk_wifi_mode_t |
| enum wifi_cmd_t |
| void wifi_dispatch_callbacks | ( | csk_wifi_event_t | events, |
| void * | event_data, | ||
| uint32_t | event_data_len | ||
| ) |
| const struct device * wifi_obj_get_dev | ( | csk_wifi_mode_t | mode | ) |
| int wifi_send_command | ( | const struct device * | dev, |
| wifi_cmd_t | command, | ||
| k_timeout_t | timeouts | ||
| ) |
| int wifi_take_result | ( | wifi_ret_msg_t * | ret_msg, |
| k_timeout_t | timeout | ||
| ) |
|
extern |