Mistake on this page?
Report an issue in GitHub or email us
Data Structures | Macros | Typedefs | Enumerations
whd_types.h File Reference

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

Detailed Description

Defines common data types used with WHD.

Definition in file whd_types.h.

Macro Definition Documentation

#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 
)
Value:
( ( (unsigned char)(a) ) + ( ( (unsigned char)(b) ) << 8 ) + \
( ( (unsigned short)(rev) ) << 16 ) )

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
Value:
#define MAX_BUS_HEADER_SIZE
Max bus header size for all bus types (sdio/spi)
Definition: whd_types.h:103
#define BDC_HEADER_WITH_PAD
BDC Header with padding 4 + 2.
Definition: whd_types.h:94
#define BUFFER_OVERHEAD
Buffer overhead, sizeof(void *)
Definition: whd_types.h:105
#define BDC_HEADER_OFFSET_TO_DATA
From bdc header, Ethernet data starts after an offset of (bdc_header->data_offset<<2).
Definition: whd_types.h:99

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 Documentation

typedef struct whd_ap_info whd_ap_info_t

Structure for storing AP information.

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.

Structure for coex config parameters which can be set by application.

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.

Structure for storing scan results.

Structure for SDIO config parameters which can be set by application during whd power up.

Structure for SPI config parameters which can be set by application during whd power up.

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.

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.

Enumeration Type Documentation

anonymous enum

Protected Management Frame Capability.

Enumerator
WL_MFP_NONE 

Disables the client support for MFP.

WL_MFP_CAPABLE 

Allows both MFP-capable and clients that do not support MFP to join the network.

WL_MFP_REQUIRED 

Clients are allowed to associate only if MFP is negotiated.

Definition at line 301 of file whd_types.h.

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.

Enumeration of network types.

Enumerator
WHD_BSS_TYPE_INFRASTRUCTURE 

Denotes infrastructure network.

WHD_BSS_TYPE_ADHOC 

Denotes an 802.11 ad-hoc IBSS network.

WHD_BSS_TYPE_ANY 

Denotes either infrastructure or ad-hoc network.

WHD_BSS_TYPE_MESH 

Denotes 802.11 mesh network.

WHD_BSS_TYPE_UNKNOWN 

May be returned by scan function if BSS type is unknown.

Do not pass this to the Join function

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.

Enumerated list of country codes.

Enumerator
WHD_COUNTRY_AFGHANISTAN 

AF Afghanistan.

WHD_COUNTRY_ALBANIA 

AL Albania.

WHD_COUNTRY_ALGERIA 

DZ Algeria.

WHD_COUNTRY_AMERICAN_SAMOA 

AS American_Samoa.

WHD_COUNTRY_ANGOLA 

AO Angola.

WHD_COUNTRY_ANGUILLA 

AI Anguilla.

WHD_COUNTRY_ANTIGUA_AND_BARBUDA 

AG Antigua_and_Barbuda.

WHD_COUNTRY_ARGENTINA 

AR Argentina.

WHD_COUNTRY_ARMENIA 

AM Armenia.

WHD_COUNTRY_ARUBA 

AW Aruba.

WHD_COUNTRY_AUSTRALIA 

AU Australia.

WHD_COUNTRY_AUSTRIA 

AT Austria.

WHD_COUNTRY_AZERBAIJAN 

AZ Azerbaijan.

WHD_COUNTRY_BAHAMAS 

BS Bahamas.

WHD_COUNTRY_BAHRAIN 

BH Bahrain.

WHD_COUNTRY_BAKER_ISLAND 

0B Baker_Island

WHD_COUNTRY_BANGLADESH 

BD Bangladesh.

WHD_COUNTRY_BARBADOS 

BB Barbados.

WHD_COUNTRY_BELARUS 

BY Belarus.

WHD_COUNTRY_BELGIUM 

BE Belgium.

WHD_COUNTRY_BELIZE 

BZ Belize.

WHD_COUNTRY_BENIN 

BJ Benin.

WHD_COUNTRY_BERMUDA 

BM Bermuda.

WHD_COUNTRY_BHUTAN 

BT Bhutan.

WHD_COUNTRY_BOLIVIA 

BO Bolivia.

WHD_COUNTRY_BOSNIA_AND_HERZEGOVINA 

BA Bosnia_and_Herzegovina.

WHD_COUNTRY_BOTSWANA 

BW Botswana.

WHD_COUNTRY_BRAZIL 

BR Brazil.

WHD_COUNTRY_BRITISH_INDIAN_OCEAN_TERRITORY 

IO British_Indian_Ocean_Territory.

WHD_COUNTRY_BRUNEI_DARUSSALAM 

BN Brunei_Darussalam.

WHD_COUNTRY_BULGARIA 

BG Bulgaria.

WHD_COUNTRY_BURKINA_FASO 

BF Burkina_Faso.

WHD_COUNTRY_BURUNDI 

BI Burundi.

WHD_COUNTRY_CAMBODIA 

KH Cambodia.

WHD_COUNTRY_CAMEROON 

CM Cameroon.

WHD_COUNTRY_CANADA 

CA Canada.

WHD_COUNTRY_CANADA_REV950 

CA Canada Revision 950.

WHD_COUNTRY_CAPE_VERDE 

CV Cape_Verde.

WHD_COUNTRY_CAYMAN_ISLANDS 

KY Cayman_Islands.

WHD_COUNTRY_CENTRAL_AFRICAN_REPUBLIC 

CF Central_African_Republic.

WHD_COUNTRY_CHAD 

TD Chad.

WHD_COUNTRY_CHILE 

CL Chile.

WHD_COUNTRY_CHINA 

CN China.

WHD_COUNTRY_CHRISTMAS_ISLAND 

CX Christmas_Island.

WHD_COUNTRY_COLOMBIA 

CO Colombia.

WHD_COUNTRY_COMOROS 

KM Comoros.

WHD_COUNTRY_CONGO 

CG Congo.

WHD_COUNTRY_CONGO_THE_DEMOCRATIC_REPUBLIC_OF_THE 

CD Congo,_The_Democratic_Republic_Of_The.

WHD_COUNTRY_COSTA_RICA 

CR Costa_Rica.

WHD_COUNTRY_COTE_DIVOIRE 

CI Cote_D'ivoire.

WHD_COUNTRY_CROATIA 

HR Croatia.

WHD_COUNTRY_CUBA 

CU Cuba.

WHD_COUNTRY_CYPRUS 

CY Cyprus.

WHD_COUNTRY_CZECH_REPUBLIC 

CZ Czech_Republic.

WHD_COUNTRY_DENMARK 

DK Denmark.

WHD_COUNTRY_DJIBOUTI 

DJ Djibouti.

WHD_COUNTRY_DOMINICA 

DM Dominica.

WHD_COUNTRY_DOMINICAN_REPUBLIC 

DO Dominican_Republic.

WHD_COUNTRY_DOWN_UNDER 

AU G'Day mate!

WHD_COUNTRY_ECUADOR 

EC Ecuador.

WHD_COUNTRY_EGYPT 

EG Egypt.

WHD_COUNTRY_EL_SALVADOR 

SV El_Salvador.

WHD_COUNTRY_EQUATORIAL_GUINEA 

GQ Equatorial_Guinea.

WHD_COUNTRY_ERITREA 

ER Eritrea.

WHD_COUNTRY_ESTONIA 

EE Estonia.

WHD_COUNTRY_ETHIOPIA 

ET Ethiopia.

WHD_COUNTRY_FALKLAND_ISLANDS_MALVINAS 

FK Falkland_Islands_(Malvinas)

WHD_COUNTRY_FAROE_ISLANDS 

FO Faroe_Islands.

WHD_COUNTRY_FIJI 

FJ Fiji.

WHD_COUNTRY_FINLAND 

FI Finland.

WHD_COUNTRY_FRANCE 

FR France.

WHD_COUNTRY_FRENCH_GUINA 

GF French_Guina.

WHD_COUNTRY_FRENCH_POLYNESIA 

PF French_Polynesia.

WHD_COUNTRY_FRENCH_SOUTHERN_TERRITORIES 

TF French_Southern_Territories.

WHD_COUNTRY_GABON 

GA Gabon.

WHD_COUNTRY_GAMBIA 

GM Gambia.

WHD_COUNTRY_GEORGIA 

GE Georgia.

WHD_COUNTRY_GERMANY 

DE Germany.

WHD_COUNTRY_EUROPEAN_WIDE_REV895 

E0 European_Wide Revision 895.

WHD_COUNTRY_GHANA 

