Wi-Fi Connection Manager Library
WCM-specific error codes

General Description

Infineon middleware APIs return results of type cy_rslt_t.

It consists of three parts:

Result format
           Module base                   Type    Library-specific error code
   +-----------------------------------+------+------------------------------+
   |CY_RSLT_MODULE_WCM_BASE            | 0x2  |           Error code         |
   +-----------------------------------+------+------------------------------+
             14-bits                    2-bits            16-bits

See the macro section of this document for library-specific error codes.

The data structure cy_rslt_t is part of cy_result.h located in <core_lib/include>.

Module base: This base is derived from CY_RSLT_MODULE_MIDDLEWARE_BASE (defined in cy_result.h) and is an offset of the CY_RSLT_MODULE_MIDDLEWARE_BASE. The details of the offset and the middleware base are defined in cy_result_mw.h, that is part of GitHub connectivity-utilities For example, Wi-Fi Connection Manager (WCM) uses CY_RSLT_MODULE_WCM_BASE as the module base.

Type: This type is defined in cy_result.h and can be one of CY_RSLT_TYPE_FATAL, CY_RSLT_TYPE_ERROR, CY_RSLT_TYPE_WARNING, or CY_RSLT_TYPE_INFO. AWS library error codes are of type CY_RSLT_TYPE_ERROR.

Library-specific error codes: These error codes are library-specific and defined in the macro section.

Helper macros used for creating the library-specific result are provided as part of cy_result.h.

Macros

#define CY_RSLT_WCM_ERR_BASE   CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_WCM_BASE, 0)
 Generic WCM base error code.
 
#define CY_RSLT_WCM_WAIT_TIMEOUT   (CY_RSLT_WCM_ERR_BASE + 1)
 WCM error codes. More...
 
#define CY_RSLT_WCM_BAD_NETWORK_PARAM   (CY_RSLT_WCM_ERR_BASE + 2)
 Bad network parameters. More...
 
#define CY_RSLT_WCM_BAD_SSID_LEN   (CY_RSLT_WCM_ERR_BASE + 3)
 Bad SSID length. More...
 
#define CY_RSLT_WCM_SECURITY_NOT_SUPPORTED   (CY_RSLT_WCM_ERR_BASE + 4)
 Security not supported. More...
 
#define CY_RSLT_WCM_BAD_PASSPHRASE_LEN   (CY_RSLT_WCM_ERR_BASE + 5)
 Bad passphrase length. More...
 
#define CY_RSLT_WCM_BAD_ARG   (CY_RSLT_WCM_ERR_BASE + 6)
 Bad argument. More...
 
#define CY_RSLT_WCM_INTERFACE_NOT_SUPPORTED   (CY_RSLT_WCM_ERR_BASE + 7)
 Interface type not supported. More...
 
#define CY_RSLT_WCM_MUTEX_ERROR   (CY_RSLT_WCM_ERR_BASE + 8)
 Mutex error. More...
 
#define CY_RSLT_WCM_STA_DISCONNECT_ERROR   (CY_RSLT_WCM_ERR_BASE + 9)
 STA disconnect error. More...
 
#define CY_RSLT_WCM_STA_NETWORK_DOWN   (CY_RSLT_WCM_ERR_BASE + 10)
 STA network is down. More...
 
#define CY_RSLT_WCM_BSP_INIT_ERROR   (CY_RSLT_WCM_ERR_BASE + 11)
 CY BSP initialization error. More...
 
#define CY_RSLT_WCM_BSP_DEINIT_ERROR   (CY_RSLT_WCM_ERR_BASE + 12)
 CY BSP error while de-initialization. More...
 
#define CY_RSLT_WCM_NO_ACTIVE_SCAN   (CY_RSLT_WCM_ERR_BASE + 13)
 No active scan running currently. More...
 
#define CY_RSLT_WCM_SCAN_IN_PROGRESS   (CY_RSLT_WCM_ERR_BASE + 14)
 Scan in progress. More...
 
#define CY_RSLT_WCM_SCAN_ERROR   (CY_RSLT_WCM_ERR_BASE + 15)
 Scan error. More...
 
#define CY_RSLT_WCM_STOP_SCAN_ERROR   (CY_RSLT_WCM_ERR_BASE + 16)
 Stop scan error. More...
 
#define CY_RSLT_WCM_BAND_NOT_SUPPORTED   (CY_RSLT_WCM_ERR_BASE + 17)
 BAND not supported. More...
 
#define CY_RSLT_WCM_OUT_OF_MEMORY   (CY_RSLT_WCM_ERR_BASE + 18)
 WCM out of memory error. More...
 
#define CY_RSLT_WCM_CHANNEL_ERROR   (CY_RSLT_WCM_ERR_BASE + 19)
 Error in retrieving the Wi-Fi channel. More...
 
