hostapd/src/common
Vinay Gannevaram 6f8af5974c Fix expiration logic for the first PTKSA cache entry
When an entry is added to the PTKSA cache, timer expiration is not set.
Check the list and set the timer expiration when the list is empty also.
When another entry is added to the list, it is placed before the relavant
entry in the order of expiry time of all entries present in the list.

Fixes: a4e3691616 ("WPA: Add PTKSA cache implementation")
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
2022-09-02 17:10:58 +03:00
..
brcm_vendor.h brcm_vendor: Fix typos 2022-03-04 12:04:54 +02:00
cli.c cli: Share a common tokenize_cmd() implementation 2016-08-06 12:46:39 +03:00
cli.h cli: Share a common tokenize_cmd() implementation 2016-08-06 12:46:39 +03:00
common_module_tests.c SAE: Remove now unused password identifier argument from non-H2E case 2021-04-10 12:12:54 +03:00
ctrl_iface_common.c hostapd: Add wpa_msg_ctrl() to report Probe Request frames from STA 2017-11-23 20:12:34 +02:00
ctrl_iface_common.h hostapd: Add wpa_msg_ctrl() to report Probe Request frames from STA 2017-11-23 20:12:34 +02:00
defs.h Add support to send multi AKM connect request when driver's SME in use 2022-08-26 17:54:12 +03:00
dhcp.h BSD: Use struct ip rather than struct iphdr 2020-01-02 19:17:10 +02:00
dpp.c DPP: Check Enrollee supported curves when building Config Response 2022-07-28 11:19:55 +03:00
dpp.h DPP: Allow Relay connections to Controllers to be added and removed 2022-07-25 00:23:31 +03:00
dpp_auth.c DPP: Remove unused EVP_PKEY_CTX variable 2021-10-26 23:42:01 +03:00
dpp_backup.c DPP: Use crypto_ec_key_parse_priv() when possible 2021-10-26 22:49:44 +03:00
dpp_crypto.c DPP3: Private Peer Introduction protocol 2022-07-19 00:14:41 +03:00
dpp_i.h DPP: Dynamic Controller initiated connection on Relay 2022-07-23 16:57:54 +03:00
dpp_pkex.c DPP: Strict validation of PKEX peer bootstrapping key during auth 2022-07-22 21:08:08 +03:00
dpp_reconfig.c DPP: Missing/invalid Protocol Version in Reconfig Auth Req 2022-03-07 23:40:27 +02:00
dpp_tcp.c DPP: Add config response status value to DPP-CONF-SENT 2022-07-29 18:55:37 +03:00
dragonfly.c SAE: Move sqrt() implementation into a helper function 2022-01-11 20:15:36 +02:00
dragonfly.h SAE: Move sqrt() implementation into a helper function 2022-01-11 20:15:36 +02:00
eapol_common.h PAE: Use be16/be32 instead of u16/u32 for spartse 2016-06-24 01:38:48 +03:00
gas.c DPP: Configuration exchange 2017-06-19 21:13:15 +03:00
gas.h DPP: Configuration exchange 2017-06-19 21:13:15 +03:00
gas_server.c GAS server: Increase query timeout to 60 seconds for DPP 2022-02-04 12:15:30 +02:00
gas_server.h GAS server: Asynchronous request handler comeback time indication 2022-02-02 16:59:59 +02:00
hw_features_common.c EHT: Add 320 channel width support 2022-06-20 14:39:26 +03:00
hw_features_common.h Move CHANWIDTH_* definitions from ieee80211_defs.h to defs.h 2022-06-20 14:39:18 +03:00
ieee802_1x_defs.h mka: Support GCM-AES-256 2018-08-21 19:28:20 +03:00
ieee802_11_common.c EHT: Add 320 channel width support 2022-06-20 14:39:26 +03:00
ieee802_11_common.h Move CHANWIDTH_* definitions from ieee80211_defs.h to defs.h 2022-06-20 14:39:18 +03:00
ieee802_11_defs.h SAE: Indicate AKM suite selector in commit for new AKM suites 2022-07-25 00:31:51 +03:00
linux_bridge.h vlan: Use new bridge ioctl() 2019-01-02 00:23:43 +02:00
linux_vlan.h Use own header file for defining Linux VLAN kernel interface 2016-03-26 11:24:38 +02:00
Makefile WPA: Add PTKSA cache implementation 2021-01-25 18:36:40 +02:00
ocv.c OCV: Check the Frequency Segment 1 Channel Number only on 80+80 MHz 2022-06-14 17:19:27 +03:00
ocv.h OCV: Use more granular error codes for OCI validation failures 2020-09-11 15:23:28 +03:00
privsep_commands.h privsep: Add key_flag to set_key() 2020-03-01 21:11:07 +02:00
ptksa_cache.c Fix expiration logic for the first PTKSA cache entry 2022-09-02 17:10:58 +03:00
ptksa_cache.h PASN: Deauthenticate on PTKSA cache entry expiration 2022-09-02 16:18:14 +03:00
qca-vendor-attr.h Make qca-vendor.h independent of other header files 2014-04-25 11:41:36 +03:00
qca-vendor.h Add QCA vendor interface to get SAR capabilities to userspace 2022-08-26 18:02:29 +03:00
sae.c SAE: Derive a variable length PMK with the new AKM suites 2022-07-25 00:31:51 +03:00
sae.h SAE: Derive a variable length PMK with the new AKM suites 2022-07-25 00:31:51 +03:00
sae_pk.c SAE-PK: Update design for fingerprint encoding into password 2020-08-05 22:05:20 +03:00
tnc.h tests: TNC testing 2014-05-17 20:05:55 +03:00
version.h The main branch is now used for v2.11 development 2022-01-17 00:03:42 +02:00
wpa_common.c PASN: Add function to compute LTF keyseed from KDK 2022-09-01 20:30:11 +03:00
wpa_common.h PASN: Add function to compute LTF keyseed from KDK 2022-09-01 20:30:11 +03:00
wpa_ctrl.c wpa_ctrl: Wait for a total of 10 seconds, not 10 seconds per iteration 2022-04-18 17:18:40 +03:00
wpa_ctrl.h DPP: Event message for indicating when Relay would need a Controller 2022-07-25 00:23:31 +03:00
wpa_helpers.c wpa_helpers: Ignore link-local IPv4 address while waiting for DHCP 2017-03-26 21:13:21 +03:00
wpa_helpers.h Add wpa_ctrl helper functions for upper level functionality 2014-03-12 01:09:21 +02:00