---
name: "ieee80211_get_tkip_p2k"
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/ieee80211_get_tkip_p2k"
---

# ieee80211\_get\_tkip\_p2k(9)

get a TKIP phase 2 key

## NAME

ieee80211\_get\_tkip\_p2k - get a TKIP phase 2 key

## SYNOPSIS

**void ieee80211\_get\_tkip\_p2k(struct ieee80211\_key\_conf \*** *keyconf***, struct sk\_buff \*** *skb***, u8 \*** *p2k***);**

## ARGUMENTS

*keyconf*

the parameter passed with the set key

*skb*

the packet to take the IV32/IV16 values from that will be encrypted with this key

*p2k*

a buffer to which the key will be written, 16 bytes

## DESCRIPTION

This function computes the TKIP RC4 key for the IV values in the packet.

## AUTHOR

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

Author.

## COPYRIGHT