#define CY_RSLT_WCM_NETIF_DOES_NOT_EXIST   (CY_RSLT_WCM_ERR_BASE + 20)
 Network interface does not exist. More...
 
#define CY_RSLT_WCM_ARP_REQUEST_FAILURE   (CY_RSLT_WCM_ERR_BASE + 21)
 Error returned for ARP request failure. More...
 
#define CY_RSLT_WCM_IPV6_GLOBAL_ADDRESS_NOT_SUPPORTED   (CY_RSLT_WCM_ERR_BASE + 22)
 IPv6 global IP not supported. More...
 
#define CY_RSLT_WCM_IPV6_INTERFACE_NOT_READY   (CY_RSLT_WCM_ERR_BASE + 23)
 IPv6 interface not ready. More...
 
#define CY_RSLT_WCM_PING_FAILURE   (CY_RSLT_WCM_ERR_BASE + 24)
 Failure in executing ping. More...
 
#define CY_RSLT_WCM_PING_REQUEST_TIMEOUT   (CY_RSLT_WCM_ERR_BASE + 25)
 Ping request timed out. More...
 
#define CY_RSLT_WCM_STATIC_IP_NOT_SUPPORTED   (CY_RSLT_WCM_ERR_BASE + 26)
 Static IP address not supported for IPv6. More...
 
#define CY_RSLT_WCM_BAD_STATIC_IP   (CY_RSLT_WCM_ERR_BASE + 27)
 Bad Static IP address. More...
 
#define CY_RSLT_WCM_SECONDARY_INTERFACE_ERROR   (CY_RSLT_WCM_ERR_BASE + 28)
 Error in bringing up the secondary interface.
 
#define CY_RSLT_WCM_AP_NETWORK_BRINGUP_ERROR   (CY_RSLT_WCM_ERR_BASE + 29)
 AP network bring up error. More...
 
#define CY_RSLT_WCM_AP_BAD_CHANNEL   (CY_RSLT_WCM_ERR_BASE + 30)
 Bad AP channel number. More...
 
#define CY_RSLT_WCM_AP_IE_REMOVAL_ERROR   (CY_RSLT_WCM_ERR_BASE + 31)
 AP IE removal error. More...
 
#define CY_RSLT_WCM_INVALID_IE   (CY_RSLT_WCM_ERR_BASE + 32)
 Invalid IE. More...
 
#define CY_RSLT_WCM_AP_NOT_UP   (CY_RSLT_WCM_ERR_BASE + 33)
 SoftAP is not started. More...
 
#define CY_RSLT_WCM_AP_ALREADY_UP   (CY_RSLT_WCM_ERR_BASE + 34)
 SoftAP is already started

 
#define CY_RSLT_WCM_INTERFACE_NOT_UP   (CY_RSLT_WCM_ERR_BASE + 35)
 Interface is not initialized. More...
 
#define CY_RSLT_WCM_NOT_INITIALIZED   (CY_RSLT_WCM_ERR_BASE + 36)
 WCM not initialized. More...
 
#define CY_RSLT_WCM_SEMAPHORE_ERROR   (CY_RSLT_WCM_ERR_BASE + 37)
 Semaphore error. More...
 
#define CY_RSLT_WCM_SECURITY_NOT_FOUND   (CY_RSLT_WCM_ERR_BASE + 38)
 Security type could not be determined. More...
 
#define CY_RSLT_WCM_CONNECT_IN_PROGRESS   (CY_RSLT_WCM_ERR_BASE + 39)
 Connect to AP is in progress. More...
 
#define CY_RSLT_WCM_GATEWAY_ADDR_ERROR   (CY_RSLT_WCM_ERR_BASE + 40)
 Failed to get the Gateway address. More...
 
#define CY_RSLT_WCM_NETMASK_ADDR_ERROR   (CY_RSLT_WCM_ERR_BASE + 41)
 Failed to get the netmask address. More...
 
#define CY_RSLT_WCM_IP_ADDR_ERROR   (CY_RSLT_WCM_ERR_BASE + 42)
 Failed to get the IP address. More...
 
#define CY_RSLT_WCM_GATEWAY_MAC_ADDR_ERROR   (CY_RSLT_WCM_ERR_BASE + 43)
 Failed to get the Gateway MAC address. More...
 
#define CY_RSLT_WCM_NW_INIT_ERROR   (CY_RSLT_WCM_ERR_BASE + 44)
 Failed to initialize the network stack. More...
 
#define CY_RSLT_WCM_WPS_PBC_OVERLAP   (CY_RSLT_WCM_ERR_BASE + 45)
 WPS error codes. More...
 
#define CY_RSLT_WCM_WPS_ERROR_RECEIVED_WEP_CREDENTIALS   (CY_RSLT_WCM_ERR_BASE + 46)
 WPS received incorrect credentials. More...
 
