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; bool control_port_over_nl80211; struct key_params * wep_keys; int wep_tx_key; const u8 * psk; const u8 * sae_pwd; u8 sae_pwd_len; };
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.
TRUE if userspace expects to exchange control port frames over NL80211 instead of the network interface.
static WEP keys, if not NULL points to an array of CFG80211_MAX_WEP_KEYS WEP keys
key index (0..3) of the default TX static WEP key
PSK (for devices supporting 4-way-handshake offload)
password for SAE authentication (for devices supporting SAE offload)
length of SAE password (for devices supporting SAE offload)