1STRUCT CFG80211_CRYP(9) Actions and configuration STRUCT CFG80211_CRYP(9)
2
3
4
6 struct_cfg80211_crypto_settings - Crypto settings
7
9 struct cfg80211_crypto_settings {
10 u32 wpa_versions;
11 u32 cipher_group;
12 int n_ciphers_pairwise;
13 u32 ciphers_pairwise[NL80211_MAX_NR_CIPHER_SUITES];
14 int n_akm_suites;
15 u32 akm_suites[NL80211_MAX_NR_AKM_SUITES];
16 bool control_port;
17 __be16 control_port_ethertype;
18 bool control_port_no_encrypt;
19 struct key_params * wep_keys;
20 int wep_tx_key;
21 const u8 * psk;
22 };
23
25 wpa_versions
26 indicates which, if any, WPA versions are enabled (from enum
27 nl80211_wpa_versions)
28
29 cipher_group
30 group key cipher suite (or 0 if unset)
31
32 n_ciphers_pairwise
33 number of AP supported unicast ciphers
34
35 ciphers_pairwise[NL80211_MAX_NR_CIPHER_SUITES]
36 unicast key cipher suites
37
38 n_akm_suites
39 number of AKM suites
40
41 akm_suites[NL80211_MAX_NR_AKM_SUITES]
42 AKM suites
43
44 control_port
45 Whether user space controls IEEE 802.1X port, i.e., sets/clears
46 NL80211_STA_FLAG_AUTHORIZED. If true, the driver is required to
47 assume that the port is unauthorized until authorized by user
48 space. Otherwise, port is marked authorized by default.
49
50 control_port_ethertype
51 the control port protocol that should be allowed through even on
52 unauthorized ports
53
54 control_port_no_encrypt
55 TRUE to prevent encryption of control port protocol frames.
56
57 wep_keys
58 static WEP keys, if not NULL points to an array of
59 CFG80211_MAX_WEP_KEYS WEP keys
60
61 wep_tx_key
62 key index (0..3) of the default TX static WEP key
63
64 psk
65 PSK (for devices supporting 4-way-handshake offload)
66
68 Johannes Berg <johannes@sipsolutions.net>
69 Author.
70
72Kernel Hackers Manual 3.10 June 2019 STRUCT CFG80211_CRYP(9)