#define CY_RSLT_WCM_WPS_FAILED   (CY_RSLT_WCM_ERR_BASE + 47)
 WPS PBC/PIN mode failed. More...
 
#define CY_RSLT_WCM_DHCP_TIMEOUT   (CY_RSLT_WCM_ERR_BASE + 48)
 DHCP error code. More...
 
#define CY_RSLT_WCM_WPA3_SUPPLICANT_ERROR   (CY_RSLT_WCM_ERR_BASE + 49)
 WPA3 supplicant error code. More...
 
#define CY_RSLT_WCM_UNSUPPORTED_API   (CY_RSLT_WCM_ERR_BASE + 50)
 Unsupported WCM API error code. More...
 
#define CY_RSLT_WCM_VCM_ERROR   (CY_RSLT_WCM_ERR_BASE + 51)
 VCM error code. More...
 
#define CY_RSLT_WCM_POWERSAVE_MODE_NOT_SUPPORTED   (CY_RSLT_WCM_ERR_BASE + 52)
 Powersave Mode error code. More...
 

Enumerations

enum  cy_wcm_reason_code {
  CY_WCM_REASON_INITIAL_ASSOC = 0 ,
  CY_WCM_REASON_LOW_RSSI = 1 ,
  CY_WCM_REASON_DEAUTH = 2 ,
  CY_WCM_REASON_DISASSOC = 3 ,
  CY_WCM_REASON_BCNS_LOST = 4 ,
  CY_WCM_REASON_FAST_ROAM_FAILED = 5 ,
  CY_WCM_REASON_DIRECTED_ROAM = 6 ,
  CY_WCM_REASON_TSPEC_REJECTED = 7 ,
  CY_WCM_REASON_BETTER_AP = 8 ,
  CY_WCM_REASON_NAN_EVENT_STATUS_CHG = 9 ,
  CY_WCM_REASON_NAN_EVENT_MERGE = 10 ,
  CY_WCM_REASON_NAN_EVENT_STOP = 11 ,
  CY_WCM_REASON_NAN_EVENT_P2P = 12 ,
  CY_WCM_REASON_NAN_EVENT_WINDOW_BEGIN_P2P = 13 ,
  CY_WCM_REASON_NAN_EVENT_WINDOW_BEGIN_MESH = 14 ,
  CY_WCM_REASON_NAN_EVENT_WINDOW_BEGIN_IBSS = 15 ,
  CY_WCM_REASON_NAN_EVENT_WINDOW_BEGIN_RANGING = 16 ,
  CY_WCM_REASON_NAN_EVENT_POST_DISC = 17 ,
  CY_WCM_REASON_NAN_EVENT_DATA_IF_ADD = 18 ,
  CY_WCM_REASON_NAN_EVENT_DATA_PEER_ADD = 19 ,
  CY_WCM_REASON_NAN_EVENT_DATA_IND = 20 ,
  CY_WCM_REASON_NAN_EVENT_DATA_CONF = 21 ,
  CY_WCM_REASON_NAN_EVENT_SDF_RX = 22 ,
  CY_WCM_REASON_NAN_EVENT_DATA_END = 23 ,
  CY_WCM_REASON_NAN_EVENT_BCN_RX = 24 ,
  CY_WCM_REASON_PRUNE_ENCR_MISMATCH = 257 ,
  CY_WCM_REASON_PRUNE_BCAST_BSSID = 258 ,
  CY_WCM_REASON_PRUNE_MAC_DENY = 259 ,
  CY_WCM_REASON_PRUNE_MAC_NA = 260 ,
  CY_WCM_REASON_PRUNE_REG_PASSV = 261 ,
  CY_WCM_REASON_PRUNE_SPCT_MGMT = 262 ,
  CY_WCM_REASON_PRUNE_RADAR = 263 ,
  CY_WCM_REASON_RSN_MISMATCH = 264 ,
  CY_WCM_REASON_PRUNE_NO_COMMON_RATES = 265 ,
  CY_WCM_REASON_PRUNE_BASIC_RATES = 266 ,
  CY_WCM_REASON_PRUNE_CCXFAST_PREVAP = 267 ,
  CY_WCM_REASON_PRUNE_CIPHER_NA = 268 ,
  CY_WCM_REASON_PRUNE_KNOWN_STA = 269 ,
  CY_WCM_REASON_PRUNE_CCXFAST_DROAM = 270 ,
  CY_WCM_REASON_PRUNE_WDS_PEER = 271 ,
  CY_WCM_REASON_PRUNE_QBSS_LOAD = 272 ,
  CY_WCM_REASON_PRUNE_HOME_AP = 273 ,
  CY_WCM_REASON_PRUNE_AP_BLOCKED = 274 ,
  CY_WCM_REASON_PRUNE_NO_DIAG_SUPPORT = 275 ,
  CY_WCM_REASON_SUP_OTHER = 512 ,
  CY_WCM_REASON_SUP_DECRYPT_KEY_DATA = 513 ,
  CY_WCM_REASON_SUP_BAD_UCAST_WEP128 = 514 ,
  CY_WCM_REASON_SUP_BAD_UCAST_WEP40 = 515 ,
  CY_WCM_REASON_SUP_UNSUP_KEY_LEN = 516 ,
  CY_WCM_REASON_SUP_PW_KEY_CIPHER = 517 ,
  CY_WCM_REASON_SUP_MSG3_TOO_MANY_IE = 518 ,
  CY_WCM_REASON_SUP_MSG3_IE_MISMATCH = 519 ,
  CY_WCM_REASON_SUP_NO_INSTALL_FLAG = 520 ,
  CY_WCM_REASON_SUP_MSG3_NO_GTK = 521 ,
  CY_WCM_REASON_SUP_GRP_KEY_CIPHER = 522 ,
  CY_WCM_REASON_SUP_GRP_MSG1_NO_GTK = 523 ,
  CY_WCM_REASON_SUP_GTK_DECRYPT_FAIL = 524 ,
  CY_WCM_REASON_SUP_SEND_FAIL = 525 ,
  CY_WCM_REASON_SUP_DEAUTH = 526 ,
  CY_WCM_REASON_SUP_WPA_PSK_TMO = 527 ,
  CY_WCM_DOT11_RC_RESERVED = 768 ,
  CY_WCM_DOT11_RC_UNSPECIFIED = 769 ,
  CY_WCM_DOT11_RC_AUTH_INVAL = 770 ,
  CY_WCM_DOT11_RC_DEAUTH_LEAVING = 771 ,
  CY_WCM_DOT11_RC_INACTIVITY = 772 ,
  CY_WCM_DOT11_RC_BUSY = 773 ,
  CY_WCM_DOT11_RC_INVAL_CLASS_2 = 774 ,
  CY_WCM_DOT11_RC_INVAL_CLASS_3 = 775 ,
  CY_WCM_DOT11_RC_DISASSOC_LEAVING = 776 ,
  CY_WCM_DOT11_RC_NOT_AUTH = 777 ,
  CY_WCM_DOT11_RC_BAD_PC = 778 ,
  CY_WCM_DOT11_RC_BAD_CHANNELS = 779 ,
  CY_WCM_DOT11_RC_UNSPECIFIED_QOS = 800 ,
  CY_WCM_DOT11_RC_INSUFFCIENT_BW = 801 ,
  CY_WCM_DOT11_RC_EXCESSIVE_FRAMES = 802 ,
  CY_WCM_DOT11_RC_TX_OUTSIDE_TXOP = 803 ,
  CY_WCM_DOT11_RC_LEAVING_QBSS = 804 ,
  CY_WCM_DOT11_RC_BAD_MECHANISM = 805 ,
  CY_WCM_DOT11_RC_SETUP_NEEDED = 806 ,
  CY_WCM_DOT11_RC_TIMEOUT = 807 ,
  CY_WCM_DOT11_RC_MAX = 808 ,
  CY_WCM_REASON_FORCE_32_BIT = 0x7FFFFFFE
}
 Reason codes for disconnection based on WHD enums. More...
 

