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.
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 |
true if the device capabilities are compatible with the desired |