From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0298430095221614181==" MIME-Version: 1.0 From: James Prestwood Subject: [PATCH v3 4/6] auto-t: add SAE test for a non-ACKed confirm Date: Thu, 09 Sep 2021 15:08:46 -0700 Message-ID: <20210909220848.19376-4-prestwoj@gmail.com> In-Reply-To: <20210909220848.19376-1-prestwoj@gmail.com> List-Id: To: iwd@lists.01.org --===============0298430095221614181== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable --- autotests/testSAE/timeout_test.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/autotests/testSAE/timeout_test.py b/autotests/testSAE/timeout_= test.py index 6f757edb..1413bb4a 100644 --- a/autotests/testSAE/timeout_test.py +++ b/autotests/testSAE/timeout_test.py @@ -63,6 +63,30 @@ class Test(unittest.TestCase): = rule0.remove() = + def test_sta_confirm_not_acked(self): + hostapd =3D HostapdCLI(config=3D'ssidSAE.conf') + hostapd.set_value('vendor_elements', 'dd0cf4f5e8050500000000000000= ') + hostapd.set_value('sae_groups', '19') + hostapd.reload() + + hwsim =3D Hwsim() + bss_radio =3D hwsim.get_radio('rad0') + + rule0 =3D hwsim.rules.create() + rule0.source =3D bss_radio.addresses[0] + rule0.drop =3D True + rule0.prefix =3D 'b0' + rule0.match =3D '02 00 00 00' + rule0.match_offset =3D 26 + rule0.match_times =3D 1 + rule0.drop_ack =3D True + rule0.enabled =3D True + + wd =3D IWD(True) + self.validate_connection(wd) + + rule0.remove() + @classmethod def setUpClass(cls): pass -- = 2.31.1 --===============0298430095221614181==--