Definitions in wifi_service.h

Preprocessor macro definitions for the wifi_service.h header file in the libwifi library.

Definitions:

#define WIFI_API 
Wi-Fi service API identifier.
#define WIFI_FAILURE (-1)
A return code that indicates that a function did not complete successfully.

When the errno value is set, it indicates the reason for the failure.

#define WIFI_MAX_SSID_BUFFER_LEN (32+1)
Maximum length of the buffer where Wi-Fi Service Set Identifier (SSID) name will be copied.

The SSID should be NULL terminated.

#define WIFI_BSSID_ADDR_LEN (6)
The length of a Wi-Fi Basic Service Set Identifier (BSSID) address.

The BSSID is the MAC address of the access point (AP).

#define WIFI_MAX_AGGREGATOR_NAME_LEN (32+1)
Maximum length of the Wi-Fi aggregator name.
#define WIFI_MAX_WEP_KEY_LEN (16)
Maximum length of the Wired Equivalent Privacy (WEP) security key.

Library:

libwifi

Last modified: 2013-12-21

comments powered by Disqus