GH Ghana.

WHD_COUNTRY_GIBRALTAR 

GI Gibraltar.

WHD_COUNTRY_GREECE 

GR Greece.

WHD_COUNTRY_GRENADA 

GD Grenada.

WHD_COUNTRY_GUADELOUPE 

GP Guadeloupe.

WHD_COUNTRY_GUAM 

GU Guam.

WHD_COUNTRY_GUATEMALA 

GT Guatemala.

WHD_COUNTRY_GUERNSEY 

GG Guernsey.

WHD_COUNTRY_GUINEA 

GN Guinea.

WHD_COUNTRY_GUINEA_BISSAU 

GW Guinea-bissau.

WHD_COUNTRY_GUYANA 

GY Guyana.

WHD_COUNTRY_HAITI 

HT Haiti.

WHD_COUNTRY_HOLY_SEE_VATICAN_CITY_STATE 

VA Holy_See_(Vatican_City_State)

WHD_COUNTRY_HONDURAS 

HN Honduras.

WHD_COUNTRY_HONG_KONG 

HK Hong_Kong.

WHD_COUNTRY_HUNGARY 

HU Hungary.

WHD_COUNTRY_ICELAND 

IS Iceland.

WHD_COUNTRY_INDIA 

IN India.

WHD_COUNTRY_INDONESIA 

ID Indonesia.

WHD_COUNTRY_IRAN_ISLAMIC_REPUBLIC_OF 

IR Iran,_Islamic_Republic_Of.

WHD_COUNTRY_IRAQ 

IQ Iraq.

WHD_COUNTRY_IRELAND 

IE Ireland.

WHD_COUNTRY_ISRAEL 

IL Israel.

WHD_COUNTRY_ITALY 

IT Italy.

WHD_COUNTRY_JAMAICA 

JM Jamaica.

WHD_COUNTRY_JAPAN 

JP Japan.

WHD_COUNTRY_JERSEY 

JE Jersey.

WHD_COUNTRY_JORDAN 

JO Jordan.

WHD_COUNTRY_KAZAKHSTAN 

KZ Kazakhstan.

WHD_COUNTRY_KENYA 

KE Kenya.

WHD_COUNTRY_KIRIBATI 

KI Kiribati.

WHD_COUNTRY_KOREA_REPUBLIC_OF 

KR Korea,_Republic_Of.

WHD_COUNTRY_KOSOVO 

0A Kosovo

WHD_COUNTRY_KUWAIT 

KW Kuwait.

WHD_COUNTRY_KYRGYZSTAN 

KG Kyrgyzstan.

WHD_COUNTRY_LAO_PEOPLES_DEMOCRATIC_REPUBIC 

LA Lao_People's_Democratic_Repubic.

WHD_COUNTRY_LATVIA 

LV Latvia.

WHD_COUNTRY_LEBANON 

LB Lebanon.

WHD_COUNTRY_LESOTHO 

LS Lesotho.

WHD_COUNTRY_LIBERIA 

LR Liberia.

WHD_COUNTRY_LIBYAN_ARAB_JAMAHIRIYA 

LY Libyan_Arab_Jamahiriya.

WHD_COUNTRY_LIECHTENSTEIN 

LI Liechtenstein.

WHD_COUNTRY_LITHUANIA 

LT Lithuania.

WHD_COUNTRY_LUXEMBOURG 

LU Luxembourg.

WHD_COUNTRY_MACAO 

MO Macao.

WHD_COUNTRY_MACEDONIA_FORMER_YUGOSLAV_REPUBLIC_OF 

MK Macedonia,_Former_Yugoslav_Republic_Of.

WHD_COUNTRY_MADAGASCAR 

MG Madagascar.

WHD_COUNTRY_MALAWI 

MW Malawi.

WHD_COUNTRY_MALAYSIA 

MY Malaysia.

WHD_COUNTRY_MALDIVES 

MV Maldives.

WHD_COUNTRY_MALI 

ML Mali.

WHD_COUNTRY_MALTA 

MT Malta.

WHD_COUNTRY_MAN_ISLE_OF 

IM Man,_Isle_Of.

WHD_COUNTRY_MARTINIQUE 

MQ Martinique.

WHD_COUNTRY_MAURITANIA 

MR Mauritania.

WHD_COUNTRY_MAURITIUS 

MU Mauritius.

