Defines common constants used with WHD within src folder. More...
#include <stdint.h>
#include <stddef.h>
#include <inttypes.h>
Go to the source code of this file.
Data Structures | |
struct | whd_buffer_header_t |
Macros | |
#define | WHD_ETHERNET_SIZE (14) |
The size of an Ethernet header. More... | |
#define | WHD_ETHERTYPE_IPv4 0x0800 |
Ethernet Ethertypes. More... | |
#define | NULL_MAC(a) |
Macro for checking for NULL MAC addresses. More... | |
#define | BROADCAST_ID(a) |
Macro for checking for Broadcast address. More... | |
Functions | |
uint32_t | whd_wifi_set_iovar_buffers (whd_interface_t ifp, const char *iovar, const void **in_buffers, const uint16_t *in_buffer_lengths, const uint8_t num_buffers) |
Sends an IOVAR command. More... | |
uint32_t | whd_wifi_set_iovar_void (whd_interface_t ifp, const char *iovar) |
Sends an IOVAR command. More... | |
uint32_t | whd_wifi_set_iovar_buffer (whd_interface_t ifp, const char *iovar, void *buffer, uint16_t buffer_length) |
Sends an IOVAR command. More... | |
uint32_t | whd_wifi_get_iovar_buffer (whd_interface_t ifp, const char *iovar_name, uint8_t *out_buffer, uint16_t out_length) |
Sends an IOVAR command. More... | |
Defines common constants used with WHD within src folder.
Definition in file whd_types_int.h.
#define BROADCAST_ID | ( | a | ) |
Macro for checking for Broadcast address.
Definition at line 150 of file whd_types_int.h.
#define NULL_MAC | ( | a | ) |
Macro for checking for NULL MAC addresses.
Definition at line 140 of file whd_types_int.h.
#define WHD_ETHERNET_SIZE (14) |
The size of an Ethernet header.
Definition at line 43 of file whd_types_int.h.
#define WHD_ETHERTYPE_IPv4 0x0800 |
Ethernet Ethertypes.
Definition at line 48 of file whd_types_int.h.
uint32_t whd_wifi_get_iovar_buffer | ( | whd_interface_t | ifp, |
const char * | iovar_name, | ||
uint8_t * | out_buffer, | ||
uint16_t | out_length | ||
) |
Sends an IOVAR command.
ifp | : Pointer to handle instance of whd interface |
iovar | : IOVAR name |
out_buffer | : Pointer to receive the handle for the packet buffer containing the response data value received |
out_length | : Length of out_buffer |
uint32_t whd_wifi_set_iovar_buffer | ( | whd_interface_t | ifp, |
const char * | iovar, | ||
void * | buffer, | ||
uint16_t | buffer_length | ||
) |
Sends an IOVAR command.
ifp | : Pointer to handle instance of whd interface |
iovar | : IOVAR name |
buffer | : Handle for a packet buffer containing the data value to be sent. |
buffer_length | : Length of out_buffer |
uint32_t whd_wifi_set_iovar_buffers | ( | whd_interface_t | ifp, |
const char * | iovar, | ||
const void ** | in_buffers, | ||
const uint16_t * | in_buffer_lengths, | ||
const uint8_t | num_buffers | ||
) |
Sends an IOVAR command.
ifp | : Pointer to handle instance of whd interface |
iovar | : IOVAR name |
in_buffers | : Handle for a packet buffers containing the data value to be sent. |
in_buffer_lengths | : Length of in_buffers |
num_buffers | : Number of handle buffers |
uint32_t whd_wifi_set_iovar_void | ( | whd_interface_t | ifp, |
const char * | iovar | ||
) |
Sends an IOVAR command.
ifp | : Pointer to handle instance of whd interface |
iovar | : IOVAR name |