Lines Matching refs:keyidx
380 u8 keyidx, *pos; in lib80211_tkip_decrypt() local
400 keyidx = pos[3]; in lib80211_tkip_decrypt()
401 if (!(keyidx & (1 << 5))) { in lib80211_tkip_decrypt()
406 keyidx >>= 6; in lib80211_tkip_decrypt()
407 if (tkey->key_idx != keyidx) { in lib80211_tkip_decrypt()
409 tkey->key_idx, keyidx); in lib80211_tkip_decrypt()
414 hdr->addr2, keyidx); in lib80211_tkip_decrypt()
471 return keyidx; in lib80211_tkip_decrypt()
565 int keyidx) in lib80211_michael_mic_failure() argument
572 ev.flags = keyidx & IW_MICFAILURE_KEY_ID; in lib80211_michael_mic_failure()
584 static int lib80211_michael_mic_verify(struct sk_buff *skb, int keyidx, in lib80211_michael_mic_verify() argument
603 keyidx); in lib80211_michael_mic_verify()
605 lib80211_michael_mic_failure(skb->dev, hdr, keyidx); in lib80211_michael_mic_verify()
623 int keyidx; in lib80211_tkip_set_key() local
629 keyidx = tkey->key_idx; in lib80211_tkip_set_key()
631 tkey->key_idx = keyidx; in lib80211_tkip_set_key()