Defines common data types used with WHD. More...
#include <stdint.h>
#include "cy_result.h"
#include "cyhal_hw_types.h"
Go to the source code of this file.
Data Structures | |
struct | whd_band_list_t |
Structure for storing radio band list information. More... | |
struct | whd_mac_t |
Structure for storing a MAC address (Wi-Fi Media Access Control address). More... | |
struct | whd_ssid_t |
Structure for storing a Service Set Identifier (i.e. More... | |
struct | whd_scan_extended_params_t |
Structure for storing extended scan parameters. More... | |
struct | whd_scan_result |
Structure for storing scan results. More... | |
struct | whd_simple_scan_result |
Structure to store scan result parameters for each AP. More... | |
struct | wl_bss_info_struct |
BSS(Basic Service Set) information structure. More... | |
struct | whd_listen_interval_t |
Structure for storing 802.11 powersave listen interval values See whd_wifi_get_listen_interval for more information. More... | |
struct | whd_ap_info |
Structure for storing AP information. More... | |
struct | whd_maclist_t |
Structure describing a list of associated softAP clients. More... | |
struct | whd_wep_key_t |
Structure for storing a WEP key. More... | |
struct | whd_oob_config |
Structure for Out-of-band interrupt config parameters which can be set by application during whd power up. More... | |
struct | whd_sdio_config |
Structure for SDIO config parameters which can be set by application during whd power up. More... | |
struct | whd_spi_config |
Structure for SPI config parameters which can be set by application during whd power up. More... | |
struct | whd_btc_lescan_params |
Structure for LE Scan parameters. More... | |
struct | whd_coex_config |
Structure for coex config parameters which can be set by application. More... | |
struct | whd_packet_filter_t |
Structure describing a packet filter list item. More... | |
Macros | |
#define | SSID_NAME_SIZE (32) |
SSID Length. More... | |
#define | WEP_ENABLED 0x0001 |
Flag to enable WEP Security. More... | |
#define | TKIP_ENABLED 0x0002 |
Flag to enable TKIP Encryption. More... | |
#define | AES_ENABLED 0x0004 |
Flag to enable AES Encryption. More... | |
#define | SHARED_ENABLED 0x00008000 |
Flag to enable Shared key Security. More... | |
#define | WPA_SECURITY 0x00200000 |
Flag to enable WPA Security. More... | |
#define | WPA2_SECURITY 0x00400000 |
Flag to enable WPA2 Security. More... | |
#define | WPA3_SECURITY 0x01000000 |
Flag to enable WPA3 PSK Security. More... | |
#define | SECURITY_MASK (WEP_ENABLED | TKIP_ENABLED | AES_ENABLED) |
Flag to Security mask. More... | |
#define | ENTERPRISE_ENABLED 0x02000000 |
Flag to enable Enterprise Security. More... | |
#define | WPS_ENABLED 0x10000000 |
Flag to enable WPS Security. More... | |
#define | IBSS_ENABLED 0x20000000 |
Flag to enable IBSS mode. More... | |
#define | FBT_ENABLED 0x40000000 |
Flag to enable FBT. More... | |
#define | PM1_POWERSAVE_MODE (1) |
Powersave mode on specified interface without regard for throughput reduction. More... | |
#define | PM2_POWERSAVE_MODE (2) |
Powersave mode on specified interface with High throughput. More... | |
#define | NO_POWERSAVE_MODE (0) |
No Powersave mode. More... | |
#define | UNUSED_PARAMETER(x) ( (void)(x) ) |
Suppress unused parameter warning. More... | |
#define | UNUSED_VARIABLE(x) ( (void)(x) ) |
Suppress unused variable warning. More... | |
#define | REFERENCE_DEBUG_ONLY_VARIABLE(x) ( (void)(x) ) |
Suppress unused variable warning occurring due to an assert which is disabled in release mode. More... | |
#define | WIFI_IE_OUI_LENGTH (3) |
OUI length for Information Element. More... | |
#define | BDC_HEADER_WITH_PAD 6 |
BDC Header with padding 4 + 2. More... | |
#define | BDC_HEADER_OFFSET_TO_DATA 4 |
From bdc header, Ethernet data starts after an offset of (bdc_header->data_offset<<2). More... | |
#define | SDPCM_HEADER (8 + 4) |
SDPCM SW header + Frame tag. More... | |
#define | MAX_BUS_HEADER_SIZE 4 |
Max bus header size for all bus types (sdio/spi) More... | |
#define | BUFFER_OVERHEAD 4 |
Buffer overhead, sizeof(void *) More... | |
#define | WHD_LINK_HEADER |
The maximum space in bytes required for headers in front of the Ethernet header. More... | |
#define | WHD_ETHERNET_SIZE (14) |
The size of an Ethernet header. More... | |
#define | WHD_PHYSICAL_HEADER (WHD_LINK_HEADER + WHD_ETHERNET_SIZE) |
The size in bytes of the Link layer header i.e. More... | |
#define | WHD_PAYLOAD_MTU (1500) |
The maximum size in bytes of the data part of an Ethernet frame. More... | |
#define | WHD_LINK_MTU (WHD_PAYLOAD_MTU + WHD_PHYSICAL_HEADER) |
The maximum size in bytes of a packet used within whd. More... | |
#define | MK_CNTRY(a, b, rev) |
Macro for creating country codes according to endianness. More... | |
#define | MCSSET_LEN 16 |
Maximum allowed mcs rate. More... | |
#define | WHD_RESULT_TYPE 0 |
WHD Result type. More... | |
#define | WHD_RESULT_CREATE(x) CY_RSLT_CREATE(WHD_RESULT_TYPE, CY_RSLT_MODULE_DRIVERS_WHD_BASE, (x) ) |
Create a result value from the specified type, module, and result code. More... | |
#define | WHD_SUCCESS CY_RSLT_SUCCESS |
Success. More... | |
#define | WHD_PENDING WHD_RESULT_CREATE(1) |
Pending. More... | |
#define | WHD_TIMEOUT WHD_RESULT_CREATE(2) |
Timeout. More... | |
#define | WHD_BADARG WHD_RESULT_CREATE(5) |
Bad Arguments. More... | |
#define | WHD_UNFINISHED WHD_RESULT_CREATE(10) |
Operation not finished yet WHD_RESULT_CREATE(maybe aborted) More... | |
#define | WHD_PARTIAL_RESULTS WHD_RESULT_CREATE(1003) |
Partial results. More... | |
#define | WHD_INVALID_KEY WHD_RESULT_CREATE(1004) |
Invalid key. More... | |
#define | WHD_DOES_NOT_EXIST WHD_RESULT_CREATE(1005) |
Does not exist. More... | |
#define | WHD_NOT_AUTHENTICATED WHD_RESULT_CREATE(1006) |
Not authenticated. More... | |
#define | WHD_NOT_KEYED WHD_RESULT_CREATE(1007) |
Not keyed. More... | |
#define | WHD_IOCTL_FAIL WHD_RESULT_CREATE(1008) |
IOCTL fail. More... | |
#define | WHD_BUFFER_UNAVAILABLE_TEMPORARY WHD_RESULT_CREATE(1009) |
Buffer unavailable temporarily. More... | |
#define | WHD_BUFFER_UNAVAILABLE_PERMANENT WHD_RESULT_CREATE(1010) |
Buffer unavailable permanently. More... | |
#define | WHD_CONNECTION_LOST WHD_RESULT_CREATE(1012) |
Connection lost. More... | |
#define | WHD_OUT_OF_EVENT_HANDLER_SPACE WHD_RESULT_CREATE(1013) |
Cannot add extra event handler. More... | |
#define | WHD_SEMAPHORE_ERROR WHD_RESULT_CREATE(1014) |
Error manipulating a semaphore. More... | |
#define | WHD_FLOW_CONTROLLED WHD_RESULT_CREATE(1015) |
Packet retrieval cancelled due to flow control. More... | |
#define | WHD_NO_CREDITS WHD_RESULT_CREATE(1016) |
Packet retrieval cancelled due to lack of bus credits. More... | |
#define | WHD_NO_PACKET_TO_SEND WHD_RESULT_CREATE(1017) |
Packet retrieval cancelled due to no pending packets. More... | |
#define | WHD_CORE_CLOCK_NOT_ENABLED WHD_RESULT_CREATE(1018) |
Core disabled due to no clock. More... | |
#define | WHD_CORE_IN_RESET WHD_RESULT_CREATE(1019) |
Core disabled - in reset. More... | |
#define | WHD_UNSUPPORTED WHD_RESULT_CREATE(1020) |
Unsupported function. More... | |
#define | WHD_BUS_WRITE_REGISTER_ERROR WHD_RESULT_CREATE(1021) |
Error writing to WLAN register. More... | |
#define | WHD_SDIO_BUS_UP_FAIL WHD_RESULT_CREATE(1022) |
SDIO bus failed to come up. More... | |
#define | WHD_JOIN_IN_PROGRESS WHD_RESULT_CREATE(1023) |
Join not finished yet. More... | |
#define | WHD_NETWORK_NOT_FOUND WHD_RESULT_CREATE(1024) |
Specified network was not found. More... | |
#define | WHD_INVALID_JOIN_STATUS WHD_RESULT_CREATE(1025) |
Join status error. More... | |
#define | WHD_UNKNOWN_INTERFACE WHD_RESULT_CREATE(1026) |
Unknown interface specified. More... | |
#define | WHD_SDIO_RX_FAIL WHD_RESULT_CREATE(1027) |
Error during SDIO receive. More... | |
#define | WHD_HWTAG_MISMATCH WHD_RESULT_CREATE(1028) |
Hardware tag header corrupt. More... | |
#define | WHD_RX_BUFFER_ALLOC_FAIL WHD_RESULT_CREATE(1029) |
Failed to allocate a buffer to receive into. More... | |
#define | WHD_BUS_READ_REGISTER_ERROR WHD_RESULT_CREATE(1030) |
Error reading a bus hardware register. More... | |
#define | WHD_THREAD_CREATE_FAILED WHD_RESULT_CREATE(1031) |
Failed to create a new thread. More... | |
#define | WHD_QUEUE_ERROR WHD_RESULT_CREATE(1032) |
Error manipulating a queue. More... | |
#define | WHD_BUFFER_POINTER_MOVE_ERROR WHD_RESULT_CREATE(1033) |
Error moving the current pointer of a packet buffer. More... | |
#define | WHD_BUFFER_SIZE_SET_ERROR WHD_RESULT_CREATE(1034) |
Error setting size of packet buffer. More... | |
#define | WHD_THREAD_STACK_NULL WHD_RESULT_CREATE(1035) |
Null stack pointer passed when non null was reqired. More... | |
#define | WHD_THREAD_DELETE_FAIL WHD_RESULT_CREATE(1036) |
Error deleting a thread. More... | |
#define | WHD_SLEEP_ERROR WHD_RESULT_CREATE(1037) |
Error sleeping a thread. More... | |
#define | WHD_BUFFER_ALLOC_FAIL WHD_RESULT_CREATE(1038) |
Failed to allocate a packet buffer. More... | |
#define | WHD_NO_PACKET_TO_RECEIVE WHD_RESULT_CREATE(1039) |
No Packets waiting to be received. More... | |
#define | WHD_INTERFACE_NOT_UP WHD_RESULT_CREATE(1040) |
Requested interface is not active. More... | |
#define | WHD_DELAY_TOO_LONG WHD_RESULT_CREATE(1041) |
Requested delay is too long. More... | |
#define | WHD_INVALID_DUTY_CYCLE WHD_RESULT_CREATE(1042) |
Duty cycle is outside limit 0 to 100. More... | |
#define | WHD_PMK_WRONG_LENGTH WHD_RESULT_CREATE(1043) |
Returned pmk was the wrong length. More... | |
#define | WHD_UNKNOWN_SECURITY_TYPE WHD_RESULT_CREATE(1044) |
AP security type was unknown. More... | |
#define | WHD_WEP_NOT_ALLOWED WHD_RESULT_CREATE(1045) |
AP not allowed to use WEP - it is not secure - use Open instead. More... | |
#define | WHD_WPA_KEYLEN_BAD WHD_RESULT_CREATE(1046) |
WPA / WPA2 key length must be between 8 & 64 bytes. More... | |
#define | WHD_FILTER_NOT_FOUND WHD_RESULT_CREATE(1047) |
Specified filter id not found. More... | |
#define | WHD_SPI_ID_READ_FAIL WHD_RESULT_CREATE(1048) |
Failed to read 0xfeedbead SPI id from chip. More... | |
#define | WHD_SPI_SIZE_MISMATCH WHD_RESULT_CREATE(1049) |
Mismatch in sizes between SPI header and SDPCM header. More... | |
#define | WHD_ADDRESS_ALREADY_REGISTERED WHD_RESULT_CREATE(1050) |
Attempt to register a multicast address twice. More... | |
#define | WHD_SDIO_RETRIES_EXCEEDED WHD_RESULT_CREATE(1051) |
SDIO transfer failed too many times. More... | |
#define | WHD_NULL_PTR_ARG WHD_RESULT_CREATE(1052) |
Null Pointer argument passed to function. More... | |
#define | WHD_THREAD_FINISH_FAIL WHD_RESULT_CREATE(1053) |
Error deleting a thread. More... | |
#define | WHD_WAIT_ABORTED WHD_RESULT_CREATE(1054) |
Semaphore/mutex wait has been aborted. More... | |
#define | WHD_SET_BLOCK_ACK_WINDOW_FAIL WHD_RESULT_CREATE(1055) |
Failed to set block ack window. More... | |
#define | WHD_DELAY_TOO_SHORT WHD_RESULT_CREATE(1056) |
Requested delay is too short. More... | |
#define | WHD_INVALID_INTERFACE WHD_RESULT_CREATE(1057) |
Invalid interface provided. More... | |
#define | WHD_WEP_KEYLEN_BAD WHD_RESULT_CREATE(1058) |
WEP / WEP_SHARED key length must be 5 or 13 bytes. More... | |
#define | WHD_HANDLER_ALREADY_REGISTERED WHD_RESULT_CREATE(1059) |
EAPOL handler already registered. More... | |
#define | WHD_AP_ALREADY_UP WHD_RESULT_CREATE(1060) |
Soft AP or P2P group owner already up. More... | |
#define | WHD_EAPOL_KEY_PACKET_M1_TIMEOUT WHD_RESULT_CREATE(1061) |
Timeout occurred while waiting for EAPOL packet M1 from AP. More... | |
#define | WHD_EAPOL_KEY_PACKET_M3_TIMEOUT WHD_RESULT_CREATE(1062) |
Timeout occurred while waiting for EAPOL packet M3 from APwhich may indicate incorrect WPA2/WPA passphrase. More... | |
#define | WHD_EAPOL_KEY_PACKET_G1_TIMEOUT WHD_RESULT_CREATE(1063) |
Timeout occurred while waiting for EAPOL packet G1 from AP. More... | |
#define | WHD_EAPOL_KEY_FAILURE WHD_RESULT_CREATE(1064) |
Unknown failure occurred during the EAPOL key handshake. More... | |
#define | WHD_MALLOC_FAILURE WHD_RESULT_CREATE(1065) |
Memory allocation failure. More... | |
#define | WHD_ACCESS_POINT_NOT_FOUND WHD_RESULT_CREATE(1066) |
Access point not found. More... | |
#define | WHD_RTOS_ERROR WHD_RESULT_CREATE(1067) |
RTOS operation failed. More... | |
#define | WHD_CLM_BLOB_DLOAD_ERROR WHD_RESULT_CREATE(1068) |
CLM blob download failed. More... | |
#define | WHD_HAL_ERROR WHD_RESULT_CREATE(1069) |
WHD HAL Error. More... | |
#define | WHD_RTOS_STATIC_MEM_LIMIT WHD_RESULT_CREATE(1070) |
Exceeding the RTOS static objects memory. More... | |
#define | WLAN_ENUM_OFFSET 2000 |
WLAN enum offset for WHD_WLAN error processing. More... | |
#define | WHD_WLAN_ERROR WHD_RESULT_CREATE(2001) |
Generic Error. More... | |
#define | WHD_WLAN_BADARG WHD_RESULT_CREATE(2002) |
Bad Argument. More... | |
#define | WHD_WLAN_BADOPTION WHD_RESULT_CREATE(2003) |
Bad option. More... | |
#define | WHD_WLAN_NOTUP WHD_RESULT_CREATE(2004) |
Not up. More... | |
#define | WHD_WLAN_NOTDOWN WHD_RESULT_CREATE(2005) |
Not down. More... | |
#define | WHD_WLAN_NOTAP WHD_RESULT_CREATE(2006) |
Not AP. More... | |
#define | WHD_WLAN_NOTSTA WHD_RESULT_CREATE(2007) |
Not STA. More... | |
#define | WHD_WLAN_BADKEYIDX WHD_RESULT_CREATE(2008) |
BAD Key Index. More... | |
#define | WHD_WLAN_RADIOOFF WHD_RESULT_CREATE(2009) |
Radio Off. More... | |
#define | WHD_WLAN_NOTBANDLOCKED WHD_RESULT_CREATE(2010) |
Not band locked. More... | |
#define | WHD_WLAN_NOCLK WHD_RESULT_CREATE(2011) |
No Clock. More... | |
#define | WHD_WLAN_BADRATESET WHD_RESULT_CREATE(2012) |
BAD Rate valueset. More... | |
#define | WHD_WLAN_BADBAND WHD_RESULT_CREATE(2013) |
BAD Band. More... | |
#define | WHD_WLAN_BUFTOOSHORT WHD_RESULT_CREATE(2014) |
Buffer too short. More... | |
#define | WHD_WLAN_BUFTOOLONG WHD_RESULT_CREATE(2015) |
Buffer too long. More... | |
#define | WHD_WLAN_BUSY WHD_RESULT_CREATE(2016) |
Busy. More... | |
#define | WHD_WLAN_NOTASSOCIATED WHD_RESULT_CREATE(2017) |
Not Associated. More... | |
#define | WHD_WLAN_BADSSIDLEN WHD_RESULT_CREATE(2018) |
Bad SSID len. More... | |
#define | WHD_WLAN_OUTOFRANGECHAN WHD_RESULT_CREATE(2019) |
Out of Range Channel. More... | |
#define | WHD_WLAN_BADCHAN WHD_RESULT_CREATE(2020) |
Bad Channel. More... | |
#define | WHD_WLAN_BADADDR WHD_RESULT_CREATE(2021) |
Bad Address. More... | |
#define | WHD_WLAN_NORESOURCE WHD_RESULT_CREATE(2022) |
Not Enough Resources. More... | |
#define | WHD_WLAN_UNSUPPORTED WHD_RESULT_CREATE(2023) |
Unsupported. More... | |
#define | WHD_WLAN_BADLEN WHD_RESULT_CREATE(2024) |
Bad length. More... | |
#define | WHD_WLAN_NOTREADY WHD_RESULT_CREATE(2025) |
Not Ready. More... | |
#define | WHD_WLAN_EPERM WHD_RESULT_CREATE(2026) |
Not Permitted. More... | |
#define | WHD_WLAN_NOMEM WHD_RESULT_CREATE(2027) |
No Memory. More... | |
#define | WHD_WLAN_ASSOCIATED WHD_RESULT_CREATE(2028) |
Associated. More... | |
#define | WHD_WLAN_RANGE WHD_RESULT_CREATE(2029) |
Not In Range. More... | |
#define | WHD_WLAN_NOTFOUND WHD_RESULT_CREATE(2030) |
Not Found. More... | |
#define | WHD_WLAN_WME_NOT_ENABLED WHD_RESULT_CREATE(2031) |
WME Not Enabled. More... | |
#define | WHD_WLAN_TSPEC_NOTFOUND WHD_RESULT_CREATE(2032) |
TSPEC Not Found. More... | |
#define | WHD_WLAN_ACM_NOTSUPPORTED WHD_RESULT_CREATE(2033) |
ACM Not Supported. More... | |
#define | WHD_WLAN_NOT_WME_ASSOCIATION WHD_RESULT_CREATE(2034) |
Not WME Association. More... | |
#define | WHD_WLAN_SDIO_ERROR WHD_RESULT_CREATE(2035) |
SDIO Bus Error. More... | |
#define | WHD_WLAN_WLAN_DOWN WHD_RESULT_CREATE(2036) |
WLAN Not Accessible. More... | |
#define | WHD_WLAN_BAD_VERSION WHD_RESULT_CREATE(2037) |
Incorrect version. More... | |
#define | WHD_WLAN_TXFAIL WHD_RESULT_CREATE(2038) |
TX failure. More... | |
#define | WHD_WLAN_RXFAIL WHD_RESULT_CREATE(2039) |
RX failure. More... | |
#define | WHD_WLAN_NODEVICE WHD_RESULT_CREATE(2040) |
Device not present. More... | |
#define | WHD_WLAN_UNFINISHED WHD_RESULT_CREATE(2041) |
To be finished. More... | |
#define | WHD_WLAN_NONRESIDENT WHD_RESULT_CREATE(2042) |
access to nonresident overlay More... | |
#define | WHD_WLAN_DISABLED WHD_RESULT_CREATE(2043) |
Disabled in this build. More... | |
#define | WHD_WLAN_NOFUNCTION WHD_RESULT_CREATE(2044) |
Function pointer not provided. More... | |
#define | WHD_WLAN_INVALID WHD_RESULT_CREATE(2045) |
Not valid. More... | |
#define | WHD_WLAN_NOBAND WHD_RESULT_CREATE(2046) |
No Band. More... | |
#define | PORT_FILTER_LEN 26 |
Port filter len. More... | |
#define | PACKET_FILTER_LIST_BUFFER_MAX_LEN 1000 |
Packet filter buffer max len. More... | |
#define | TKO_DATA_OFFSET offsetof(wl_tko_t, data) |
TKO data offset. More... | |
Typedefs | |
typedef struct whd_scan_result | whd_scan_result_t |
Structure for storing scan results. More... | |
typedef struct whd_simple_scan_result | whd_sync_scan_result_t |
Structure to store scan result parameters for each AP. More... | |
typedef uint16_t | wl_chanspec_t |
Channel specified in uint16_t. More... | |
typedef struct wl_bss_info_struct | wl_bss_info_t |
BSS(Basic Service Set) information structure. More... | |
typedef uint32_t | whd_result_t |
WHD result is specified as uint32_t value. More... | |
typedef whd_buffer_t | whd_buffer_queue_ptr_t |
type definition for whd_buffer_t More... | |
typedef struct whd_ap_info | whd_ap_info_t |
Structure for storing AP information. More... | |
typedef uint32_t | whd_time_t |
Time value in milliseconds. More... | |
typedef struct whd_oob_config | whd_oob_config_t |
Structure for Out-of-band interrupt config parameters which can be set by application during whd power up. More... | |
typedef struct whd_sdio_config | whd_sdio_config_t |
Structure for SDIO config parameters which can be set by application during whd power up. More... | |
typedef struct whd_spi_config | whd_spi_config_t |
Structure for SPI config parameters which can be set by application during whd power up. More... | |
typedef struct whd_btc_lescan_params | whd_btc_lescan_params_t |
Structure for LE Scan parameters. More... | |
typedef struct whd_coex_config | whd_coex_config_t |
Structure for coex config parameters which can be set by application. More... | |
Enumerations |
Defines common data types used with WHD.
Definition in file whd_types.h.
#define AES_ENABLED 0x0004 |
Flag to enable AES Encryption.
Definition at line 42 of file whd_types.h.
#define BDC_HEADER_OFFSET_TO_DATA 4 |
From bdc header, Ethernet data starts after an offset of (bdc_header->data_offset<<2).
It is variable, but usually 4.
Definition at line 99 of file whd_types.h.
#define BDC_HEADER_WITH_PAD 6 |
BDC Header with padding 4 + 2.
Definition at line 94 of file whd_types.h.
#define BUFFER_OVERHEAD 4 |
Buffer overhead, sizeof(void *)
Definition at line 105 of file whd_types.h.
#define ENTERPRISE_ENABLED 0x02000000 |
Flag to enable Enterprise Security.
Definition at line 49 of file whd_types.h.
#define FBT_ENABLED 0x40000000 |
Flag to enable FBT.
Definition at line 52 of file whd_types.h.
#define IBSS_ENABLED 0x20000000 |
Flag to enable IBSS mode.
Definition at line 51 of file whd_types.h.
#define MAX_BUS_HEADER_SIZE 4 |
Max bus header size for all bus types (sdio/spi)
Definition at line 103 of file whd_types.h.
#define MCSSET_LEN 16 |
Maximum allowed mcs rate.
Definition at line 721 of file whd_types.h.
#define MK_CNTRY | ( | a, | |
b, | |||
rev | |||
) |
Macro for creating country codes according to endianness.
Definition at line 425 of file whd_types.h.
#define NO_POWERSAVE_MODE (0) |
No Powersave mode.
Definition at line 56 of file whd_types.h.
#define PACKET_FILTER_LIST_BUFFER_MAX_LEN 1000 |
Packet filter buffer max len.
Definition at line 1024 of file whd_types.h.
#define PM1_POWERSAVE_MODE (1) |
Powersave mode on specified interface without regard for throughput reduction.
Definition at line 54 of file whd_types.h.
#define PM2_POWERSAVE_MODE (2) |
Powersave mode on specified interface with High throughput.
Definition at line 55 of file whd_types.h.
#define PORT_FILTER_LEN 26 |
Port filter len.
Definition at line 1023 of file whd_types.h.
#define REFERENCE_DEBUG_ONLY_VARIABLE | ( | x | ) | ( (void)(x) ) |
Suppress unused variable warning occurring due to an assert which is disabled in release mode.
Definition at line 71 of file whd_types.h.
#define SDPCM_HEADER (8 + 4) |
SDPCM SW header + Frame tag.
Definition at line 101 of file whd_types.h.
#define SECURITY_MASK (WEP_ENABLED | TKIP_ENABLED | AES_ENABLED) |
Flag to Security mask.
Definition at line 47 of file whd_types.h.
#define SHARED_ENABLED 0x00008000 |
Flag to enable Shared key Security.
Definition at line 43 of file whd_types.h.
#define SSID_NAME_SIZE (32) |
SSID Length.
Definition at line 38 of file whd_types.h.
#define TKIP_ENABLED 0x0002 |
Flag to enable TKIP Encryption.
Definition at line 41 of file whd_types.h.
#define TKO_DATA_OFFSET offsetof(wl_tko_t, data) |
TKO data offset.
Definition at line 1048 of file whd_types.h.
#define UNUSED_PARAMETER | ( | x | ) | ( (void)(x) ) |
Suppress unused parameter warning.
Definition at line 61 of file whd_types.h.
#define UNUSED_VARIABLE | ( | x | ) | ( (void)(x) ) |
Suppress unused variable warning.
Definition at line 66 of file whd_types.h.
#define WEP_ENABLED 0x0001 |
Flag to enable WEP Security.
Definition at line 40 of file whd_types.h.
#define WHD_ACCESS_POINT_NOT_FOUND WHD_RESULT_CREATE(1066) |
Access point not found.
Definition at line 852 of file whd_types.h.
#define WHD_ADDRESS_ALREADY_REGISTERED WHD_RESULT_CREATE(1050) |
Attempt to register a multicast address twice.
Definition at line 836 of file whd_types.h.
#define WHD_AP_ALREADY_UP WHD_RESULT_CREATE(1060) |
Soft AP or P2P group owner already up.
Definition at line 846 of file whd_types.h.
#define WHD_BADARG WHD_RESULT_CREATE(5) |
Bad Arguments.
Definition at line 787 of file whd_types.h.
#define WHD_BUFFER_ALLOC_FAIL WHD_RESULT_CREATE(1038) |
Failed to allocate a packet buffer.
Definition at line 824 of file whd_types.h.
#define WHD_BUFFER_POINTER_MOVE_ERROR WHD_RESULT_CREATE(1033) |
Error moving the current pointer of a packet buffer.
Definition at line 819 of file whd_types.h.
#define WHD_BUFFER_SIZE_SET_ERROR WHD_RESULT_CREATE(1034) |
Error setting size of packet buffer.
Definition at line 820 of file whd_types.h.
#define WHD_BUFFER_UNAVAILABLE_PERMANENT WHD_RESULT_CREATE(1010) |
Buffer unavailable permanently.
Definition at line 797 of file whd_types.h.
#define WHD_BUFFER_UNAVAILABLE_TEMPORARY WHD_RESULT_CREATE(1009) |
Buffer unavailable temporarily.
Definition at line 796 of file whd_types.h.
#define WHD_BUS_READ_REGISTER_ERROR WHD_RESULT_CREATE(1030) |
Error reading a bus hardware register.
Definition at line 816 of file whd_types.h.
#define WHD_BUS_WRITE_REGISTER_ERROR WHD_RESULT_CREATE(1021) |
Error writing to WLAN register.
Definition at line 807 of file whd_types.h.
#define WHD_CLM_BLOB_DLOAD_ERROR WHD_RESULT_CREATE(1068) |
CLM blob download failed.
Definition at line 854 of file whd_types.h.
#define WHD_CONNECTION_LOST WHD_RESULT_CREATE(1012) |
Connection lost.
Definition at line 798 of file whd_types.h.
#define WHD_CORE_CLOCK_NOT_ENABLED WHD_RESULT_CREATE(1018) |
Core disabled due to no clock.
Definition at line 804 of file whd_types.h.
#define WHD_CORE_IN_RESET WHD_RESULT_CREATE(1019) |
Core disabled - in reset.
Definition at line 805 of file whd_types.h.
#define WHD_DELAY_TOO_LONG WHD_RESULT_CREATE(1041) |
Requested delay is too long.
Definition at line 827 of file whd_types.h.
#define WHD_DELAY_TOO_SHORT WHD_RESULT_CREATE(1056) |
Requested delay is too short.
Definition at line 842 of file whd_types.h.
#define WHD_DOES_NOT_EXIST WHD_RESULT_CREATE(1005) |
Does not exist.
Definition at line 792 of file whd_types.h.
#define WHD_EAPOL_KEY_FAILURE WHD_RESULT_CREATE(1064) |
Unknown failure occurred during the EAPOL key handshake.
Definition at line 850 of file whd_types.h.
#define WHD_EAPOL_KEY_PACKET_G1_TIMEOUT WHD_RESULT_CREATE(1063) |
Timeout occurred while waiting for EAPOL packet G1 from AP.
Definition at line 849 of file whd_types.h.
#define WHD_EAPOL_KEY_PACKET_M1_TIMEOUT WHD_RESULT_CREATE(1061) |
Timeout occurred while waiting for EAPOL packet M1 from AP.
Definition at line 847 of file whd_types.h.
#define WHD_EAPOL_KEY_PACKET_M3_TIMEOUT WHD_RESULT_CREATE(1062) |
Timeout occurred while waiting for EAPOL packet M3 from APwhich may indicate incorrect WPA2/WPA passphrase.
Definition at line 848 of file whd_types.h.
#define WHD_ETHERNET_SIZE (14) |
The size of an Ethernet header.
Definition at line 117 of file whd_types.h.
#define WHD_FILTER_NOT_FOUND WHD_RESULT_CREATE(1047) |
Specified filter id not found.
Definition at line 833 of file whd_types.h.
#define WHD_FLOW_CONTROLLED WHD_RESULT_CREATE(1015) |
Packet retrieval cancelled due to flow control.
Definition at line 801 of file whd_types.h.
#define WHD_HAL_ERROR WHD_RESULT_CREATE(1069) |
WHD HAL Error.
Definition at line 855 of file whd_types.h.
#define WHD_HANDLER_ALREADY_REGISTERED WHD_RESULT_CREATE(1059) |
EAPOL handler already registered.
Definition at line 845 of file whd_types.h.
#define WHD_HWTAG_MISMATCH WHD_RESULT_CREATE(1028) |
Hardware tag header corrupt.
Definition at line 814 of file whd_types.h.
#define WHD_INTERFACE_NOT_UP WHD_RESULT_CREATE(1040) |
Requested interface is not active.
Definition at line 826 of file whd_types.h.
#define WHD_INVALID_DUTY_CYCLE WHD_RESULT_CREATE(1042) |
Duty cycle is outside limit 0 to 100.
Definition at line 828 of file whd_types.h.
#define WHD_INVALID_INTERFACE WHD_RESULT_CREATE(1057) |
Invalid interface provided.
Definition at line 843 of file whd_types.h.
#define WHD_INVALID_JOIN_STATUS WHD_RESULT_CREATE(1025) |
Join status error.
Definition at line 811 of file whd_types.h.
#define WHD_INVALID_KEY WHD_RESULT_CREATE(1004) |
Invalid key.
Definition at line 791 of file whd_types.h.
#define WHD_IOCTL_FAIL WHD_RESULT_CREATE(1008) |
IOCTL fail.
Definition at line 795 of file whd_types.h.
#define WHD_JOIN_IN_PROGRESS WHD_RESULT_CREATE(1023) |
Join not finished yet.
Definition at line 809 of file whd_types.h.
#define WHD_LINK_HEADER |
The maximum space in bytes required for headers in front of the Ethernet header.
6 + (8 + 4) + 4 + 4 + 4 = 30 bytes
Definition at line 111 of file whd_types.h.
#define WHD_LINK_MTU (WHD_PAYLOAD_MTU + WHD_PHYSICAL_HEADER) |
The maximum size in bytes of a packet used within whd.
Pool should be atleast of this size. Usually buffer pools needs implementation specific headers like pbuf header etc, that should be taken into account along with this during buffer pool creation. Also buffer pools needs alignment with cache size of the platform for better performance
Definition at line 138 of file whd_types.h.
#define WHD_MALLOC_FAILURE WHD_RESULT_CREATE(1065) |
Memory allocation failure.
Definition at line 851 of file whd_types.h.
#define WHD_NETWORK_NOT_FOUND WHD_RESULT_CREATE(1024) |
Specified network was not found.
Definition at line 810 of file whd_types.h.
#define WHD_NO_CREDITS WHD_RESULT_CREATE(1016) |
Packet retrieval cancelled due to lack of bus credits.
Definition at line 802 of file whd_types.h.
#define WHD_NO_PACKET_TO_RECEIVE WHD_RESULT_CREATE(1039) |
No Packets waiting to be received.
Definition at line 825 of file whd_types.h.
#define WHD_NO_PACKET_TO_SEND WHD_RESULT_CREATE(1017) |
Packet retrieval cancelled due to no pending packets.
Definition at line 803 of file whd_types.h.
#define WHD_NOT_AUTHENTICATED WHD_RESULT_CREATE(1006) |
Not authenticated.
Definition at line 793 of file whd_types.h.
#define WHD_NOT_KEYED WHD_RESULT_CREATE(1007) |
Not keyed.
Definition at line 794 of file whd_types.h.
#define WHD_NULL_PTR_ARG WHD_RESULT_CREATE(1052) |
Null Pointer argument passed to function.
Definition at line 838 of file whd_types.h.
#define WHD_OUT_OF_EVENT_HANDLER_SPACE WHD_RESULT_CREATE(1013) |
Cannot add extra event handler.
Definition at line 799 of file whd_types.h.
#define WHD_PARTIAL_RESULTS WHD_RESULT_CREATE(1003) |
Partial results.
Definition at line 790 of file whd_types.h.
#define WHD_PAYLOAD_MTU (1500) |
The maximum size in bytes of the data part of an Ethernet frame.
Definition at line 128 of file whd_types.h.
#define WHD_PENDING WHD_RESULT_CREATE(1) |
Pending.
Definition at line 785 of file whd_types.h.
#define WHD_PHYSICAL_HEADER (WHD_LINK_HEADER + WHD_ETHERNET_SIZE) |
The size in bytes of the Link layer header i.e.
the whd specific headers and the Ethernet header
Definition at line 122 of file whd_types.h.
#define WHD_PMK_WRONG_LENGTH WHD_RESULT_CREATE(1043) |
Returned pmk was the wrong length.
Definition at line 829 of file whd_types.h.
#define WHD_QUEUE_ERROR WHD_RESULT_CREATE(1032) |
Error manipulating a queue.
Definition at line 818 of file whd_types.h.
#define WHD_RESULT_CREATE | ( | x | ) | CY_RSLT_CREATE(WHD_RESULT_TYPE, CY_RSLT_MODULE_DRIVERS_WHD_BASE, (x) ) |
Create a result value from the specified type, module, and result code.
Definition at line 782 of file whd_types.h.
#define WHD_RESULT_TYPE 0 |
WHD Result type.
Definition at line 781 of file whd_types.h.
#define WHD_RTOS_ERROR WHD_RESULT_CREATE(1067) |
RTOS operation failed.
Definition at line 853 of file whd_types.h.
#define WHD_RTOS_STATIC_MEM_LIMIT WHD_RESULT_CREATE(1070) |
Exceeding the RTOS static objects memory.
Definition at line 856 of file whd_types.h.
#define WHD_RX_BUFFER_ALLOC_FAIL WHD_RESULT_CREATE(1029) |
Failed to allocate a buffer to receive into.
Definition at line 815 of file whd_types.h.
#define WHD_SDIO_BUS_UP_FAIL WHD_RESULT_CREATE(1022) |
SDIO bus failed to come up.
Definition at line 808 of file whd_types.h.
#define WHD_SDIO_RETRIES_EXCEEDED WHD_RESULT_CREATE(1051) |
SDIO transfer failed too many times.
Definition at line 837 of file whd_types.h.
#define WHD_SDIO_RX_FAIL WHD_RESULT_CREATE(1027) |
Error during SDIO receive.
Definition at line 813 of file whd_types.h.
#define WHD_SEMAPHORE_ERROR WHD_RESULT_CREATE(1014) |
Error manipulating a semaphore.
Definition at line 800 of file whd_types.h.
#define WHD_SET_BLOCK_ACK_WINDOW_FAIL WHD_RESULT_CREATE(1055) |
Failed to set block ack window.
Definition at line 841 of file whd_types.h.
#define WHD_SLEEP_ERROR WHD_RESULT_CREATE(1037) |
Error sleeping a thread.
Definition at line 823 of file whd_types.h.
#define WHD_SPI_ID_READ_FAIL WHD_RESULT_CREATE(1048) |
Failed to read 0xfeedbead SPI id from chip.
Definition at line 834 of file whd_types.h.
#define WHD_SPI_SIZE_MISMATCH WHD_RESULT_CREATE(1049) |
Mismatch in sizes between SPI header and SDPCM header.
Definition at line 835 of file whd_types.h.
#define WHD_SUCCESS CY_RSLT_SUCCESS |
Success.
Definition at line 784 of file whd_types.h.
#define WHD_THREAD_CREATE_FAILED WHD_RESULT_CREATE(1031) |
Failed to create a new thread.
Definition at line 817 of file whd_types.h.
#define WHD_THREAD_DELETE_FAIL WHD_RESULT_CREATE(1036) |
Error deleting a thread.
Definition at line 822 of file whd_types.h.
#define WHD_THREAD_FINISH_FAIL WHD_RESULT_CREATE(1053) |
Error deleting a thread.
Definition at line 839 of file whd_types.h.
#define WHD_THREAD_STACK_NULL WHD_RESULT_CREATE(1035) |
Null stack pointer passed when non null was reqired.
Definition at line 821 of file whd_types.h.
#define WHD_TIMEOUT WHD_RESULT_CREATE(2) |
Timeout.
Definition at line 786 of file whd_types.h.
#define WHD_UNFINISHED WHD_RESULT_CREATE(10) |
Operation not finished yet WHD_RESULT_CREATE(maybe aborted)
Definition at line 788 of file whd_types.h.
#define WHD_UNKNOWN_INTERFACE WHD_RESULT_CREATE(1026) |
Unknown interface specified.
Definition at line 812 of file whd_types.h.
#define WHD_UNKNOWN_SECURITY_TYPE WHD_RESULT_CREATE(1044) |
AP security type was unknown.
Definition at line 830 of file whd_types.h.
#define WHD_UNSUPPORTED WHD_RESULT_CREATE(1020) |
Unsupported function.
Definition at line 806 of file whd_types.h.
#define WHD_WAIT_ABORTED WHD_RESULT_CREATE(1054) |
Semaphore/mutex wait has been aborted.
Definition at line 840 of file whd_types.h.
#define WHD_WEP_KEYLEN_BAD WHD_RESULT_CREATE(1058) |
WEP / WEP_SHARED key length must be 5 or 13 bytes.
Definition at line 844 of file whd_types.h.
#define WHD_WEP_NOT_ALLOWED WHD_RESULT_CREATE(1045) |
AP not allowed to use WEP - it is not secure - use Open instead.
Definition at line 831 of file whd_types.h.
#define WHD_WLAN_ACM_NOTSUPPORTED WHD_RESULT_CREATE(2033) |
ACM Not Supported.
Definition at line 892 of file whd_types.h.
#define WHD_WLAN_ASSOCIATED WHD_RESULT_CREATE(2028) |
Associated.
Definition at line 887 of file whd_types.h.
#define WHD_WLAN_BAD_VERSION WHD_RESULT_CREATE(2037) |
Incorrect version.
Definition at line 896 of file whd_types.h.
#define WHD_WLAN_BADADDR WHD_RESULT_CREATE(2021) |
Bad Address.
Definition at line 880 of file whd_types.h.
#define WHD_WLAN_BADARG WHD_RESULT_CREATE(2002) |
Bad Argument.
Definition at line 861 of file whd_types.h.
#define WHD_WLAN_BADBAND WHD_RESULT_CREATE(2013) |
BAD Band.
Definition at line 872 of file whd_types.h.
#define WHD_WLAN_BADCHAN WHD_RESULT_CREATE(2020) |
Bad Channel.
Definition at line 879 of file whd_types.h.
#define WHD_WLAN_BADKEYIDX WHD_RESULT_CREATE(2008) |
BAD Key Index.
Definition at line 867 of file whd_types.h.
#define WHD_WLAN_BADLEN WHD_RESULT_CREATE(2024) |
Bad length.
Definition at line 883 of file whd_types.h.
#define WHD_WLAN_BADOPTION WHD_RESULT_CREATE(2003) |
Bad option.
Definition at line 862 of file whd_types.h.
#define WHD_WLAN_BADRATESET WHD_RESULT_CREATE(2012) |
BAD Rate valueset.
Definition at line 871 of file whd_types.h.
#define WHD_WLAN_BADSSIDLEN WHD_RESULT_CREATE(2018) |
Bad SSID len.
Definition at line 877 of file whd_types.h.
#define WHD_WLAN_BUFTOOLONG WHD_RESULT_CREATE(2015) |
Buffer too long.
Definition at line 874 of file whd_types.h.
#define WHD_WLAN_BUFTOOSHORT WHD_RESULT_CREATE(2014) |
Buffer too short.
Definition at line 873 of file whd_types.h.
#define WHD_WLAN_BUSY WHD_RESULT_CREATE(2016) |
Busy.
Definition at line 875 of file whd_types.h.
#define WHD_WLAN_DISABLED WHD_RESULT_CREATE(2043) |
Disabled in this build.
Definition at line 902 of file whd_types.h.
#define WHD_WLAN_EPERM WHD_RESULT_CREATE(2026) |
Not Permitted.
Definition at line 885 of file whd_types.h.
#define WHD_WLAN_ERROR WHD_RESULT_CREATE(2001) |
Generic Error.
Definition at line 860 of file whd_types.h.
#define WHD_WLAN_INVALID WHD_RESULT_CREATE(2045) |
Not valid.
Definition at line 904 of file whd_types.h.
#define WHD_WLAN_NOBAND WHD_RESULT_CREATE(2046) |
No Band.
Definition at line 905 of file whd_types.h.
#define WHD_WLAN_NOCLK WHD_RESULT_CREATE(2011) |
No Clock.
Definition at line 870 of file whd_types.h.
#define WHD_WLAN_NODEVICE WHD_RESULT_CREATE(2040) |
Device not present.
Definition at line 899 of file whd_types.h.
#define WHD_WLAN_NOFUNCTION WHD_RESULT_CREATE(2044) |
Function pointer not provided.
Definition at line 903 of file whd_types.h.
#define WHD_WLAN_NOMEM WHD_RESULT_CREATE(2027) |
No Memory.
Definition at line 886 of file whd_types.h.
#define WHD_WLAN_NONRESIDENT WHD_RESULT_CREATE(2042) |
access to nonresident overlay
Definition at line 901 of file whd_types.h.
#define WHD_WLAN_NORESOURCE WHD_RESULT_CREATE(2022) |
Not Enough Resources.
Definition at line 881 of file whd_types.h.
#define WHD_WLAN_NOT_WME_ASSOCIATION WHD_RESULT_CREATE(2034) |
Not WME Association.
Definition at line 893 of file whd_types.h.
#define WHD_WLAN_NOTAP WHD_RESULT_CREATE(2006) |
Not AP.
Definition at line 865 of file whd_types.h.
#define WHD_WLAN_NOTASSOCIATED WHD_RESULT_CREATE(2017) |
Not Associated.
Definition at line 876 of file whd_types.h.
#define WHD_WLAN_NOTBANDLOCKED WHD_RESULT_CREATE(2010) |
Not band locked.
Definition at line 869 of file whd_types.h.
#define WHD_WLAN_NOTDOWN WHD_RESULT_CREATE(2005) |
Not down.
Definition at line 864 of file whd_types.h.
#define WHD_WLAN_NOTFOUND WHD_RESULT_CREATE(2030) |
Not Found.
Definition at line 889 of file whd_types.h.
#define WHD_WLAN_NOTREADY WHD_RESULT_CREATE(2025) |
Not Ready.
Definition at line 884 of file whd_types.h.
#define WHD_WLAN_NOTSTA WHD_RESULT_CREATE(2007) |
Not STA.
Definition at line 866 of file whd_types.h.
#define WHD_WLAN_NOTUP WHD_RESULT_CREATE(2004) |
Not up.
Definition at line 863 of file whd_types.h.
#define WHD_WLAN_OUTOFRANGECHAN WHD_RESULT_CREATE(2019) |
Out of Range Channel.
Definition at line 878 of file whd_types.h.
#define WHD_WLAN_RADIOOFF WHD_RESULT_CREATE(2009) |
Radio Off.
Definition at line 868 of file whd_types.h.
#define WHD_WLAN_RANGE WHD_RESULT_CREATE(2029) |
Not In Range.
Definition at line 888 of file whd_types.h.
#define WHD_WLAN_RXFAIL WHD_RESULT_CREATE(2039) |
RX failure.
Definition at line 898 of file whd_types.h.
#define WHD_WLAN_SDIO_ERROR WHD_RESULT_CREATE(2035) |
SDIO Bus Error.
Definition at line 894 of file whd_types.h.
#define WHD_WLAN_TSPEC_NOTFOUND WHD_RESULT_CREATE(2032) |
TSPEC Not Found.
Definition at line 891 of file whd_types.h.
#define WHD_WLAN_TXFAIL WHD_RESULT_CREATE(2038) |
TX failure.
Definition at line 897 of file whd_types.h.
#define WHD_WLAN_UNFINISHED WHD_RESULT_CREATE(2041) |
To be finished.
Definition at line 900 of file whd_types.h.
#define WHD_WLAN_UNSUPPORTED WHD_RESULT_CREATE(2023) |
Unsupported.
Definition at line 882 of file whd_types.h.
#define WHD_WLAN_WLAN_DOWN WHD_RESULT_CREATE(2036) |
WLAN Not Accessible.
Definition at line 895 of file whd_types.h.
#define WHD_WLAN_WME_NOT_ENABLED WHD_RESULT_CREATE(2031) |
WME Not Enabled.
Definition at line 890 of file whd_types.h.
#define WHD_WPA_KEYLEN_BAD WHD_RESULT_CREATE(1046) |
WPA / WPA2 key length must be between 8 & 64 bytes.
Definition at line 832 of file whd_types.h.
#define WIFI_IE_OUI_LENGTH (3) |
OUI length for Information Element.
Definition at line 90 of file whd_types.h.
#define WLAN_ENUM_OFFSET 2000 |
WLAN enum offset for WHD_WLAN error processing.
Definition at line 858 of file whd_types.h.
#define WPA2_SECURITY 0x00400000 |
Flag to enable WPA2 Security.
Definition at line 45 of file whd_types.h.
#define WPA3_SECURITY 0x01000000 |
Flag to enable WPA3 PSK Security.
Definition at line 46 of file whd_types.h.
#define WPA_SECURITY 0x00200000 |
Flag to enable WPA Security.
Definition at line 44 of file whd_types.h.
#define WPS_ENABLED 0x10000000 |
Flag to enable WPS Security.
Definition at line 50 of file whd_types.h.
typedef struct whd_ap_info whd_ap_info_t |
Structure for storing AP information.
typedef struct whd_btc_lescan_params whd_btc_lescan_params_t |
Structure for LE Scan parameters.
typedef whd_buffer_t whd_buffer_queue_ptr_t |
type definition for whd_buffer_t
Definition at line 910 of file whd_types.h.
typedef struct whd_coex_config whd_coex_config_t |
Structure for coex config parameters which can be set by application.
typedef struct whd_oob_config whd_oob_config_t |
Structure for Out-of-band interrupt config parameters which can be set by application during whd power up.
typedef uint32_t whd_result_t |
WHD result is specified as uint32_t value.
Definition at line 776 of file whd_types.h.
typedef struct whd_scan_result whd_scan_result_t |
Structure for storing scan results.
typedef struct whd_sdio_config whd_sdio_config_t |
Structure for SDIO config parameters which can be set by application during whd power up.
typedef struct whd_spi_config whd_spi_config_t |
Structure for SPI config parameters which can be set by application during whd power up.
typedef struct whd_simple_scan_result whd_sync_scan_result_t |
Structure to store scan result parameters for each AP.
typedef uint32_t whd_time_t |
Time value in milliseconds.
Definition at line 944 of file whd_types.h.
typedef struct wl_bss_info_struct wl_bss_info_t |
BSS(Basic Service Set) information structure.
Applications MUST CHECK ie_offset field and length field to access IEs(Information Elements) and next bss_info structure in a vector (in whd_sync_scan_result_t)
typedef uint16_t wl_chanspec_t |
Channel specified in uint16_t.
Definition at line 720 of file whd_types.h.
anonymous enum |
Protected Management Frame Capability.
Definition at line 301 of file whd_types.h.
enum whd_802_11_band_t |
Enumeration of 802.11 radio bands.
Enumerator | |
---|---|
WHD_802_11_BAND_5GHZ |
Denotes 5GHz radio band. |
WHD_802_11_BAND_2_4GHZ |
Denotes 2.4GHz radio band. |
Definition at line 244 of file whd_types.h.
enum whd_bool_t |
Boolean values.
Enumerator | |
---|---|
WHD_FALSE |
Boolean True. |
WHD_TRUE |
Boolean False. |
Definition at line 162 of file whd_types.h.
enum whd_bss_type_t |
Enumeration of network types.
Definition at line 231 of file whd_types.h.
Transfer direction for the WHD platform bus interface.
Enumerator | |
---|---|
BUS_READ |
Specifies bus type and read direction. |
BUS_WRITE |
Specifies bus type and write direction. |
Definition at line 172 of file whd_types.h.
enum whd_country_code_t |
Enumerated list of country codes.
Definition at line 434 of file whd_types.h.
Enumeration of custom IE(Information Element) management actions.
Enumerator | |
---|---|
WHD_ADD_CUSTOM_IE |
Add a custom IE(Information Element) |
WHD_REMOVE_CUSTOM_IE |
Remove a custom IE(Information Element) |
Definition at line 253 of file whd_types.h.
Enumeration of Dot11 Reason Codes.
Enumerator | |
---|---|
WHD_DOT11_RC_RESERVED |
Reserved. |
WHD_DOT11_RC_UNSPECIFIED |
Unspecified. |
Definition at line 153 of file whd_types.h.
enum whd_ie_packet_flag_t |
Enumeration of applicable packet mask bits for custom Information Elements (IEs)
Definition at line 991 of file whd_types.h.
Enumeration of listen interval time unit types.
Enumerator | |
---|---|
WHD_LISTEN_INTERVAL_TIME_UNIT_BEACON |
Time units specified in beacon periods. |
WHD_LISTEN_INTERVAL_TIME_UNIT_DTIM |
Time units specified in DTIM periods. |
Definition at line 263 of file whd_types.h.
Enumeration of packet filter rules.
Definition at line 1028 of file whd_types.h.
Enumeration of scan result flags.
Enumerator | |
---|---|
WHD_SCAN_RESULT_FLAG_RSSI_OFF_CHANNEL |
RSSI came from an off channel DSSS (1 or 1 Mb) Rx. |
WHD_SCAN_RESULT_FLAG_BEACON |
Beacon (vs probe response) |
Definition at line 292 of file whd_types.h.
enum whd_scan_status_t |
Structure for storing scan status.
Enumerator | |
---|---|
WHD_SCAN_INCOMPLETE |
Denotes that scan is not finished. |
WHD_SCAN_COMPLETED_SUCCESSFULLY |
Successful completion of scan. |
WHD_SCAN_ABORTED |
Scan is aborted. |
Definition at line 272 of file whd_types.h.
enum whd_scan_type_t |
Enumeration of methods of scanning.
Definition at line 219 of file whd_types.h.
enum whd_security_t |
Enumeration of Wi-Fi security modes.
Definition at line 182 of file whd_types.h.
Enumeration of ioctl get.
Definition at line 312 of file whd_types.h.
Enumeration of ioctl set.
Definition at line 331 of file whd_types.h.
IOVAR get list.
Enumerator | |
---|---|
WHD_IOVAR_GET_LISTEN_INTERVAL |
Get Listen Interval value. |
WHD_IOVAR_GET_MAC_ADDRESS |
Get mac address. |
Definition at line 365 of file whd_types.h.
IOVAR set list.
Definition at line 351 of file whd_types.h.