hostap/wlantest
Jouni Malinen 97302b39dc wlantest: Try harder to find a STA entry with PTK for 4-address frames
Commit aab6612836 ('wlantest: Search
bss/sta entry more thoroughly for 4-address frames') allowed wlantest to
find a STA entry in this type of cases, but it was still possible for
that STA entry to be the one that has no derived PTK while the STA entry
for the other side of the link might have the derived PTK available.

Extend this BSS/STA selection mechanism to use sta->ptk_set to determine
which STA entry is more useful for decryption, i.e., select the one with
a known PTK.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-12-08 21:54:40 +02:00
..
bip.c wlantest: Fix bip_protect() memory allocation 2016-03-14 18:42:46 +02:00
bss.c wlantest: Do not ignore RSN/WPA/OSEN element before full BSS info 2017-11-14 12:55:48 +02:00
ccmp.c IEEE P802.11ah/D10.0 PV1 CCMP test vectors 2016-09-23 17:49:33 +03:00
ctrl.c Add Suite B 192-bit AKM 2015-01-27 01:43:52 +02:00
gcmp.c Declare all read only data structures as const 2015-04-25 17:33:06 +03:00
inject.c Remove trailing whitespace 2016-12-28 14:31:42 +02:00
Makefile wlantest: Build helper files with FILS support included 2017-09-05 18:59:41 +03:00
monitor.c
process.c Move CRC-32 routine from wlantest to src/utils 2016-10-09 17:13:23 +03:00
readpcap.c wlantest: Add -N command line argument to remove write buffering 2015-11-27 00:10:53 +02:00
rx_data.c wlantest: Try harder to find a STA entry with PTK for 4-address frames 2017-12-08 21:54:40 +02:00
rx_eapol.c wlantest: Remove unnecessary duplication of tk_len from STA entries 2017-11-14 12:54:45 +02:00
rx_ip.c
rx_mgmt.c FILS: Add DHss into FILS-Key-Data derivation when using FILS SK+PFS 2017-09-13 22:17:58 +03:00
rx_tdls.c Simplify Timeout Interval element parsing 2015-04-22 22:05:11 +03:00
sta.c wlantest: Do not ignore RSN/WPA/OSEN element before full BSS info 2017-11-14 12:55:48 +02:00
test_vectors.c Move CRC-32 routine from wlantest to src/utils 2016-10-09 17:13:23 +03:00
tkip.c Use os_memdup() 2017-03-07 13:19:10 +02:00
wep.c Move CRC-32 routine from wlantest to src/utils 2016-10-09 17:13:23 +03:00
wired.c wlantest: Support variable length PMK 2017-09-05 19:05:15 +03:00
wlantest.c wlantest: Support variable length PMK 2017-09-05 19:05:15 +03:00
wlantest.h wlantest: Do not ignore RSN/WPA/OSEN element before full BSS info 2017-11-14 12:55:48 +02:00
wlantest_cli.c wlantest: Add a BSS probe_response counter 2013-12-26 13:37:06 +02:00
wlantest_ctrl.h wlantest: Add a BSS probe_response counter 2013-12-26 13:37:06 +02:00
writepcap.c wlantest: Add -N command line argument to remove write buffering 2015-11-27 00:10:53 +02:00