On Sat, Mar 09, 2024 at 08:42:23PM +0100, Janusz Dziedzic wrote: > This one allow connection to remote/local > host via SSH and use wpa_cli. > diff --git a/wpaspy/wpaspy.py b/wpaspy/wpaspy.py > @@ -10,16 +10,26 @@ import os > import stat > import socket > import select > +import remotehost That feels quite undesired. remotehost.py is part of the tests/hwsim test setup while wpaspy.py is supposed to be standalone module that can be used to communicate with wpa_supplicant and hostapd for various needs that are certainly not limited to just testing. Maybe this should be in a new class within tests/hwsim that inherits class Ctrl and extends it for this purpose. -- Jouni Malinen PGP id EFC895FA _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap