QWlanManager
|
Namespace used for QWlanManager library. More...
Classes | |
class | CachePolicy |
Class allowing to determine the cache policy to adopt. More... | |
class | Interface |
Class containing interface properties. More... | |
class | Manager |
Use to manage all wlan related operations. More... | |
class | Network |
Class containing network properties. More... | |
class | Permissions |
Use to manage all permissions related operations. More... | |
Typedefs | |
using | ListInterfaces = QList<Interface> |
using | MapInterfaces = QHash<QUuid, Interface> |
using | ListNetworks = QList<Network> |
using | MapNetworks = QHash<QString, Network> |
Functions | |
QWLANMAN_EXPORT QDebug | operator<< (QDebug debug, const CachePolicy &policy) |
QWLANMAN_EXPORT QDebug | operator<< (QDebug debug, const Interface &interface) |
QWLANMAN_EXPORT QDebug | operator<< (QDebug debug, const Network &net) |
QWLANMAN_EXPORT QString | wlanErrorToString (WlanError idErr) |
Use to convert wlan errors to string. | |
QWLANMAN_EXPORT QString | wlanPermToString (WlanPerm idPerm) |
Use to convert wlan permissions to string. | |
Q_ENUM_NS (RequestType) | |
QWLANMAN_EXPORT QString | requestTypeToString (RequestType idReq) |
Use to convert request type to string. | |
Q_ENUM_NS (IfaceState) | |
QWLANMAN_EXPORT QString | ifaceStateToString (IfaceState idState) |
Use to convert interface states to string. | |
Q_ENUM_NS (AuthAlgo) | |
QWLANMAN_EXPORT QString | authAlgoToString (AuthAlgo idAuth) |
Use to convert authentication algorithms to string. | |
Q_ENUM_NS (CipherAlgo) | |
QWLANMAN_EXPORT QString | cipherAlgoToString (CipherAlgo idCipher) |
Use to convert cipher algorithms to string. | |
QWLANMAN_EXPORT QVersionNumber | getLibraryVersion () |
Used to retrieve QWlanManager library version. | |
Namespace used for QWlanManager library.
using qwm::MapInterfaces = QHash<QUuid, Interface> |
Key is interface UID
using qwm::MapNetworks = QHash<QString, Network> |
Key is network SSID
|
strong |
List of all WLAN related errors.
Enumerator | ||
---|---|---|
WERR_NO_ERROR | 0 | No error, operation succeed |
WERR_UNKNOWN | Unknown error | |
WERR_OPERATION_UNSUPPORTED | Operation is not supported on this platform version | |
WERR_OPERATION_CANCEL | Operation has been cancelled | |
WERR_OPERATION_TIMEOUT | Operation failure due to timeout | |
WERR_OPERATION_DENIED | Operation failure due to permissions missing | |
WERR_ITEM_INVALID | Operation cannot be performed due to an invalid item | |
WERR_IFACE_BUSY | Interface is already busy, cannot perform. Setting option | |
WERR_NET_UNAVAILABLE | Trying to connect to an unailable network | |
WERR_NET_PASSKEY | Provided passkey is invalid | |
WERR_API_INTERNAL | Triggered by internal API errors, please refer to logs for more details |
|
strong |
List of permissions status.
enum qwm::WlanOption |
Wlan manager options.
Those options concerns qwm::Manager
global available features.
Options are flags, so they can be combined.
|
strong |
Type of interface asynchrone request.
Enumerator | ||
---|---|---|
REQ_INVALID | 0 | Invalid request |
REQ_SCAN | Scan request | |
REQ_CONNECT | Connection request | |
REQ_DISCONNECT | Disconnection request |
|
strong |
Interface states.
Enumerator | ||
---|---|---|
IFACE_STS_IDLE | 0 | Interface ready to perform an operation |
IFACE_STS_SCANNING | Interface is performing a network scan | |
IFACE_STS_CONNECTING | Interface is trying to connect to a network | |
IFACE_STS_DISCONNECTING | Interface is trying to disconnect from a network |
enum qwm::IfaceOption |
Available interface options.
Options are flags, so they can be combined.
Enumerator | ||
---|---|---|
IFACE_OPT_NONE | 0 | No option set |
IFACE_OPT_REQUEST | 1 << 0 | Allow to queue interface operations (wait for the scan to finish before trying to connect for example), which will reduce |
IFACE_OPT_DEFAULT | IFACE_OPT_NONE | Default interface option, currently no option set |
|
strong |
Enumeration of supported wireless authentication algorithms.
Represents the authentication mechanism used by a wireless network.
It reflects the mechanism advertised in the RSN (Robust Security Network) Information Element of a beacon or probe response frame, as defined by the IEEE 802.11 standards (802.11i, 802.11r, 802.11ax, etc.).
|
strong |
Enumeration of supported wireless encryption (cipher) algorithms.
Enumerator | ||
---|---|---|
CIPHER_ALGO_UNKNOWN | 0 | Cipher algorithm is unknown (thus unsupported) |
CIPHER_ALGO_NONE | No encryption used, typically used with | |
CIPHER_ALGO_TKIP | Temporal Key Integrity Protocol (TKIP), often considered as deprecated | |
CIPHER_ALGO_AES | Advanced Encryption Standard (AES) with CCMP mode (Counter Mode CBC-MAC Protocol). Default cipher for WPA2 and WPA3 networks. | |
CIPHER_ALGO_GCMP | Galois/Counter Mode Protocol (GCMP), introduced in 802.11ac and required for WPA3-Enterprise 192-bit mode. Typically used with WPA3 networks requiring 256-bit keys (AES-GCMP-256). |
QString qwm::wlanErrorToString | ( | WlanError | idErr | ) |
Use to convert wlan errors to string.
[in] | idErr | Error ID to convert. If unknown, string "unknown error" will be returned. |
QString qwm::wlanPermToString | ( | WlanPerm | idPerm | ) |
Use to convert wlan permissions to string.
[in] | idPerm | Permission ID to convert. If unknown, string "unknown" will be returned. |
QString qwm::requestTypeToString | ( | RequestType | idReq | ) |
Use to convert request type to string.
[in] | idReq | Request ID to convert. If unknown or invalid, string "invalid" will be returned. |
QString qwm::ifaceStateToString | ( | IfaceState | idState | ) |
Use to convert interface states to string.
[in] | idState | State ID to convert. If unknown, string "unknown state" will be returned. |
QString qwm::authAlgoToString | ( | AuthAlgo | idAuth | ) |
Use to convert authentication algorithms to string.
[in] | idAuth | Authentication algorithm ID to convert. If unknown, string "Unknown authentication algorithm" will be returned. |
QString qwm::cipherAlgoToString | ( | CipherAlgo | idCipher | ) |
Use to convert cipher algorithms to string.
[in] | idCipher | Cipher algorithm ID to convert. If unknown, string "Unknown cipher algorithm" will be returned. |
QVersionNumber qwm::getLibraryVersion | ( | ) |
Used to retrieve QWlanManager library version.