tests: hostapd ctrl_iface SHOW_NEIGHBOR while neighbor report disabled
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
8e6a56b6e0
commit
924c17aad5
1 changed files with 7 additions and 0 deletions
|
@ -208,6 +208,13 @@ def test_rrm_neighbor_db(dev, apdev):
|
||||||
if apdev[0]['bssid'] not in res:
|
if apdev[0]['bssid'] not in res:
|
||||||
raise Exception("Own BSS not visible in SHOW_NEIGHBOR output")
|
raise Exception("Own BSS not visible in SHOW_NEIGHBOR output")
|
||||||
|
|
||||||
|
def test_rrm_neighbor_db_disabled(dev, apdev):
|
||||||
|
"""hostapd ctrl_iface SHOW_NEIGHBOR while neighbor report disabled"""
|
||||||
|
params = {"ssid": "test"}
|
||||||
|
hapd = hostapd.add_ap(apdev[0]['ifname'], params)
|
||||||
|
if "FAIL" not in hapd.request("SHOW_NEIGHBOR"):
|
||||||
|
raise Exception("SHOW_NEIGHBOR accepted")
|
||||||
|
|
||||||
def test_rrm_neighbor_rep_req(dev, apdev):
|
def test_rrm_neighbor_rep_req(dev, apdev):
|
||||||
"""wpa_supplicant ctrl_iface NEIGHBOR_REP_REQUEST"""
|
"""wpa_supplicant ctrl_iface NEIGHBOR_REP_REQUEST"""
|
||||||
check_rrm_support(dev[0])
|
check_rrm_support(dev[0])
|
||||||
|
|
Loading…
Reference in a new issue