# key_info_tag Struct Reference
[MAC]

Structure containing the information about a key. More...

`#include <mac.h>`

## Data Fields
uint64_t | rx_pn [TID_MAX]
| Replay counters for RX.
uint64_t | tx_pn
| Replay counter for TX.
union {
struct {
uint32_t tx_key [2]
| TX MIC key.
uint32_t rx_key [2]
| RX MIC key.
} mic
struct {
uint32_t key [4]
} mfp
} | u
| Union of MIC and MFP keys.
uint8_t | cipher
| Type of security currently used.
uint8_t | key_idx
| Key index as specified by the authenticator/supplicant.
uint8_t | hw_key_idx
| Index of the key in the HW memory.
bool | valid
| Flag indicating if the key is valid.

## Detailed Description

Structure containing the information about a key.

Definition at line 135 of file mac.h.

The documentation for this struct was generated from the following file:

- /space/home/slher/rel/Beken/v6_4_5/macsw/modules/mac/src/mac.h