Macro Definition Documentation

◆ CY_RSLT_WCM_WAIT_TIMEOUT

#define CY_RSLT_WCM_WAIT_TIMEOUT   (CY_RSLT_WCM_ERR_BASE + 1)

WCM error codes.

Wait timeout.

◆ CY_RSLT_WCM_BAD_NETWORK_PARAM

#define CY_RSLT_WCM_BAD_NETWORK_PARAM   (CY_RSLT_WCM_ERR_BASE + 2)

Bad network parameters.


◆ CY_RSLT_WCM_BAD_SSID_LEN

#define CY_RSLT_WCM_BAD_SSID_LEN   (CY_RSLT_WCM_ERR_BASE + 3)

Bad SSID length.


◆ CY_RSLT_WCM_SECURITY_NOT_SUPPORTED

#define CY_RSLT_WCM_SECURITY_NOT_SUPPORTED   (CY_RSLT_WCM_ERR_BASE + 4)

Security not supported.


◆ CY_RSLT_WCM_BAD_PASSPHRASE_LEN

#define CY_RSLT_WCM_BAD_PASSPHRASE_LEN   (CY_RSLT_WCM_ERR_BASE + 5)

Bad passphrase length.


◆ CY_RSLT_WCM_BAD_ARG

#define CY_RSLT_WCM_BAD_ARG   (CY_RSLT_WCM_ERR_BASE + 6)

Bad argument.


◆ CY_RSLT_WCM_INTERFACE_NOT_SUPPORTED

