---
name: "struct_cfg80211_crypto_settings"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/struct_cfg80211_crypto_settings"
---

# struct\_cfg80211\_crypto\_settings(9)

Crypto settings

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

## 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.

## AUTHOR

**Johannes Berg** \<johannes@sipsolutions.net\>

Author.

## COPYRIGHT
