Wi-Fi Manager service constants

Updated: April 19, 2023

Limits on Wi-Fi Manager field sizes, and number of scan results stored

Definitions:

#include <qwf/qwf_wifi.h>
#define QWF_WIFI_MAX_SSID_LEN (128)

Maximum number of ASCII characters in an SSID array

#define QWF_WIFI_MIN_PASSPHRASE (8)

Minimum length of the PassPhrase character string

#define QWF_WIFI_MAX_PASSPHRASE (64)

Maximum length of the PassPhrase character string

#define QWF_WIFI_64_BIT_WEPKEY_LEN (10)

Length of a 64-bit WEP Key character string

#define QWF_WIFI_128_BIT_WEPKEY_LEN (26)

Length of a 128-bit WEP Key character string

#define QWF_WIFI_MAX_EAP_USERNAME (64)

Maximum length of an EAP Username character string

#define QWF_WIFI_MAX_EAP_PASSWORD (64)

Maximum length of an EAP Password character string

#define QWF_WIFI_MAX_EAP_CA_CERT (128)

Maximum length of an EAP Server Certificate file character string

#define QWF_WIFI_MAX_EAP_CA_CERT_DIR (128)

Maximum length of an EAP Server Certificate directory character string

#define QWF_WIFI_MAX_EAP_CLIENT_CERT (128)

Maximum length of an EAP Client Certificate file character string

#define QWF_WIFI_MAX_EAP_PRIVATE_KEY (128)

Maximum length of an EAP Private Key file character string

#define QWF_WIFI_MAX_EAP_PRIVATE_KEY_PW (64)

Maximum length of an EAP Private Key password character string

#define QWF_WIFI_MAX_SCAN_RESULTS (100)

Maximum number of scan results in the qwf_wifi_GetScanResults() array

#define QWF_WIFI_MAX_BG_SCAN_DB_FILE (128)

Maximum length of the filename of a background scan database

#define QWF_WIFI_MAX_BSSID_LEN (18)

Maximum length of a BSSID character string

#define QWF_WIFI_MAX_CAPABILTIES_LEN (256)

Maximum length of an HT or VHT Capabilities character string

#define QWF_WIFI_MAX_COUNTRY_CODE_LEN (2)

Maximum length of a Country Code character string

#define QWF_WIFI_MAX_WPA_SUPL_EVENT_LEN (128)

Maximum length of a Wi-Fi Supplicant Event character string

#define QWF_WIFI_AUTO_AP_CHANNEL (-1)

Value indicating that the access point channel number is assigned by the Wi-Fi Manager service

#define QWF_WIFI_MAX_HOSTNAME_LEN (128)

Maximum length of a Wi-Fi client hostname string

#define QWF_WIFI_MAX_MAC_ADDR_LEN (17)

Maximum length of a MAC address string

#define QWF_WIFI_MAX_IP_ADDR_LEN (46)

Maximum length of an IPv4 or IPv6 address string

#define QWF_WIFI_MAX_AP_VSE_LEN (514)

Maximum length of a VSE character string for a scanned AP

#define QWF_WIFI_MAX_HOSTAPD_EVENT_LEN (321)

Maximum length of a Wi-Fi hostapd Event string

#define QWF_WIFI_MAX_HOSTAPD_VSE_LEN (494)

Maximum length of a Wi-Fi hostapd VSE string

Library:

qwf_interface