Lines Matching full:lifetime
102 u32 lifetime;
599 * On TPK lifetime expiration, we have an option of either tearing down
607 wpa_printf(MSG_DEBUG, "TDLS: TPK lifetime expired for " MACSTR
611 wpa_printf(MSG_DEBUG, "TDLS: TPK lifetime expired for " MACSTR
1059 /* Lifetime */
1060 peer->lifetime = TPK_LIFETIME;
1064 "lifetime");
1065 peer->lifetime = 301;
1069 "lifetime");
1070 peer->lifetime = 0xffffffff;
1074 sizeof(timeoutie), peer->lifetime);
1075 wpa_printf(MSG_DEBUG, "TDLS: TPK lifetime %u seconds", peer->lifetime);
1109 u32 lifetime;
1117 * Lifetime */
1159 /* Lifetime */
1160 lifetime = peer->lifetime;
1164 "lifetime in response");
1165 lifetime++;
1169 sizeof(timeoutie), lifetime);
1170 wpa_printf(MSG_DEBUG, "TDLS: TPK lifetime %u seconds from initiator",
1171 lifetime);
1195 u32 lifetime;
1201 * Lifetime */
1241 /* Lifetime */
1242 lifetime = peer->lifetime;
1246 "lifetime in confirm");
1247 lifetime++;
1251 sizeof(timeoutie), lifetime);
1252 wpa_printf(MSG_DEBUG, "TDLS: TPK lifetime %u seconds",
1253 lifetime);
1448 u32 lifetime = 0;
1627 /* Lifetime */
1629 wpa_printf(MSG_INFO, "TDLS: No Key Lifetime IE in TPK M1");
1634 lifetime = WPA_GET_LE32(timeoutie->value);
1635 wpa_printf(MSG_DEBUG, "TDLS: TPK lifetime %u seconds", lifetime);
1636 if (lifetime < 300) {
1637 wpa_printf(MSG_INFO, "TDLS: Too short TPK lifetime");
1735 peer->lifetime = lifetime;
1766 u32 lifetime = peer->lifetime;
1771 if (lifetime > 3 && peer->initiator)
1772 lifetime -= 3;
1773 eloop_register_timeout(lifetime, 0, wpa_tdls_tpk_timeout,
1815 u32 lifetime;
1989 /* Lifetime */
1991 wpa_printf(MSG_INFO, "TDLS: No Key Lifetime IE in TPK M2");
1996 lifetime = WPA_GET_LE32(timeoutie->value);
1997 wpa_printf(MSG_DEBUG, "TDLS: TPK lifetime %u seconds in TPK M2",
1998 lifetime);
1999 if (lifetime != peer->lifetime) {
2000 wpa_printf(MSG_INFO, "TDLS: Unexpected TPK lifetime %u in "
2001 "TPK M2 (expected %u)", lifetime, peer->lifetime);
2064 u32 lifetime;
2150 wpa_printf(MSG_INFO, "TDLS: No Key Lifetime IE in TPK M3");
2156 lifetime = WPA_GET_LE32(timeoutie->value);
2157 wpa_printf(MSG_DEBUG, "TDLS: TPK lifetime %u seconds in TPK M3",
2158 lifetime);
2159 if (lifetime != peer->lifetime) {
2160 wpa_printf(MSG_INFO, "TDLS: Unexpected TPK lifetime %u in "
2161 "TPK M3 (expected %u)", lifetime, peer->lifetime);
2197 struct wpa_tdls_timeoutie *lifetime = (struct wpa_tdls_timeoutie *) ie;
2199 os_memset(lifetime, 0, ie_len);
2200 lifetime->ie_type = WLAN_EID_TIMEOUT_INTERVAL;
2201 lifetime->ie_len = sizeof(struct wpa_tdls_timeoutie) - 2;
2202 lifetime->interval_type = WLAN_TIMEOUT_KEY_LIFETIME;
2203 WPA_PUT_LE32(lifetime->value, tsecs);