mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
tests: bgscan parameter update
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
41d20df7f3
commit
fb0c693d5f
@ -302,3 +302,14 @@ def test_bgscan_unknown_module(dev, apdev):
|
||||
hapd = hostapd.add_ap(apdev[0], {"ssid": "bgscan"})
|
||||
dev[0].connect("bgscan", key_mgmt="NONE", scan_freq="2412",
|
||||
bgscan="unknown:-20:2")
|
||||
|
||||
def test_bgscan_reconfig(dev, apdev):
|
||||
"""bgscan parameter update"""
|
||||
hostapd.add_ap(apdev[0], {"ssid": "bgscan"})
|
||||
hostapd.add_ap(apdev[1], {"ssid": "bgscan"})
|
||||
|
||||
id = dev[0].connect("bgscan", key_mgmt="NONE", scan_freq="2412",
|
||||
bgscan="simple:1:-20:2")
|
||||
dev[0].set_network_quoted(id, "bgscan", "simple:1:-45:2")
|
||||
dev[0].set_network_quoted(id, "bgscan", "learn:1:-20:2")
|
||||
dev[0].set_network_quoted(id, "bgscan", "")
|
||||
|
Loading…
Reference in New Issue
Block a user