tests: RNR element generation
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
b16b88acdb
commit
844f955de4
1 changed files with 7 additions and 2 deletions
|
@ -241,9 +241,9 @@ def test_rrm_neighbor_rep_req(dev, apdev):
|
|||
nr2 = "00112233445600000000510107"
|
||||
nr3 = "dd112233445500000000510107"
|
||||
|
||||
params = {"ssid": "test"}
|
||||
params = {"ssid": "test", "rnr": "1"}
|
||||
hostapd.add_ap(apdev[0]['ifname'], params)
|
||||
params = {"ssid": "test2", "rrm_neighbor_report": "1"}
|
||||
params = {"ssid": "test2", "rrm_neighbor_report": "1", "rnr": "1"}
|
||||
hapd = hostapd.add_ap(apdev[1]['ifname'], params)
|
||||
|
||||
bssid1 = apdev[1]['bssid']
|
||||
|
@ -337,6 +337,11 @@ def test_rrm_neighbor_rep_req(dev, apdev):
|
|||
raise Exception("Request failed")
|
||||
check_nr_results(dev[0], ["dd:11:22:33:44:55"], lci=True)
|
||||
|
||||
if "OK" not in hapd.request("UPDATE_BEACON"):
|
||||
raise Exception("UPDATE_BEACON failed")
|
||||
time.sleep(0.2)
|
||||
dev[1].connect("test2", key_mgmt="NONE", scan_freq="2412")
|
||||
|
||||
def test_rrm_neighbor_rep_oom(dev, apdev):
|
||||
"""hostapd neighbor report OOM"""
|
||||
check_rrm_support(dev[0])
|
||||
|
|
Loading…
Reference in a new issue