mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-20 11:40:40 +01:00
auto-t: hostapd.py: add remove_neighbor()
This commit is contained in:
parent
2c6bb735ac
commit
301a55c8c3
@ -168,6 +168,10 @@ class HostapdCLI(object):
|
|||||||
cmd = self.cmdline + ['set_neighbor', addr, 'ssid="%s"' % ssid, 'nr=%s' % nr]
|
cmd = self.cmdline + ['set_neighbor', addr, 'ssid="%s"' % ssid, 'nr=%s' % nr]
|
||||||
ctx.start_process(cmd).wait()
|
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):
|
def send_bss_transition(self, device, nr_list):
|
||||||
# Send a BSS transition to a station (device). nr_list should be an
|
# Send a BSS transition to a station (device). nr_list should be an
|
||||||
# array of tuples containing the BSS address and neighbor report.
|
# array of tuples containing the BSS address and neighbor report.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user