]> git.ipfire.org Git - thirdparty/hostap.git/commit
wlantest: Do not update RSC on replays
authorJouni Malinen <j@w1.fi>
Sat, 14 Oct 2017 09:15:52 +0000 (12:15 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 16 Oct 2017 10:11:36 +0000 (13:11 +0300)
commit4158b80eef04c32a42e3412dc36c430349fc8a92
treeeeaf769e498dca5646b7a67d6e467ae3917a7030
parentb488a12948751f57871f09baa345e59b23959a41
wlantest: Do not update RSC on replays

This changes wlantest behavior to mark CCMP/TKIP replays for more cases
in case a device is resetting its TSC. Previously, the RSC check got
cleared on the first marked replay and the following packets were not
marked as replays if they continued incrementing the PN even if that PN
was below the highest value received with this key at some point in the
past.

Signed-off-by: Jouni Malinen <j@w1.fi>
wlantest/rx_data.c