#define CY_RSLT_WCM_INTERFACE_NOT_SUPPORTED   (CY_RSLT_WCM_ERR_BASE + 7)

Interface type not supported.


◆ CY_RSLT_WCM_MUTEX_ERROR

#define CY_RSLT_WCM_MUTEX_ERROR   (CY_RSLT_WCM_ERR_BASE + 8)

Mutex error.


◆ CY_RSLT_WCM_STA_DISCONNECT_ERROR

#define CY_RSLT_WCM_STA_DISCONNECT_ERROR   (CY_RSLT_WCM_ERR_BASE + 9)

STA disconnect error.


◆ CY_RSLT_WCM_STA_NETWORK_DOWN

#define CY_RSLT_WCM_STA_NETWORK_DOWN   (CY_RSLT_WCM_ERR_BASE + 10)

STA network is down.


◆ CY_RSLT_WCM_BSP_INIT_ERROR

#define CY_RSLT_WCM_BSP_INIT_ERROR   (CY_RSLT_WCM_ERR_BASE + 11)

CY BSP initialization error.


◆ CY_RSLT_WCM_BSP_DEINIT_ERROR

#define CY_RSLT_WCM_BSP_DEINIT_ERROR   (CY_RSLT_WCM_ERR_BASE + 12)

CY BSP error while de-initialization.


◆ CY_RSLT_WCM_NO_ACTIVE_SCAN

#define CY_RSLT_WCM_NO_ACTIVE_SCAN   (CY_RSLT_WCM_ERR_BASE + 13)

No active scan running currently.


◆ CY_RSLT_WCM_SCAN_IN_PROGRESS

#define CY_RSLT_WCM_SCAN_IN_PROGRESS   (CY_RSLT_WCM_ERR_BASE + 14)

Scan in progress.


◆ CY_RSLT_WCM_SCAN_ERROR

#define CY_RSLT_WCM_SCAN_ERROR   (CY_RSLT_WCM_ERR_BASE + 15)

Scan error.


◆ CY_RSLT_WCM_STOP_SCAN_ERROR

#define CY_RSLT_WCM_STOP_SCAN_ERROR   (CY_RSLT_WCM_ERR_BASE + 16)

Stop scan error.


◆ CY_RSLT_WCM_BAND_NOT_SUPPORTED

#define CY_RSLT_WCM_BAND_NOT_SUPPORTED   (CY_RSLT_WCM_ERR_BASE + 17)

BAND not supported.


◆ CY_RSLT_WCM_OUT_OF_MEMORY

#define CY_RSLT_WCM_OUT_OF_MEMORY   (CY_RSLT_WCM_ERR_BASE + 18)

WCM out of memory error.


◆ CY_RSLT_WCM_CHANNEL_ERROR

#define CY_RSLT_WCM_CHANNEL_ERROR   (CY_RSLT_WCM_ERR_BASE + 19)

Error in retrieving the Wi-Fi channel.


◆ CY_RSLT_WCM_NETIF_DOES_NOT_EXIST

#define CY_RSLT_WCM_NETIF_DOES_NOT_EXIST   (CY_RSLT_WCM_ERR_BASE + 20)

Network interface does not exist.


◆ CY_RSLT_WCM_ARP_REQUEST_FAILURE

#define CY_RSLT_WCM_ARP_REQUEST_FAILURE   (CY_RSLT_WCM_ERR_BASE + 21)

Error returned for ARP request failure.


◆ CY_RSLT_WCM_IPV6_GLOBAL_ADDRESS_NOT_SUPPORTED

#define CY_RSLT_WCM_IPV6_GLOBAL_ADDRESS_NOT_SUPPORTED   (CY_RSLT_WCM_ERR_BASE + 22)

IPv6 global IP not supported.


◆ CY_RSLT_WCM_IPV6_INTERFACE_NOT_READY

#define CY_RSLT_WCM_IPV6_INTERFACE_NOT_READY   (CY_RSLT_WCM_ERR_BASE + 23)

IPv6 interface not ready.


◆ CY_RSLT_WCM_PING_FAILURE

#define CY_RSLT_WCM_PING_FAILURE   (CY_RSLT_WCM_ERR_BASE + 24)

Failure in executing ping.


◆ CY_RSLT_WCM_PING_REQUEST_TIMEOUT

#define CY_RSLT_WCM_PING_REQUEST_TIMEOUT   (CY_RSLT_WCM_ERR_BASE + 25)

Ping request timed out.


◆ CY_RSLT_WCM_STATIC_IP_NOT_SUPPORTED

#define CY_RSLT_WCM_STATIC_IP_NOT_SUPPORTED   (CY_RSLT_WCM_ERR_BASE + 26)

Static IP address not supported for IPv6.


