---
name: "struct_ieee80211_key_conf"
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_ieee80211_key_conf"
---

# struct\_ieee80211\_key\_conf(9)

key information

## NAME

struct\_ieee80211\_key\_conf - key information

## SYNOPSIS

```
struct ieee80211_key_conf {
  u32 cipher;
  u8 icv_len;
  u8 iv_len;
  u8 hw_key_idx;
  u8 flags;
  s8 keyidx;
  u8 keylen;
  u8 key[0];
};
```

## MEMBERS

cipher

The key's cipher suite selector.

icv\_len

The ICV length for this key type

iv\_len

The IV length for this key type

hw\_key\_idx

To be set by the driver, this is the key index the driver wants to be given when a frame is transmitted and needs to be encrypted in hardware.

flags

key flags, see enum ieee80211\_key\_flags.

keyidx

the key index (0-3)

keylen

key material length

key\[0\]

key material. For ALG\_TKIP the key is encoded as a 256-bit (32 byte)

## DESCRIPTION

This key information is given by mac80211 to the driver by the **set\_key** callback in struct ieee80211\_ops.

## DATA BLOCK

\- Temporal Encryption Key (128 bits) - Temporal Authenticator Tx MIC Key (64 bits) - Temporal Authenticator Rx MIC Key (64 bits)

## AUTHOR

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

Author.

## COPYRIGHT
