mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-31 01:04:03 -05:00
tests: sigma_dut sta_scan GetParameter,SSID_BSSID
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
08dc8efd29
commit
74cb18c6b0
@ -2212,6 +2212,19 @@ def test_sigma_dut_sta_scan_bss(dev, apdev):
|
|||||||
finally:
|
finally:
|
||||||
stop_sigma_dut(sigma)
|
stop_sigma_dut(sigma)
|
||||||
|
|
||||||
|
def test_sigma_dut_sta_scan_ssid_bssid(dev, apdev):
|
||||||
|
"""sigma_dut sta_scan GetParameter,SSID_BSSID"""
|
||||||
|
hostapd.add_ap(apdev[0], {"ssid": "abcdef"})
|
||||||
|
hostapd.add_ap(apdev[1], {"ssid": "qwerty"})
|
||||||
|
sigma = start_sigma_dut(dev[0].ifname, debug=True)
|
||||||
|
try:
|
||||||
|
cmd = "sta_scan,Interface,%s,GetParameter,SSID_BSSID" % dev[0].ifname
|
||||||
|
res = sigma_dut_cmd(cmd, timeout=10)
|
||||||
|
if "abcdef" not in res or "qwerty" not in res:
|
||||||
|
raise Exception("Unexpected result: " + res)
|
||||||
|
finally:
|
||||||
|
stop_sigma_dut(sigma)
|
||||||
|
|
||||||
def test_sigma_dut_ap_osen(dev, apdev, params):
|
def test_sigma_dut_ap_osen(dev, apdev, params):
|
||||||
"""sigma_dut controlled AP with OSEN"""
|
"""sigma_dut controlled AP with OSEN"""
|
||||||
logdir = os.path.join(params['logdir'],
|
logdir = os.path.join(params['logdir'],
|
||||||
|
Loading…
Reference in New Issue
Block a user