mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
tests: IBSS operating frequency reporting
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
f0e84057fb
commit
50717e1e32
@ -275,6 +275,11 @@ def test_ibss_open(dev):
|
||||
if "[IBSS]" not in bss['flags']:
|
||||
raise Exception("Unexpected BSS flags: " + bss['flags'])
|
||||
|
||||
freq0 = dev[0].get_status_field("freq")
|
||||
freq1 = dev[1].get_status_field("freq")
|
||||
if freq0 != "2412" or freq1 != "2412":
|
||||
raise Exception("IBSS operating frequency not reported correctly (%s %s)" % (freq0, freq1))
|
||||
|
||||
def test_ibss_open_fixed_bssid(dev):
|
||||
"""IBSS open (no security) and fixed BSSID"""
|
||||
ssid="ibss"
|
||||
|
Loading…
Reference in New Issue
Block a user