◆ CY_RSLT_WCM_BAD_STATIC_IP

#define CY_RSLT_WCM_BAD_STATIC_IP   (CY_RSLT_WCM_ERR_BASE + 27)

Bad Static IP address.


◆ CY_RSLT_WCM_AP_NETWORK_BRINGUP_ERROR

#define CY_RSLT_WCM_AP_NETWORK_BRINGUP_ERROR   (CY_RSLT_WCM_ERR_BASE + 29)

AP network bring up error.


◆ CY_RSLT_WCM_AP_BAD_CHANNEL

#define CY_RSLT_WCM_AP_BAD_CHANNEL   (CY_RSLT_WCM_ERR_BASE + 30)

Bad AP channel number.


◆ CY_RSLT_WCM_AP_IE_REMOVAL_ERROR

#define CY_RSLT_WCM_AP_IE_REMOVAL_ERROR   (CY_RSLT_WCM_ERR_BASE + 31)

AP IE removal error.


◆ CY_RSLT_WCM_INVALID_IE

#define CY_RSLT_WCM_INVALID_IE   (CY_RSLT_WCM_ERR_BASE + 32)

Invalid IE.


◆ CY_RSLT_WCM_AP_NOT_UP

#define CY_RSLT_WCM_AP_NOT_UP   (CY_RSLT_WCM_ERR_BASE + 33)

SoftAP is not started.


◆ CY_RSLT_WCM_INTERFACE_NOT_UP

#define CY_RSLT_WCM_INTERFACE_NOT_UP   (CY_RSLT_WCM_ERR_BASE + 35)

Interface is not initialized.


◆ CY_RSLT_WCM_NOT_INITIALIZED

#define CY_RSLT_WCM_NOT_INITIALIZED   (CY_RSLT_WCM_ERR_BASE + 36)

WCM not initialized.


◆ CY_RSLT_WCM_SEMAPHORE_ERROR

#define CY_RSLT_WCM_SEMAPHORE_ERROR   (CY_RSLT_WCM_ERR_BASE + 37)

Semaphore error.


◆ CY_RSLT_WCM_SECURITY_NOT_FOUND

#define CY_RSLT_WCM_SECURITY_NOT_FOUND   (CY_RSLT_WCM_ERR_BASE + 38)

Security type could not be determined.


◆ CY_RSLT_WCM_CONNECT_IN_PROGRESS

#define CY_RSLT_WCM_CONNECT_IN_PROGRESS   (CY_RSLT_WCM_ERR_BASE + 39)

Connect to AP is in progress.


◆ CY_RSLT_WCM_GATEWAY_ADDR_ERROR

#define CY_RSLT_WCM_GATEWAY_ADDR_ERROR   (CY_RSLT_WCM_ERR_BASE + 40)

Failed to get the Gateway address.


◆ CY_RSLT_WCM_NETMASK_ADDR_ERROR

#define CY_RSLT_WCM_NETMASK_ADDR_ERROR   (CY_RSLT_WCM_ERR_BASE + 41)

Failed to get the netmask address.


◆ CY_RSLT_WCM_IP_ADDR_ERROR

#define CY_RSLT_WCM_IP_ADDR_ERROR   (CY_RSLT_WCM_ERR_BASE + 42)

Failed to get the IP address.


◆ CY_RSLT_WCM_GATEWAY_MAC_ADDR_ERROR

#define CY_RSLT_WCM_GATEWAY_MAC_ADDR_ERROR   (CY_RSLT_WCM_ERR_BASE + 43)

Failed to get the Gateway MAC address.


◆ CY_RSLT_WCM_NW_INIT_ERROR

#define CY_RSLT_WCM_NW_INIT_ERROR   (CY_RSLT_WCM_ERR_BASE + 44)

Failed to initialize the network stack.


◆ CY_RSLT_WCM_WPS_PBC_OVERLAP

#define CY_RSLT_WCM_WPS_PBC_OVERLAP   (CY_RSLT_WCM_ERR_BASE + 45)

WPS error codes.

WPS PBC overlap.

◆ CY_RSLT_WCM_WPS_ERROR_RECEIVED_WEP_CREDENTIALS

#define CY_RSLT_WCM_WPS_ERROR_RECEIVED_WEP_CREDENTIALS   (CY_RSLT_WCM_ERR_BASE + 46)

WPS received incorrect credentials.


◆ CY_RSLT_WCM_WPS_FAILED

#define CY_RSLT_WCM_WPS_FAILED   (CY_RSLT_WCM_ERR_BASE + 47)

WPS PBC/PIN mode failed.


◆ CY_RSLT_WCM_DHCP_TIMEOUT

#define CY_RSLT_WCM_DHCP_TIMEOUT   (CY_RSLT_WCM_ERR_BASE + 48)

DHCP error code.

DHCP timeout.

