Re: [PATCH 2/7] wpaspy: add option to use wpa_cli

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux