Lines Matching defs:lifetime
387 be32 lifetime;
390 2 + RSN_SELECTOR_LEN + sizeof(lifetime);
421 lifetime = host_to_be32(peerkey->lifetime);
423 (u8 *) &lifetime, sizeof(lifetime));
518 u32 lifetime;
536 kde.lifetime == NULL || kde.lifetime_len < 4) {
538 "Lifetime KDE in SMK M4/M5");
568 lifetime = WPA_GET_BE32(kde.lifetime);
569 wpa_printf(MSG_DEBUG, "RSN: SMK lifetime %u seconds", lifetime);
570 if (lifetime > 1000000000)
571 lifetime = 1000000000; /* avoid overflowing expiration time */
572 peerkey->lifetime = lifetime;
574 peerkey->expiration = now.sec + lifetime;
575 eloop_register_timeout(lifetime, 0, wpa_supplicant_smk_timeout,
666 be32 lifetime;
710 2 + RSN_SELECTOR_LEN + sizeof(lifetime) +
717 lifetime = host_to_be32(peerkey->lifetime);
719 (u8 *) &lifetime, sizeof(lifetime));
738 u32 lifetime;
741 if (kde->lifetime == NULL || kde->lifetime_len < sizeof(lifetime))
744 lifetime = WPA_GET_BE32(kde->lifetime);
746 if (lifetime >= peerkey->lifetime) {
747 wpa_printf(MSG_DEBUG, "RSN: Peer used SMK lifetime %u seconds "
749 "seconds - ignored", lifetime, peerkey->lifetime);
753 wpa_printf(MSG_DEBUG, "RSN: Peer used shorter SMK lifetime %u seconds "
755 lifetime, peerkey->lifetime);
756 peerkey->lifetime = lifetime;
759 peerkey->expiration = now.sec + lifetime;
761 eloop_register_timeout(lifetime, 0, wpa_supplicant_smk_timeout,
781 * from the peer. It may also include Lifetime KDE. */
832 * Lifetime KDE. */