ap_mode_security_valid
Description:
Given a set of device capabilities, and a desired security type to check against, determines whether the combination of device capabilities and desired security type are valid for AP/Hotspot connections.
Parameters:
type |
the security type to check device capabilities against, e.g. STATIC_WEP |
wifi_caps |
bitfield of the capabilities of the specific Wi-Fi device, e.g. CIPHER_WEP40 |
Returns:
true if the device capabilities are compatible with the desired |
Namespace: NM.Utils
Package: libnm