* [PATCH v3 2/3] auto-t: hostapd.py: add remove_neighbor()
@ 2022-01-19 22:26 James Prestwood
0 siblings, 0 replies; only message in thread
From: James Prestwood @ 2022-01-19 22:26 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 784 bytes --]
---
autotests/util/hostapd.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/autotests/util/hostapd.py b/autotests/util/hostapd.py
index 97422efc..4ae7c42d 100644
--- 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.
--
2.31.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-19 22:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-19 22:26 [PATCH v3 2/3] auto-t: hostapd.py: add remove_neighbor() James Prestwood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox