Scroll to navigation

STRUCT CFG80211_CRYP(9) Actions and configuration STRUCT CFG80211_CRYP(9)

NAME

struct_cfg80211_crypto_settings - Crypto settings

SYNOPSIS

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; };

MEMBERS

wpa_versions

indicates which, if any, WPA versions are enabled (from enum nl80211_wpa_versions)

cipher_group

group key cipher suite (or 0 if unset)

n_ciphers_pairwise

number of AP supported unicast ciphers

ciphers_pairwise[NL80211_MAX_NR_CIPHER_SUITES]

unicast key cipher suites

n_akm_suites

number of AKM suites

akm_suites[NL80211_MAX_NR_AKM_SUITES]

AKM suites

control_port

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.

control_port_ethertype

the control port protocol that should be allowed through even on unauthorized ports

control_port_no_encrypt

TRUE to prevent encryption of control port protocol frames.

control_port_over_nl80211

TRUE if userspace expects to exchange control port frames over NL80211 instead of the network interface.

wep_keys

static WEP keys, if not NULL points to an array of CFG80211_MAX_WEP_KEYS WEP keys

wep_tx_key

key index (0..3) of the default TX static WEP key

psk

PSK (for devices supporting 4-way-handshake offload)

sae_pwd

password for SAE authentication (for devices supporting SAE offload)

sae_pwd_len

length of SAE password (for devices supporting SAE offload)

AUTHOR

Johannes Berg <johannes@sipsolutions.net>

Author.

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10