◆ CY_RSLT_WCM_WPA3_SUPPLICANT_ERROR

#define CY_RSLT_WCM_WPA3_SUPPLICANT_ERROR   (CY_RSLT_WCM_ERR_BASE + 49)

WPA3 supplicant error code.

WPA3 supplicant error.

◆ CY_RSLT_WCM_UNSUPPORTED_API

#define CY_RSLT_WCM_UNSUPPORTED_API   (CY_RSLT_WCM_ERR_BASE + 50)

Unsupported WCM API error code.

Unsupported WCM API.

◆ CY_RSLT_WCM_VCM_ERROR

#define CY_RSLT_WCM_VCM_ERROR   (CY_RSLT_WCM_ERR_BASE + 51)

VCM error code.

Failed to execute virtual API using VCM.

◆ CY_RSLT_WCM_POWERSAVE_MODE_NOT_SUPPORTED

#define CY_RSLT_WCM_POWERSAVE_MODE_NOT_SUPPORTED   (CY_RSLT_WCM_ERR_BASE + 52)

Powersave Mode error code.

Powersave mode not supported on this device.

Enumeration Type Documentation

◆ cy_wcm_reason_code

Reason codes for disconnection based on WHD enums.

Enumerator
CY_WCM_REASON_INITIAL_ASSOC 

roam reason codes

Initial assoc.

CY_WCM_REASON_LOW_RSSI 

Roamed due to low RSSI.


CY_WCM_REASON_DEAUTH 

Roamed due to DEAUTH indication.


CY_WCM_REASON_DISASSOC 

Roamed due to DISASSOC indication.

CY_WCM_REASON_BCNS_LOST 

Roamed due to lost beacons.


CY_WCM_REASON_FAST_ROAM_FAILED 

Roamed due to fast roam failure.


CY_WCM_REASON_DIRECTED_ROAM 

Roamed due to request by AP.


CY_WCM_REASON_TSPEC_REJECTED 

Roamed due to TSPEC rejection.


CY_WCM_REASON_BETTER_AP 

Roamed due to finding better AP.


CY_WCM_REASON_NAN_EVENT_STATUS_CHG 

NAN sub-events comes as a reason code with event as CY_WCM_REASON_NAN.

Generated on any change in nan_mac status.

CY_WCM_REASON_NAN_EVENT_MERGE 

Merged to a NAN cluster.


CY_WCM_REASON_NAN_EVENT_STOP 

NAN stopped.


CY_WCM_REASON_NAN_EVENT_P2P 

NAN P2P EVENT.


CY_WCM_REASON_NAN_EVENT_WINDOW_BEGIN_P2P 

XXX: Don't use the following four events: They will be cleaned up; use WL_NAN_EVENT_POST_DISC.

Event for beginning of P2P further availability window.

CY_WCM_REASON_NAN_EVENT_POST_DISC 

Event for post discovery data.


CY_WCM_REASON_NAN_EVENT_DATA_IF_ADD 

Event for Data IF add.


CY_WCM_REASON_NAN_EVENT_DATA_PEER_ADD 

Event for peer add.


CY_WCM_REASON_NAN_EVENT_DATA_IND 

nan 2.0

Data indication to host.

CY_WCM_REASON_NAN_EVENT_DATA_CONF 

Data response to host.


CY_WCM_REASON_NAN_EVENT_SDF_RX 

Entire service discovery frame.

CY_WCM_REASON_NAN_EVENT_BCN_RX 

Received beacon payload.


CY_WCM_REASON_PRUNE_ENCR_MISMATCH 

Prune reason codes.

Encryption mismatch.

CY_WCM_REASON_PRUNE_BCAST_BSSID 

AP uses a broadcast BSSID.


CY_WCM_REASON_PRUNE_MAC_DENY 

STA's MAC address is in AP's MAC deny list.


CY_WCM_REASON_PRUNE_MAC_NA 

STA's MAC addrress is not in AP's MAC allow list.

CY_WCM_REASON_PRUNE_REG_PASSV 

AP not allowed due to regulatory restriction.

CY_WCM_REASON_PRUNE_SPCT_MGMT 

AP does not support STA locale spectrum management.

CY_WCM_REASON_PRUNE_RADAR 

AP is on a radar channel of STA locale.


CY_WCM_REASON_RSN_MISMATCH 

STA does not support AP's RSN.


CY_WCM_REASON_PRUNE_NO_COMMON_RATES 

No rates in common with AP.


CY_WCM_REASON_PRUNE_BASIC_RATES 

STA does not support all basic rates of BSS.


CY_WCM_REASON_PRUNE_CCXFAST_PREVAP 

CCX FAST ROAM: prune previous AP.


CY_WCM_REASON_PRUNE_CIPHER_NA 

BSS's cipher not supported.


