mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-23 22:42:37 +01:00
auto-t: Add functions to hostapd_cli
This commit is contained in:
parent
d8cb8d7810
commit
91059e68cd
@ -6,3 +6,11 @@ class HostapdCLI:
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def wps_push_button():
|
def wps_push_button():
|
||||||
os.system('hostapd_cli wps_pbc')
|
os.system('hostapd_cli wps_pbc')
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def deauthenticate(client_address):
|
||||||
|
os.system('hostapd_cli deauthenticate ' + client_address)
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def kill_all():
|
||||||
|
os.system('killall hostapd')
|
||||||
|
Loading…
Reference in New Issue
Block a user