WHD_COUNTRY_MAYOTTE 

YT Mayotte.

WHD_COUNTRY_MEXICO 

MX Mexico.

WHD_COUNTRY_MICRONESIA_FEDERATED_STATES_OF 

FM Micronesia,_Federated_States_Of.

WHD_COUNTRY_MOLDOVA_REPUBLIC_OF 

MD Moldova,_Republic_Of.

WHD_COUNTRY_MONACO 

MC Monaco.

WHD_COUNTRY_MONGOLIA 

MN Mongolia.

WHD_COUNTRY_MONTENEGRO 

ME Montenegro.

WHD_COUNTRY_MONTSERRAT 

MS Montserrat.

WHD_COUNTRY_MOROCCO 

MA Morocco.

WHD_COUNTRY_MOZAMBIQUE 

MZ Mozambique.

WHD_COUNTRY_MYANMAR 

MM Myanmar.

WHD_COUNTRY_NAMIBIA 

NA Namibia.

WHD_COUNTRY_NAURU 

NR Nauru.

WHD_COUNTRY_NEPAL 

NP Nepal.

WHD_COUNTRY_NETHERLANDS 

NL Netherlands.

WHD_COUNTRY_NETHERLANDS_ANTILLES 

AN Netherlands_Antilles.

WHD_COUNTRY_NEW_CALEDONIA 

NC New_Caledonia.

WHD_COUNTRY_NEW_ZEALAND 

NZ New_Zealand.

WHD_COUNTRY_NICARAGUA 

NI Nicaragua.

WHD_COUNTRY_NIGER 

NE Niger.

WHD_COUNTRY_NIGERIA 

NG Nigeria.

WHD_COUNTRY_NORFOLK_ISLAND 

NF Norfolk_Island.

WHD_COUNTRY_NORTHERN_MARIANA_ISLANDS 

MP Northern_Mariana_Islands.

WHD_COUNTRY_NORWAY 

NO Norway.

WHD_COUNTRY_OMAN 

OM Oman.

WHD_COUNTRY_PAKISTAN 

PK Pakistan.

WHD_COUNTRY_PALAU 

PW Palau.

WHD_COUNTRY_PANAMA 

PA Panama.

WHD_COUNTRY_PAPUA_NEW_GUINEA 

PG Papua_New_Guinea.

WHD_COUNTRY_PARAGUAY 

PY Paraguay.

WHD_COUNTRY_PERU 

PE Peru.

WHD_COUNTRY_PHILIPPINES 

PH Philippines.

WHD_COUNTRY_POLAND 

PL Poland.

WHD_COUNTRY_PORTUGAL 

PT Portugal.

WHD_COUNTRY_PUETO_RICO 

PR Pueto_Rico.

WHD_COUNTRY_QATAR 

QA Qatar.

WHD_COUNTRY_REUNION 

RE Reunion.

WHD_COUNTRY_ROMANIA 

RO Romania.

WHD_COUNTRY_RUSSIAN_FEDERATION 

RU Russian_Federation.

WHD_COUNTRY_RWANDA 

RW Rwanda.

WHD_COUNTRY_SAINT_KITTS_AND_NEVIS 

KN Saint_Kitts_and_Nevis.

WHD_COUNTRY_SAINT_LUCIA 

LC Saint_Lucia.

WHD_COUNTRY_SAINT_PIERRE_AND_MIQUELON 

PM Saint_Pierre_and_Miquelon.

WHD_COUNTRY_SAINT_VINCENT_AND_THE_GRENADINES 

VC Saint_Vincent_and_The_Grenadines.

WHD_COUNTRY_SAMOA 

WS Samoa.

WHD_COUNTRY_SANIT_MARTIN_SINT_MARTEEN 

MF Sanit_Martin_/_Sint_Marteen.

WHD_COUNTRY_SAO_TOME_AND_PRINCIPE 

ST Sao_Tome_and_Principe.

WHD_COUNTRY_SAUDI_ARABIA 

SA Saudi_Arabia.

WHD_COUNTRY_SENEGAL 

SN Senegal.

WHD_COUNTRY_SERBIA 

RS Serbia.

WHD_COUNTRY_SEYCHELLES 

SC Seychelles.

WHD_COUNTRY_SIERRA_LEONE 

SL Sierra_Leone.

WHD_COUNTRY_SINGAPORE 

