struct cfg80211_crypto_settings — Crypto settings
struct cfg80211_crypto_settings { u32 wpa_versions; u32 cipher_group; int n_ciphers_pairwise; u32 ciphers_pairwise[NL80211_MAX_NR_CIPHER_SUITES]; int n_akm_suites; u32 akm_suites[NL80211_MAX_NR_AKM_SUITES]; bool control_port; __be16 control_port_ethertype; bool control_port_no_encrypt; };
indicates which, if any, WPA versions are enabled (from enum nl80211_wpa_versions)
group key cipher suite (or 0 if unset)
number of AP supported unicast ciphers
unicast key cipher suites
number of AKM suites
AKM suites
Whether user space controls IEEE 802.1X port, i.e.,
sets/clears NL80211_STA_FLAG_AUTHORIZED
. If true, the driver is
required to assume that the port is unauthorized until authorized by
user space. Otherwise, port is marked authorized by default.
the control port protocol that should be allowed through even on unauthorized ports
TRUE to prevent encryption of control port protocol frames.