Given a SettingWireless and an optional SettingWirelessSecurity, determine if the configuration given by the settings is compatible with the security of an access point using that access point's capability flags and mode.
Useful for clients that wish to filter a set of connections against a set of access points and determine which connections are compatible with which access points.
this | |
s_wireless_sec |
a SettingWirelessSecurity or |
ap_flags |
the @80211ApFlags of the given access point |
ap_wpa |
the @80211ApSecurityFlags of the given access point's WPA capabilities |
ap_rsn |
the @80211ApSecurityFlags of the given access point's WPA2/RSN capabilities |
ap_mode |
the 802.11 mode of the AP, either Ad-Hoc or Infrastructure |
|