Name

ieee80211_get_tkip_key — get a TKIP rc4 for skb

Synopsis

void ieee80211_get_tkip_key (struct ieee80211_key_conf * keyconf,
 struct sk_buff * skb,
 enum ieee80211_tkip_key_type type,
 u8 * key);
 

Arguments

keyconf

the parameter passed with the set key

skb

the skb for which the key is needed

type

TBD

key

a buffer to which the key will be written

Description

This function computes a TKIP rc4 key for an skb. It computes a phase 1 key if needed (iv16 wraps around). This function is to be used by drivers which can do HW encryption but need to compute to phase 1/2 key in SW.