Lines Matching defs:key
714 * Check if skb is ptk eapol key message
716 * returns a pointer to the start of the eapol key structure, NULL
717 * if frame is not PTK eapol key
724 struct wil_eapol_key *key;
745 key = (struct wil_eapol_key *)(buf + sizeof(struct wil_1x_hdr));
746 if (key->type != WIL_EAPOL_KEY_TYPE_WPA &&
747 key->type != WIL_EAPOL_KEY_TYPE_RSN)
750 key_info = be16_to_cpu(key->key_info);
754 return key;
759 struct wil_eapol_key *key;
762 key = wil_is_ptk_eapol_key(wil, skb);
763 if (!key)
766 key_info = be16_to_cpu(key->key_info);
770 wil_dbg_misc(wil, "EAPOL key message 3\n");
774 wil_dbg_misc(wil, "EAPOL key message 1\n");
781 struct wil_eapol_key *key;
784 key = wil_is_ptk_eapol_key(wil, skb);
785 if (!key)
788 nonce = (u32 *)key->key_nonce;
792 wil_dbg_misc(wil, "EAPOL key message 2\n");
796 wil_dbg_misc(wil, "EAPOL key message 4\n");
823 wil_dbg_misc(wil, "Apply PTK key after eapol was sent out\n");
831 wil_err(wil, "Apply PTK key failed %d\n", rc);