Name

struct ieee80211_key_conf — key information

Synopsis

struct ieee80211_key_conf {
  enum ieee80211_key_alg alg;
  u8 hw_key_idx;
  u8 flags;
  s8 keyidx;
  u8 keylen;
  u8 key[0];
};  

Members

alg

The key algorithm.

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

Description

This key information is given by mac80211 to the driver by the set_key callback in struct ieee80211_ops.