Home | History | Annotate | Download | only in rsn_supp

Lines Matching full:lifetime

97 	u32 lifetime;
585 * On TPK lifetime expiration, we have an option of either tearing down
593 wpa_printf(MSG_DEBUG, "TDLS: TPK lifetime expired for " MACSTR
597 wpa_printf(MSG_DEBUG, "TDLS: TPK lifetime expired for " MACSTR
1025 /* Lifetime */
1026 peer->lifetime = TPK_LIFETIME;
1030 "lifetime");
1031 peer->lifetime = 301;
1035 "lifetime");
1036 peer->lifetime = 0xffffffff;
1040 sizeof(timeoutie), peer->lifetime);
1041 wpa_printf(MSG_DEBUG, "TDLS: TPK lifetime %u seconds", peer->lifetime);
1075 u32 lifetime;
1082 * Lifetime */
1124 /* Lifetime */
1125 lifetime = peer->lifetime;
1129 "lifetime in response");
1130 lifetime++;
1134 sizeof(timeoutie), lifetime);
1135 wpa_printf(MSG_DEBUG, "TDLS: TPK lifetime %u seconds from initiator",
1136 lifetime);
1160 u32 lifetime;
1165 * Lifetime */
1205 /* Lifetime */
1206 lifetime = peer->lifetime;
1210 "lifetime in confirm");
1211 lifetime++;
1215 sizeof(timeoutie), lifetime);
1216 wpa_printf(MSG_DEBUG, "TDLS: TPK lifetime %u seconds",
1217 lifetime);
1342 u32 lifetime = 0;
1489 /* Lifetime */
1491 wpa_printf(MSG_INFO, "TDLS: No Key Lifetime IE in TPK M1");
1496 lifetime = WPA_GET_LE32(timeoutie->value);
1497 wpa_printf(MSG_DEBUG, "TDLS: TPK lifetime %u seconds", lifetime);
1498 if (lifetime < 300) {
1499 wpa_printf(MSG_INFO, "TDLS: Too short TPK lifetime");
1632 peer->lifetime = lifetime;
1660 u32 lifetime = peer->lifetime;
1665 if (lifetime > 3 && peer->initiator)
1666 lifetime -= 3;
1667 eloop_register_timeout(lifetime, 0, wpa_tdls_tpk_timeout,
1696 u32 lifetime;
1842 /* Lifetime */
1844 wpa_printf(MSG_INFO, "TDLS: No Key Lifetime IE in TPK M2");
1849 lifetime = WPA_GET_LE32(timeoutie->value);
1850 wpa_printf(MSG_DEBUG, "TDLS: TPK lifetime %u seconds in TPK M2",
1851 lifetime);
1852 if (lifetime != peer->lifetime) {
1853 wpa_printf(MSG_INFO, "TDLS: Unexpected TPK lifetime %u in "
1854 "TPK M2 (expected %u)", lifetime, peer->lifetime);
1905 u32 lifetime;
1992 wpa_printf(MSG_INFO, "TDLS: No Key Lifetime IE in TPK M3");
1998 lifetime = WPA_GET_LE32(timeoutie->value);
1999 wpa_printf(MSG_DEBUG, "TDLS: TPK lifetime %u seconds in TPK M3",
2000 lifetime);
2001 if (lifetime != peer->lifetime) {
2002 wpa_printf(MSG_INFO, "TDLS: Unexpected TPK lifetime %u in "
2003 "TPK M3 (expected %u)", lifetime, peer->lifetime);
2028 struct wpa_tdls_timeoutie *lifetime = (struct wpa_tdls_timeoutie *) ie;
2030 os_memset(lifetime, 0, ie_len);
2031 lifetime->ie_type = WLAN_EID_TIMEOUT_INTERVAL;
2032 lifetime->ie_len = sizeof(struct wpa_tdls_timeoutie) - 2;
2033 lifetime->interval_type = WLAN_TIMEOUT_KEY_LIFETIME;
2034 WPA_PUT_LE32(lifetime->value, tsecs);