]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Wait for group key handshake before testing Michael MIC failure
authorJouni Malinen <quic_jouni@quicinc.com>
Thu, 14 Dec 2023 09:02:12 +0000 (11:02 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 14 Dec 2023 09:02:12 +0000 (11:02 +0200)
commitc26081bf92e1f6ec2c9e89eb7ce040efdf495662
treed0ba9f9edc7abbeecb7abfb1140e5572e5e3795c
parent7629ac4deff7a006702de8d3df00ae2f8119cafa
tests: Wait for group key handshake before testing Michael MIC failure

Avoid potential race condition in ap_cipher_tkip_countermeasures_ap by
sending the first test frame only after the AP has completed processing
the 4-way handshake and also wait a bit to allow the group key handshake
to be completed.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
tests/hwsim/test_ap_ciphers.py