commit 1574909535311609c824077fa14d99f7b4dcc12a
parent 9049ed2f252bad800885459450d74564efe4d684
Author: James Prestwood <prestwoj@gmail.com>
Date: Thu, 9 Sep 2021 15:08:45 -0700
auto-t: change testSAE timeout_test to use match/offset
This makes things more clear on what frames are being blocked
since it passes over header information to get to the actual
SAE payload.
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/autotests/testSAE/timeout_test.py b/autotests/testSAE/timeout_test.py
@@ -42,6 +42,8 @@ class Test(unittest.TestCase):
#
hostapd = HostapdCLI(config='ssidSAE.conf')
hostapd.set_value('vendor_elements', 'dd0cf4f5e8050500000000000000')
+ hostapd.set_value('sae_groups', '19')
+ hostapd.reload()
hwsim = Hwsim()
bss_radio = hwsim.get_radio('rad0')
@@ -50,6 +52,8 @@ class Test(unittest.TestCase):
rule0.source = bss_radio.addresses[0]
rule0.drop = True
rule0.prefix = 'b0'
+ rule0.match = '01 00 00 00 13 00'
+ rule0.match_offset = 26
rule0.match_times = 1
rule0.drop_ack = True
rule0.enabled = True
@@ -57,6 +61,8 @@ class Test(unittest.TestCase):
wd = IWD(True)
self.validate_connection(wd)
+ rule0.remove()
+
@classmethod
def setUpClass(cls):
pass