Wi-Fi Connection Manager Library
Macros

General Description

API Reference

 WCM-specific error codes
 Infineon middleware APIs return results of type cy_rslt_t.
 

Macros

#define CY_WCM_MAX_SSID_LEN   (32)
 Max SSID length. More...
 
#define CY_WCM_MAX_PASSPHRASE_LEN   (63)
 Max passphrase length. More...
 
#define CY_WCM_MIN_PASSPHRASE_LEN   (8)
 Min passphrase length. More...
 
#define CY_WCM_MAC_ADDR_LEN   (6)
 MAC address length. More...
 
#define CY_WCM_MAX_IE_LENGTH   (3)
 Maximum Length of Information Element

 
#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 WPA2_SHA256_SECURITY   0x00800000
 Flag to enable WPA2 SHA256 Security

 
#define WPA3_SECURITY   0x01000000
 Flag to enable WPA3 PSK security. More...
 
#define WPA3_OWE   0x80000000
 Flag to enable WPA3 OWE Security

 
#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 CY_WCM_WPS_PIN_LENGTH   (9)
 WPS password length for PIN mode.
 
#define CY_WCM_MAXIMUM_CALLBACKS_COUNT   (5)
 Maximum number of callbacks that can be registered with the WCM library.
 
#define CY_WCM_TWT_SETUP_CMD_REQUEST_TWT   (0u)
 Setup Command field (Table 9-262k) More...
 
#define CY_WCM_TWT_SETUP_CMD_SUGGEST_TWT   (1u)
 Suggest TWT

 
#define CY_WCM_TWT_SETUP_CMD_DEMAND_TWT   (2u)
 Demand TWT

 
#define CY_WCM_TWT_SETUP_CMD_GROUPING_TWT   (3u)
 Grouping TWT

 
#define CY_WCM_TWT_SETUP_CMD_ACCEPT_TWT   (4u)
 Accept TWT

 
#define CY_WCM_TWT_SETUP_CMD_ALTERNATE_TWT   (5u)
 Alternate TWT.
 
#define CY_WCM_TWT_SETUP_CMD_DICTATE_TWT   (6u)
 Dictate TWT

 
#define CY_WCM_TWT_SETUP_CMD_REJECT_TWT   (7u)
 Reject TWT

 
#define CY_WCM_TWT_FLOW_TYPE_ANNOUNCED   (0)
 Macros for TWT flow type. More...
 
#define CY_WCM_TWT_FLOW_TYPE_UNANNOUNCED   (1)
 Un-announced TWT: The AP can start transmitting data to the device within the TWT service period without first receiving a frame/trigger from the device.
 
#define CY_WCM_TWT_FLOW_ID_ALL   (0xff)
 Macros for TWT flow ID. More...
 

Macro Definition Documentation

◆ CY_WCM_MAX_SSID_LEN

#define CY_WCM_MAX_SSID_LEN   (32)

Max SSID length.


◆ CY_WCM_MAX_PASSPHRASE_LEN

#define CY_WCM_MAX_PASSPHRASE_LEN   (63)

Max passphrase length.


◆ CY_WCM_MIN_PASSPHRASE_LEN

#define CY_WCM_MIN_PASSPHRASE_LEN   (8)

Min passphrase length.


◆ CY_WCM_MAC_ADDR_LEN

#define CY_WCM_MAC_ADDR_LEN   (6)

MAC address length.


◆ WEP_ENABLED

#define WEP_ENABLED   0x0001

Flag to enable WEP security.


◆ TKIP_ENABLED

#define TKIP_ENABLED   0x0002

Flag to enable TKIP encryption.


◆ AES_ENABLED

#define AES_ENABLED   0x0004

Flag to enable AES encryption.


◆ SHARED_ENABLED

#define SHARED_ENABLED   0x00008000

Flag to enable shared key security.


◆ WPA_SECURITY

#define WPA_SECURITY   0x00200000

Flag to enable WPA security.


◆ WPA2_SECURITY

#define WPA2_SECURITY   0x00400000

Flag to enable WPA2 security.


◆ WPA3_SECURITY

#define WPA3_SECURITY   0x01000000

Flag to enable WPA3 PSK security.


◆ ENTERPRISE_ENABLED

#define ENTERPRISE_ENABLED   0x02000000

Flag to enable enterprise security.


◆ WPS_ENABLED

#define WPS_ENABLED   0x10000000

Flag to enable WPS security.


◆ IBSS_ENABLED

#define IBSS_ENABLED   0x20000000

Flag to enable IBSS mode.


◆ FBT_ENABLED

#define FBT_ENABLED   0x40000000

Flag to enable FBT.


◆ CY_WCM_TWT_SETUP_CMD_REQUEST_TWT

#define CY_WCM_TWT_SETUP_CMD_REQUEST_TWT   (0u)

Setup Command field (Table 9-262k)

Request TWT

◆ CY_WCM_TWT_FLOW_TYPE_ANNOUNCED

#define CY_WCM_TWT_FLOW_TYPE_ANNOUNCED   (0)

Macros for TWT flow type.

Announced TWT: Device sends a PS-Poll (Power Save-Poll) or trigger at the beginning of the TWT service period to inform the AP that it is ready to receive data.

◆ CY_WCM_TWT_FLOW_ID_ALL

#define CY_WCM_TWT_FLOW_ID_ALL   (0xff)

Macros for TWT flow ID.

Special flow ID to target all TWT sessions.