Get a tkip phase 2 key
void ieee80211_get_tkip_p2k(struct ieee80211_key_conf * keyconf, struct sk_buff * skb, u8 * p2k);
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
This function computes the TKIP RC4 key for the IV values in the packet.
Johannes Berg <[email protected]>
Author.