path: root/wlantest/wlantest.h
diff options
authorJouni Malinen <jouni@codeaurora.org>2019-06-12 19:23:30 (GMT)
committerJouni Malinen <jouni@codeaurora.org>2019-06-12 19:27:34 (GMT)
commitb3c43c3c2449efe2d02304a8640d17baf11fb142 (patch)
tree24defdbdf9a319b473da6a7b0f56da44df1342a6 /wlantest/wlantest.h
parenta6ed414c826647719b2b1e0cf37e75357275fa99 (diff)
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>
Diffstat (limited to 'wlantest/wlantest.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/wlantest/wlantest.h b/wlantest/wlantest.h
index bad005d..4e313e0 100644
--- a/wlantest/wlantest.h
+++ b/wlantest/wlantest.h
@@ -93,6 +93,7 @@ struct wlantest_sta {
le16 seq_ctrl_to_sta[17];
le16 seq_ctrl_to_ap[17];
+ int allow_duplicate;
int pwrmgt;
int pspoll;