5.13.0.0R1
Software Development Kit
wwd_constants.h File Reference

Macros

#define WL_NAN_TTL_UNTIL_CANCEL   0xFFFFFFFF
 
#define WLAN_RESULT_LIST(prefix)
 
#define WWD_RESULT_LIST(prefix)
 

Enumerations

Detailed Description

Defines common constants used with WICED

Macro Definition Documentation

#define WL_NAN_TTL_UNTIL_CANCEL   0xFFFFFFFF

Special values for time to live (ttl) parameter

#define WLAN_RESULT_LIST (   prefix)

Disabled in this build

#define WWD_RESULT_LIST (   prefix)

CLM blob download failed

Enumeration Type Documentation

Enumeration of 802.11 radio bands

Enumerator
WICED_802_11_BAND_5GHZ 

Denotes 5GHz radio band

WICED_802_11_BAND_2_4GHZ 

Denotes 2.4GHz radio band

Enumerated list of aggregate codes and edit WICED_COUNTRY_AGGREGATE_CUSTOMER for supporting new aggregate as per customer like XZ/278

Enumeration of antenna selection options

Enumerator
WICED_ANTENNA_1 

Denotes antenna 1

WICED_ANTENNA_2 

Denotes antenna 2

WICED_ANTENNA_AUTO 

Denotes auto diversity, the best antenna is automatically selected

  • * Structure for storing status of auth event
Enumerator
WICED_AUTH_EXT_REQ 

Request authentication received

WICED_AUTH_EXT_FRAME_RX 

Authentication frame received

Boolean values

Enumeration of network types

Enumerator
WICED_BSS_TYPE_INFRASTRUCTURE 

Denotes infrastructure network

WICED_BSS_TYPE_ADHOC 

Denotes an 802.11 ad-hoc IBSS network

WICED_BSS_TYPE_ANY 

Denotes either infrastructure or ad-hoc network

WICED_BSS_TYPE_MESH 

Denotes 802.11 mesh network

WICED_BSS_TYPE_UNKNOWN 

May be returned by scan function if BSS type is unknown. Do not pass this to the Join function

Enumerated list of country codes

Enumeration of custom IE management actions

Enumerator
WICED_ADD_CUSTOM_IE 

Add a custom IE

WICED_REMOVE_CUSTOM_IE 

Remove a custom IE

List of HT modes supported

Enumerator
WICED_HT_MODE_HT20 

HT20 mode is set on the band

WICED_HT_MODE_HT40 

HT40 mode is set on the band

WICED_HT_MODE_HT_MIX 

HT20 mode is set for 2.4 band and HT40 is set for 5 GHz band

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 identifier

Enumeration of IP header Type of Service (TOS) values, which map to 802.11 QoS traffic classes

Enumerator
TOS_VO7 

0xE0, 111 0 0000 (7) AC_VO tos/dscp values

TOS_VO 

0xD0, 110 0 0000 (6) AC_VO

TOS_VI 

0xA0, 101 0 0000 (5) AC_VI

TOS_VI4 

0x80, 100 0 0000 (4) AC_VI

TOS_BE 

0x00, 000 0 0000 (0) AC_BE

TOS_EE 

0x60, 011 0 0000 (3) AC_BE

TOS_BK 

0x20, 001 0 0000 (1) AC_BK

TOS_LE 

0x40, 010 0 0000 (2) AC_BK

Enumeration of listen interval time unit types

Enumerator
WICED_LISTEN_INTERVAL_TIME_UNIT_BEACON 

Time units specified in beacon periods

WICED_LISTEN_INTERVAL_TIME_UNIT_DTIM 

Time units specified in DTIM periods

Enumeration of packet filter modes

Enumerator
WICED_PACKET_FILTER_MODE_FORWARD 

Packet filter engine forwards matching packets, discards non-matching packets

WICED_PACKET_FILTER_MODE_DISCARD 

Packet filter engine discards matching packets, forwards non-matching packets

Enumeration of packet filter rules

Enumerator
WICED_PACKET_FILTER_RULE_POSITIVE_MATCHING 

Specifies that a filter should match a given pattern

WICED_PACKET_FILTER_RULE_NEGATIVE_MATCHING 

Specifies that a filter should NOT match a given pattern

Enumeration of 802.11 QoS, i.e. WMM, traffic classes

Enumerator
WMM_AC_BE 

Best Effort

WMM_AC_BK 

Background

WMM_AC_VI 

Video

