commit 301a55c8c3e97a10b58cfa6a38c3f88c9451d9c5
parent 2c6bb735aca0756c19048f2795076ec05f5c316e
Author: James Prestwood <prestwoj@gmail.com>
Date: Wed, 19 Jan 2022 14:26:51 -0800
auto-t: hostapd.py: add remove_neighbor()
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/autotests/util/hostapd.py b/autotests/util/hostapd.py
@@ -168,6 +168,10 @@ class HostapdCLI(object):
cmd = self.cmdline + ['set_neighbor', addr, 'ssid="%s"' % ssid, 'nr=%s' % nr]
ctx.start_process(cmd).wait()
+ def remove_neighbor(self, addr):
+ cmd = self.cmdline + ['remove_neighbor', addr]
+ ctx.start_process(cmd).wait()
+
def send_bss_transition(self, device, nr_list):
# Send a BSS transition to a station (device). nr_list should be an
# array of tuples containing the BSS address and neighbor report.