hostap/wlantest
Jouni Malinen aab6612836 wlantest: Search bss/sta entry more thoroughly for 4-address frames
Previous design worked for the case where only one of the devices was
beaconing, but failed in one direction to find the PTK if both devices
beaconed. Fix this by checking the A1/A2 fields in both directions if
the first pick fails to find the sta entry.

In addition, select the proper rsc value (rsc_tods vs. rsc_fromds) based
on A2 (TA) value for ToDS+FromDS frames to avoid reporting incorrect
replay issues.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-11-15 02:12:20 +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 wlantest: Add support for writing pcapng files 2013-05-26 20:58:42 +03:00
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: Search bss/sta entry more thoroughly for 4-address frames 2017-11-15 02:12:20 +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 wlantest: Recognize hwsim_test packets 2013-05-26 22:19:52 +03:00
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