WMM_AC_VO 

Voice

Enumeration of scan result flags

Enumerator
WICED_SCAN_RESULT_FLAG_RSSI_OFF_CHANNEL 

RSSI came from an off channel DSSS (1 or 1 Mb) Rx

WICED_SCAN_RESULT_FLAG_BEACON 

Beacon (vs probe response)

Enumeration of methods of scanning

Enumerator
WICED_SCAN_TYPE_ACTIVE 

Actively scan a network by sending 802.11 probe(s)

WICED_SCAN_TYPE_PASSIVE 

Passively scan a network by listening for beacons from APs

WICED_SCAN_TYPE_PNO 

Use preferred network offload to detect an AP

WICED_SCAN_TYPE_PROHIBITED_CHANNELS 

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

WICED_SCAN_TYPE_NO_BSSID_FILTER 

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

Enumeration of Wi-Fi security modes

Enumerator
WICED_SECURITY_OPEN 

Open security

WICED_SECURITY_WEP_PSK 

WEP PSK Security with open authentication

WICED_SECURITY_WEP_SHARED 

WEP PSK Security with shared authentication

WICED_SECURITY_WPA_TKIP_PSK 

WPA PSK Security with TKIP

WICED_SECURITY_WPA_AES_PSK 

WPA PSK Security with AES

WICED_SECURITY_WPA_MIXED_PSK 

WPA PSK Security with AES & TKIP

WICED_SECURITY_WPA2_AES_PSK 

WPA2 PSK Security with AES

WICED_SECURITY_WPA2_TKIP_PSK 

WPA2 PSK Security with TKIP

WICED_SECURITY_WPA2_MIXED_PSK 

WPA2 PSK Security with AES & TKIP

WICED_SECURITY_WPA2_FBT_PSK 

WPA2 FBT PSK Security with AES & TKIP

WICED_SECURITY_WPA3_SAE 

WPA3 Security with AES

WICED_SECURITY_WPA3_WPA2_PSK 

WPA3 WPA2 PSK Security with AES

WICED_SECURITY_WPA_TKIP_ENT 

WPA Enterprise Security with TKIP

WICED_SECURITY_WPA_AES_ENT 

WPA Enterprise Security with AES

WICED_SECURITY_WPA_MIXED_ENT 

WPA Enterprise Security with AES & TKIP

WICED_SECURITY_WPA2_TKIP_ENT 

WPA2 Enterprise Security with TKIP

WICED_SECURITY_WPA2_AES_ENT 

WPA2 Enterprise Security with AES

WICED_SECURITY_WPA2_MIXED_ENT 

WPA2 Enterprise Security with AES & TKIP

WICED_SECURITY_IBSS_OPEN 

Open security on IBSS ad-hoc network

WICED_SECURITY_WPS_OPEN 

WPS with open security

WICED_SECURITY_WPS_SECURE 

WPS with AES security

WICED_SECURITY_UNKNOWN 

May be returned by scan function if security is unknown. Do not pass this to the join function!

WICED_SECURITY_FORCE_32_BIT 

Exists only to force wiced_security_t type to 32 bits

Enumerator
WL_CNT_XTLV_WLC 

WLC layer counters

WL_CNT_XTLV_WLC_RINIT_RSN 

WLC layer reinitreason extension

WL_CNT_XTLV_CNTV_LE10_UCODE 

wl counter ver < 11 UCODE MACSTAT

WL_CNT_XTLV_LT40_UCODE_V1 

corerev < 40 UCODE MACSTAT

WL_CNT_XTLV_GE40_UCODE_V1 

corerev >= 40 UCODE MACSTAT

Enumeration of Dot11 Reason Codes

Enumerator
WWD_DOT11_RC_RESERVED 

Reserved

WWD_DOT11_RC_UNSPECIFIED 

Unspecified

Enumeration of WICED interfaces.

Note
The config interface is a virtual interface that shares the softAP interface
Enumerator
WWD_STA_INTERFACE 

STA or Client Interface

WWD_AP_INTERFACE 

softAP Interface

WWD_P2P_INTERFACE 

P2P Interface

WWD_ETHERNET_INTERFACE 

Ethernet Interface

WWD_INTERFACE_FORCE_32_BIT 

DO NOT USE - MUST BE LAST INTERFACE VALUE - used for counting interfaces Exists only to force wwd_interface_t type to 32 bits

I/O State Values

Definitions of different NAN Bands

Common result type for WICED functions