SG Singapore.

WHD_COUNTRY_SLOVAKIA 

SK Slovakia.

WHD_COUNTRY_SLOVENIA 

SI Slovenia.

WHD_COUNTRY_SOLOMON_ISLANDS 

SB Solomon_Islands.

WHD_COUNTRY_SOMALIA 

SO Somalia.

WHD_COUNTRY_SOUTH_AFRICA 

ZA South_Africa.

WHD_COUNTRY_SPAIN 

ES Spain.

WHD_COUNTRY_SRI_LANKA 

LK Sri_Lanka.

WHD_COUNTRY_SURINAME 

SR Suriname.

WHD_COUNTRY_SWAZILAND 

SZ Swaziland.

WHD_COUNTRY_SWEDEN 

SE Sweden.

WHD_COUNTRY_SWITZERLAND 

CH Switzerland.

WHD_COUNTRY_SYRIAN_ARAB_REPUBLIC 

SY Syrian_Arab_Republic.

WHD_COUNTRY_TAIWAN_PROVINCE_OF_CHINA 

TW Taiwan,_Province_Of_China.

WHD_COUNTRY_TAJIKISTAN 

TJ Tajikistan.

WHD_COUNTRY_TANZANIA_UNITED_REPUBLIC_OF 

TZ Tanzania,_United_Republic_Of.

WHD_COUNTRY_THAILAND 

TH Thailand.

WHD_COUNTRY_TOGO 

TG Togo.

WHD_COUNTRY_TONGA 

TO Tonga.

WHD_COUNTRY_TRINIDAD_AND_TOBAGO 

TT Trinidad_and_Tobago.

WHD_COUNTRY_TUNISIA 

TN Tunisia.

WHD_COUNTRY_TURKEY 

TR Turkey.

WHD_COUNTRY_TURKMENISTAN 

TM Turkmenistan.

WHD_COUNTRY_TURKS_AND_CAICOS_ISLANDS 

TC Turks_and_Caicos_Islands.

WHD_COUNTRY_TUVALU 

TV Tuvalu.

WHD_COUNTRY_UGANDA 

UG Uganda.

WHD_COUNTRY_UKRAINE 

UA Ukraine.

WHD_COUNTRY_UNITED_ARAB_EMIRATES 

AE United_Arab_Emirates.

WHD_COUNTRY_UNITED_KINGDOM 

GB United_Kingdom.

WHD_COUNTRY_UNITED_STATES 

US United_States.

WHD_COUNTRY_UNITED_STATES_REV4 

US United_States Revision 4.

WHD_COUNTRY_UNITED_STATES_REV931 

Q1 United_States Revision 931.

WHD_COUNTRY_UNITED_STATES_NO_DFS 

Q2 United_States_(No_DFS)

WHD_COUNTRY_UNITED_STATES_MINOR_OUTLYING_ISLANDS 

UM United_States_Minor_Outlying_Islands.

WHD_COUNTRY_URUGUAY 

UY Uruguay.

WHD_COUNTRY_UZBEKISTAN 

UZ Uzbekistan.

WHD_COUNTRY_VANUATU 

VU Vanuatu.

WHD_COUNTRY_VENEZUELA 

VE Venezuela.

WHD_COUNTRY_VIET_NAM 

VN Viet_Nam.

WHD_COUNTRY_VIRGIN_ISLANDS_BRITISH 

VG Virgin_Islands,_British.

WHD_COUNTRY_VIRGIN_ISLANDS_US 

VI Virgin_Islands,_U.S.

WHD_COUNTRY_WALLIS_AND_FUTUNA 

WF Wallis_and_Futuna.

WHD_COUNTRY_WEST_BANK 

0C West_Bank

WHD_COUNTRY_WESTERN_SAHARA 

EH Western_Sahara.

WHD_COUNTRY_WORLD_WIDE_XV_REV983 

Worldwide Locale Revision 983.

WHD_COUNTRY_WORLD_WIDE_XX 

Worldwide Locale (passive Ch12-14)

WHD_COUNTRY_WORLD_WIDE_XX_REV17 

Worldwide Locale (passive Ch12-14) Revision 17.

WHD_COUNTRY_YEMEN 

YE Yemen.

WHD_COUNTRY_ZAMBIA 

ZM Zambia.

WHD_COUNTRY_ZIMBABWE 