CY_WCM_REASON_PRUNE_KNOWN_STA 

AP is already known to us as a STA.


CY_WCM_REASON_PRUNE_CCXFAST_DROAM 

CCX FAST ROAM: prune unqualified AP.


CY_WCM_REASON_PRUNE_WDS_PEER 

AP is already known to us as a WDS peer.


CY_WCM_REASON_PRUNE_QBSS_LOAD 

QBSS LOAD - AAC is too low.


CY_WCM_REASON_PRUNE_HOME_AP 

Prune home AP.


CY_WCM_REASON_PRUNE_AP_BLOCKED 

Prune blocked AP.


CY_WCM_REASON_PRUNE_NO_DIAG_SUPPORT 

Prune due to diagnostic mode not supported.


CY_WCM_REASON_SUP_OTHER 

Other reason.


CY_WCM_REASON_SUP_DECRYPT_KEY_DATA 

Decryption of key data failed.


CY_WCM_REASON_SUP_BAD_UCAST_WEP128 

Illegal use of ucast WEP-128.


CY_WCM_REASON_SUP_BAD_UCAST_WEP40 

Illegal use of ucast WEP-40.


CY_WCM_REASON_SUP_UNSUP_KEY_LEN 

Unsupported key length.


CY_WCM_REASON_SUP_PW_KEY_CIPHER 

Unicast cipher mismatch in pairwise key.


CY_WCM_REASON_SUP_MSG3_TOO_MANY_IE 

WPA IE contains > 1 RSN IE in key message 3.


CY_WCM_REASON_SUP_MSG3_IE_MISMATCH 

WPA IE mismatch in key message 3.


CY_WCM_REASON_SUP_NO_INSTALL_FLAG 

INSTALL flag unset in 4-way message.


CY_WCM_REASON_SUP_MSG3_NO_GTK 

Encapsulated GTK missing from message 3.


CY_WCM_REASON_SUP_GRP_KEY_CIPHER 

Multicast cipher mismatch in group key.


CY_WCM_REASON_SUP_GRP_MSG1_NO_GTK 

Encapsulated GTK missing from group message 1.

CY_WCM_REASON_SUP_GTK_DECRYPT_FAIL 

GTK decrypt failure.


CY_WCM_REASON_SUP_SEND_FAIL 

Message send failure.


CY_WCM_REASON_SUP_DEAUTH 

Received FC_DEAUTH.


CY_WCM_REASON_SUP_WPA_PSK_TMO 

WPA PSK 4-way handshake timeout.


CY_WCM_DOT11_RC_RESERVED 

d11 RC reserved.


CY_WCM_DOT11_RC_UNSPECIFIED 

Unspecified reason.


CY_WCM_DOT11_RC_AUTH_INVAL 

Previous authentication no longer valid.


CY_WCM_DOT11_RC_DEAUTH_LEAVING 

De-authenticated because sending station is leaving (or has left) IBSS or ESS.


CY_WCM_DOT11_RC_INACTIVITY 

Disassociated due to inactivity.


CY_WCM_DOT11_RC_BUSY 

Disassociated because AP is unable to handle all currently associated stations.


CY_WCM_DOT11_RC_INVAL_CLASS_2 

Class 2 frame received from non-authenticated station.


CY_WCM_DOT11_RC_INVAL_CLASS_3 

Class 3 frame received from non-associated station.


CY_WCM_DOT11_RC_DISASSOC_LEAVING 

Disassociated because sending station is leaving (or has left) BSS.


CY_WCM_DOT11_RC_NOT_AUTH 

Station requesting (re)association is not * authenticated with responding station.

CY_WCM_DOT11_RC_BAD_PC 

Unacceptable power capability element.


CY_WCM_DOT11_RC_BAD_CHANNELS 

Unacceptable supported channels element.


CY_WCM_DOT11_RC_UNSPECIFIED_QOS 

Unspecified QoS-related reason.


CY_WCM_DOT11_RC_INSUFFCIENT_BW 

QAP lacks sufficient bandwidth.


CY_WCM_DOT11_RC_EXCESSIVE_FRAMES 

Excessive number of frames need ack.


CY_WCM_DOT11_RC_TX_OUTSIDE_TXOP 

Transmitting outside the limits of txop.


CY_WCM_DOT11_RC_LEAVING_QBSS 

QSTA is leaving the QBSS (or restting).


CY_WCM_DOT11_RC_BAD_MECHANISM 

Does not want to use the mechanism.


CY_WCM_DOT11_RC_SETUP_NEEDED 

Mechanism needs a setup.


CY_WCM_DOT11_RC_TIMEOUT 

Timeout.


CY_WCM_DOT11_RC_MAX 

Reason codes > 23 are reserved.


CY_WCM_REASON_FORCE_32_BIT 

Force enum to be stored in a 32-bit variable.