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.
This commit is contained in:
James Prestwood 2021-09-09 15:08:45 -07:00 committed by Denis Kenzior
parent 9049ed2f25
commit 1574909535
1 changed files with 6 additions and 0 deletions

View File

@ -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