ZW Zimbabwe.

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.

Enumeration of applicable packet mask bits for custom Information Elements (IEs)

Enumerator
VENDOR_IE_BEACON 

Denotes beacon packet.

VENDOR_IE_PROBE_RESPONSE 

Denotes probe response packet.

VENDOR_IE_ASSOC_RESPONSE 

Denotes association response packet.

VENDOR_IE_AUTH_RESPONSE 

Denotes authentication response packet.

VENDOR_IE_PROBE_REQUEST 

Denotes probe request packet.

VENDOR_IE_ASSOC_REQUEST 

Denotes association request packet.

VENDOR_IE_CUSTOM 

Denotes a custom IE(Information Element) identifier.

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.

Enumerator
WHD_PACKET_FILTER_RULE_POSITIVE_MATCHING 

Specifies that a filter should match a given pattern.

WHD_PACKET_FILTER_RULE_NEGATIVE_MATCHING 

Specifies that a filter should NOT match a given pattern.

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.

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.

Enumeration of methods of scanning.

Enumerator
WHD_SCAN_TYPE_ACTIVE 

Actively scan a network by sending 802.11 probe(s)

WHD_SCAN_TYPE_PASSIVE 

Passively scan a network by listening for beacons from APs.

WHD_SCAN_TYPE_PNO 

Use preferred network offload to detect an AP.

WHD_SCAN_TYPE_PROHIBITED_CHANNELS 

Permit (passively) scanning a channel that isn't valid for the current country.

WHD_SCAN_TYPE_NO_BSSID_FILTER 

Return a scan record for each beacon or probe response RX'ed.

Definition at line 219 of file whd_types.h.

Enumeration of Wi-Fi security modes.

Enumerator
WHD_SECURITY_OPEN 

Open security.

WHD_SECURITY_WEP_PSK 

Flag to enable WEP Security.

WEP PSK Security with open authentication

WHD_SECURITY_WEP_SHARED 

WEP PSK Security with shared authentication.

WHD_SECURITY_WPA_TKIP_PSK 

WPA PSK Security with TKIP.

WHD_SECURITY_WPA_AES_PSK 

WPA PSK Security with AES.

WHD_SECURITY_WPA_MIXED_PSK 

WPA PSK Security with AES & TKIP.

WHD_SECURITY_WPA2_AES_PSK 

WPA2 PSK Security with AES.

WHD_SECURITY_WPA2_TKIP_PSK 

WPA2 PSK Security with TKIP.

WHD_SECURITY_WPA2_MIXED_PSK 

WPA2 PSK Security with AES & TKIP.

WHD_SECURITY_WPA2_FBT_PSK 

WPA2 FBT PSK Security with AES & TKIP.

WHD_SECURITY_WPA3_SAE 

WPA3 Security with AES.

WHD_SECURITY_WPA2_WPA_AES_PSK 

WPA2 WPA PSK Security with AES.

WHD_SECURITY_WPA2_WPA_MIXED_PSK 

WPA2 WPA PSK Security with AES & TKIP.

WHD_SECURITY_WPA3_WPA2_PSK 

WPA3 WPA2 PSK Security with AES.

WHD_SECURITY_WPA_TKIP_ENT 

WPA Enterprise Security with TKIP.

WHD_SECURITY_WPA_AES_ENT 

WPA Enterprise Security with AES.

WHD_SECURITY_WPA_MIXED_ENT 

WPA Enterprise Security with AES & TKIP.

WHD_SECURITY_WPA2_TKIP_ENT 

WPA2 Enterprise Security with TKIP.

WHD_SECURITY_WPA2_AES_ENT 

WPA2 Enterprise Security with AES.

WHD_SECURITY_WPA2_MIXED_ENT 

WPA2 Enterprise Security with AES & TKIP.

WHD_SECURITY_WPA2_FBT_ENT 

WPA2 Enterprise Security with AES & FBT.

WHD_SECURITY_IBSS_OPEN 

Open security on IBSS ad-hoc network.

WHD_SECURITY_WPS_SECURE 

Flag to enable AES Encryption.

WPS with AES security

WHD_SECURITY_UNKNOWN 

May be returned by scan function if security is unknown.

Do not pass this to the join function!

WHD_SECURITY_FORCE_32_BIT 

Exists only to force whd_security_t type to 32 bits.

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.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.