B. Error codes
The section briefly describes the meaning of error codes returned by Calypso in response
to commands.
B.1. Disconnection reason codes
/ * WLAN Disconnect Reason Codes * /
SL_WLAN_DISCONNECT_UNSPECIFIED ( 1 )
SL_WLAN_DISCONNECT_AUTH_NO_LONGER_VALID ( 2 )
SL_WLAN_DISCONNECT_DEAUTH_SENDING_STA_LEAVING ( 3 )
SL_WLAN_DISCONNECT_INACTIVITY ( 4 )
SL_WLAN_DISCONNECT_TOO_MANY_STA ( 5 )
SL_WLAN_DISCONNECT_FRAME_FROM_NONAUTH_STA ( 6 )
SL_WLAN_DISCONNECT_FRAME_FROM_NONASSOC_STA ( 7 )
SL_WLAN_DISCONNECT_DISS_SENDING_STA_LEAVING ( 8 )
SL_WLAN_DISCONNECT_STA_NOT_AUTH ( 9 )
SL_WLAN_DISCONNECT_POWER_CAPABILITY_INVALID ( 1 0 )
SL_WLAN_DISCONNECT_SUPPORTED_CHANNELS_INVALID ( 1 1 )
SL_WLAN_DISCONNECT_INVALID_IE ( 1 3 )
SL_WLAN_DISCONNECT_MIC_FAILURE ( 1 4 )
SL_WLAN_DISCONNECT_FOURWAY_HANDSHAKE_TIMEOUT ( 1 5 )
SL_WLAN_DISCONNECT_GROUPKEY_HANDSHAKE_TIMEOUT ( 1 6 )
SL_WLAN_DISCONNECT_REASSOC_INVALID_IE ( 1 7 )
SL_WLAN_DISCONNECT_INVALID_GROUP_CIPHER ( 1 8 )
SL_WLAN_DISCONNECT_INVALID_PAIRWISE_CIPHER ( 1 9 )
SL_WLAN_DISCONNECT_INVALID_AKMP ( 2 0 )
SL_WLAN_DISCONNECT_UNSUPPORTED_RSN_VERSION ( 2 1 )
SL_WLAN_DISCONNECT_INVALID_RSN_CAPABILITIES ( 2 2 )
SL_WLAN_DISCONNECT_IEEE_802_1X_AUTHENTICATION_FAILED ( 2 3 )
SL_WLAN_DISCONNECT_CIPHER_SUITE_REJECTED ( 2 4 )
SL_WLAN_DISCONNECT_DISASSOC_QOS ( 3 2 )
SL_WLAN_DISCONNECT_DISASSOC_QOS_BANDWIDTH ( 3 3 )
SL_WLAN_DISCONNECT_DISASSOC_EXCESSIVE_ACK_PENDING ( 3 4 )
SL_WLAN_DISCONNECT_DISASSOC_TXOP_LIMIT ( 3 5 )
SL_WLAN_DISCONNECT_STA_LEAVING ( 3 6 )
SL_WLAN_DISCONNECT_STA_DECLINED ( 3 7 )
SL_WLAN_DISCONNECT_STA_UNKNOWN_BA ( 3 8 )
SL_WLAN_DISCONNECT_STA_TIMEOUT ( 3 9 )
SL_WLAN_DISCONNECT_STA_UNSUPPORTED_CIPHER_SUITE ( 4 0 )
SL_WLAN_DISCONNECT_USER_INITIATED ( 2 0 0 )
SL_WLAN_DISCONNECT_AUTH_TIMEOUT ( 2 0 2 )
SL_WLAN_DISCONNECT_ASSOC_TIMEOUT ( 2 0 3 )
SL_WLAN_DISCONNECT_SECURITY_FAILURE ( 2 0 4 )
SL_WLAN_DISCONNECT_WHILE_CONNNECTING ( 2 0 8 )
SL_WLAN_DISCONNECT_MISSING_CERT ( 2 0 9 )
SL_WLAN_DISCONNECT_CERTIFICATE_EXPIRED ( 2 1 0 )
B.2. Socket error codes
/ * BSD SOCKET ERRORS CODES * /
SL_ERROR_BSD_SOC_ERROR (
−
1L )
/ * F a i l u r e * /
SL_ERROR_BSD_EINTR (
−
4L )
/ * I n t e r r u p t e d system c a l l * /
SL_ERROR_BSD_E2BIG (
−
7L )
/ * l e n g t h too big * /
SL_ERROR_BSD_INEXE (
−
8L )
/ * socket command i n execution * /
SL_ERROR_BSD_EBADF (
−
9L )
/ * Bad f i l e number * /
Calypso reference manual version 1.2
© April 2019
www.we-online.com/wireless-connectivity
139