ap_mode_security_valid


Description:


[ Version ( since = "0.9.8" ) ]
public bool ap_mode_security_valid (SecurityType type, DeviceWifiCapabilities wifi_caps)

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 type, false if they are not.


Namespace: NM.Utils
Package: libnm-util