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 << 3) | (1 << 2) ),
GOS_SECURITY_WPS_OPEN = ( (1 << 7) ),
GOS_SECURITY_WPS_SECURE = ( (1 << 7) | (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.

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.