You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hostap/wlantest
Jouni Malinen b3c43c3c24 wlantest: Allow duplicate frame processing after decryption failure
If a sniffer capture does not include FCS for each frame, but may
included frames with invalid FCS, it would be possible for wlantest to
try to decrypt the first received frame and fail (e.g., due to CCMP MIC
mismatch) because that particular frame was corrupted and then ignore
the following retry of that frame as a duplicate even if that retry has
different payload (e.g., if its reception did not show corruption).

Work around this by skipping duplicate frame detection immediately
following a decryption failure.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
5 years ago
..
Makefile tests: Remove CONFIG_PEERKEY 5 years ago
bip.c wlantest: Fix bip_protect() memory allocation 8 years ago
bss.c OCV: Add wlantest support for indicating OCV 5 years ago
ccmp.c IEEE P802.11ah/D10.0 PV1 CCMP test vectors 8 years ago
ctrl.c OCV: Add wlantest support for indicating OCV 5 years ago
gcmp.c Declare all read only data structures as const 9 years ago
inject.c Remove trailing whitespace 7 years ago
monitor.c wlantest: Add support for writing pcapng files 11 years ago
process.c wlantest: Allow duplicate frame processing after decryption failure 5 years ago
readpcap.c wlantest: Add -N command line argument to remove write buffering 9 years ago
rx_data.c wlantest: Allow duplicate frame processing after decryption failure 5 years ago
rx_eapol.c DPP2: Extend wpa_pmk_to_ptk() to support extra Z.x component in context 5 years ago
rx_ip.c wlantest: Recognize hwsim_test packets 11 years ago
rx_mgmt.c wlantest: Allow duplicate frame processing after decryption failure 5 years ago
rx_tdls.c Simplify Timeout Interval element parsing 9 years ago
sta.c OCV: Add wlantest support for indicating OCV 5 years ago
test_vectors.c Move CRC-32 routine from wlantest to src/utils 8 years ago
tkip.c Use os_memdup() 7 years ago
wep.c Move CRC-32 routine from wlantest to src/utils 8 years ago
wired.c wlantest: Support variable length PMK 7 years ago
wlantest.c wlantest: Support variable length PMK 7 years ago
wlantest.h wlantest: Allow duplicate frame processing after decryption failure 5 years ago
wlantest_cli.c wlantest: Add a BSS probe_response counter 11 years ago
wlantest_ctrl.h wlantest: Add a BSS probe_response counter 11 years ago
writepcap.c wlantest: Add -N command line argument to remove write buffering 9 years ago