Network Utility Types. More...

Data Structures

struct gos_scan_result_t
Contains information about a scan result. More...
struct gos_tls_certificates_t
TLS certificate filenames. More...

Enumerations

enum gos_bss_type_t {
GOS_BSS_TYPE_INFRASTRUCTURE = 0,
GOS_BSS_TYPE_ADHOC = 1,
GOS_BSS_TYPE_ANY = 2,
GOS_BSS_TYPE_UNKNOWN = -1
}
BSS type. More...
enum gos_802_11_band_t {
GOS_802_11_BAND_5GHZ = 0,
GOS_802_11_BAND_2_4GHZ = 1
}
Frequency band. More...
enum gos_security_t {
GOS_SECURITY_OPEN = 0,
GOS_SECURITY_WEP_PSK = (1 << 1),
GOS_SECURITY_WEP_SHARED = ( (1 << 1) | (1 << 0) ),
GOS_SECURITY_WPA_TKIP_PSK = ( (1 << 4) | (1 << 2) ),
GOS_SECURITY_WPA_AES_PSK = ( (1 << 4) | (1 << 3) ),
GOS_SECURITY_WPA2_AES_PSK = ( (1 << 5) | (1 << 3) ),
GOS_SECURITY_WPA2_TKIP_PSK = ( (1 << 5) | (1 << 2) ),
GOS_SECURITY_WPA2_MIXED_PSK = ( (1 << 5) | (1 << 4) | (1 << 3) | (1 << 2) ),
GOS_SECURITY_WPS_OPEN = ( (1 << 7) ),
GOS_SECURITY_WPS_SECURE = ( (1 << 7) | (1 << 3) ),
SL_WIFI_SECURITY_WPA3_PSK = ( (1 << 6) ),
SL_WIFI_SECURITY_WPA3_MIXED_PSK = ( (1 << 6) | (1 << 5) | (1 << 3) ),
SL_WIFI_SECURITY_WPA_TKIP_EAP = ( (1 << 8) | (1 << 4) | (1 << 2) )
SL_WIFI_SECURITY_WPA2_AES_EAP = ( (1 << 8) | (1 << 5) | (1 << 3) ),
SL_WIFI_SECURITY_WPA2_MIXED_EAP = ( (1 << 8) | (1 << 5) | (1 << 4) | (1 << 3) | (1 << 2) ),
SL_WIFI_SECURITY_WPA3_EAP = ( (1 << 8) | (1 << 6) ),
SL_WIFI_SECURITY_WPA3_MIXED_EAP = ( (1 << 8) | (1 << 6) | (1 << 5) | (1 << 3) ),
GOS_SECURITY_UNKNOWN = -1,
GOS_SECURITY_FORCE_32_BIT = 0x7fffffff
}
Security type. More...

Detailed Description

Network Utility Types.

Enumeration Type Documentation

gos_802_11_band_t

Frequency band.

Enumerator
GOS_802_11_BAND_5GHZ

Denotes 5GHz radio band.

GOS_802_11_BAND_2_4GHZ

Denotes 2.4GHz radio band.

gos_bss_type_t

BSS type.

Enumerator
GOS_BSS_TYPE_INFRASTRUCTURE

Denotes infrastructure network.

GOS_BSS_TYPE_ADHOC

Denotes an 802.11 ad-hoc IBSS network.

GOS_BSS_TYPE_ANY

Denotes either infrastructure or ad-hoc network.

GOS_BSS_TYPE_UNKNOWN

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

gos_security_t

Security type.

Enumerator
GOS_SECURITY_OPEN

Open security.

GOS_SECURITY_WEP_PSK

WEP Security with open authentication.

GOS_SECURITY_WEP_SHARED

WEP Security with shared authentication.

GOS_SECURITY_WPA_TKIP_PSK

WPA Security with TKIP.

GOS_SECURITY_WPA_AES_PSK

WPA Security with AES.

GOS_SECURITY_WPA2_AES_PSK

WPA2 Security with AES.

GOS_SECURITY_WPA2_TKIP_PSK

WPA2 Security with TKIP.

GOS_SECURITY_WPA2_MIXED_PSK

WPA2 Security with AES & TKIP.

GOS_SECURITY_WPS_OPEN

WPS with open security.

GOS_SECURITY_WPS_SECURE

WPS with AES security.

SL_WIFI_SECURITY_WPA3_PSK

WPA3 security.

SL_WIFI_SECURITY_WPA3_MIXED_PSK

WPA3 & WPA2 mixed security.

SL_WIFI_SECURITY_WPA_TKIP_EAP

WPA security with TKIP and enterprise authentication.

SL_WIFI_SECURITY_WPA2_AES_EAP

WPA2 security with AES and enterprise authentication.

SL_WIFI_SECURITY_WPA2_MIXED_EAP

WPA2 security with AES & TKIP and enterprise authentication.

SL_WIFI_SECURITY_WPA3_EAP

WPA3 security with enterprise authentication.

SL_WIFI_SECURITY_WPA3_MIXED_EAP

WPA3 & WPA2 mixed security with enterprise authentication.

GOS_SECURITY_UNKNOWN

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

GOS_SECURITY_FORCE_32_BIT

Exists only to force gos_security_t type to 32 bits.