Home | History | Annotate | Download | only in rsn_supp

Lines Matching full:lifetime

399 	be32 lifetime;
402 2 + RSN_SELECTOR_LEN + sizeof(lifetime);
433 lifetime = host_to_be32(peerkey->lifetime);
435 (u8 *) &lifetime, sizeof(lifetime));
532 u32 lifetime;
550 kde.lifetime == NULL || kde.lifetime_len < 4) {
552 "Lifetime KDE in SMK M4/M5");
582 lifetime = WPA_GET_BE32(kde.lifetime);
583 wpa_printf(MSG_DEBUG, "RSN: SMK lifetime %u seconds", lifetime);
584 if (lifetime > 1000000000)
585 lifetime = 1000000000; /* avoid overflowing expiration time */
586 peerkey->lifetime = lifetime;
588 peerkey->expiration = now.sec + lifetime;
589 eloop_register_timeout(lifetime, 0, wpa_supplicant_smk_timeout,
680 be32 lifetime;
724 2 + RSN_SELECTOR_LEN + sizeof(lifetime) +
731 lifetime = host_to_be32(peerkey->lifetime);
733 (u8 *) &lifetime, sizeof(lifetime));
752 u32 lifetime;
755 if (kde->lifetime == NULL || kde->lifetime_len < sizeof(lifetime))
758 lifetime = WPA_GET_BE32(kde->lifetime);
760 if (lifetime >= peerkey->lifetime) {
761 wpa_printf(MSG_DEBUG, "RSN: Peer used SMK lifetime %u seconds "
763 "seconds - ignored", lifetime, peerkey->lifetime);
767 wpa_printf(MSG_DEBUG, "RSN: Peer used shorter SMK lifetime %u seconds "
769 lifetime, peerkey->lifetime);
770 peerkey->lifetime = lifetime;
773 peerkey->expiration = now.sec + lifetime;
775 eloop_register_timeout(lifetime, 0, wpa_supplicant_smk_timeout,
795 * from the peer. It may also include Lifetime KDE. */
846 * Lifetime KDE. */