Re: [PATCH] dbus: move roam metrics

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

 



On Fri, 2019-10-11 at 13:49 -0700, Matthew Wang wrote:
> These properties were in the wpas_dbus_bss_properties array when
> they should have been in the wpas_dbus_interface_properties array.
> Move
> them to the right place.

Haven't had time to check, but were these properties in a
wpa_supplicant release already? Or just in git master so far?

Dan

> Signed-off-by: Matthew Wang <matthewmwang@xxxxxxxxxxxx>
> ---
>  wpa_supplicant/dbus/dbus_new.c | 48 +++++++++++++++++---------------
> --
>  1 file changed, 24 insertions(+), 24 deletions(-)
> 
> diff --git a/wpa_supplicant/dbus/dbus_new.c
> b/wpa_supplicant/dbus/dbus_new.c
> index 4df61f233..65ddcf657 100644
> --- a/wpa_supplicant/dbus/dbus_new.c
> +++ b/wpa_supplicant/dbus/dbus_new.c
> @@ -2855,30 +2855,6 @@ static const struct wpa_dbus_property_desc
> wpas_dbus_bss_properties[] = {
>  	  NULL,
>  	  NULL
>  	},
> -	{
> -	  "RoamTime", WPAS_DBUS_NEW_IFACE_INTERFACE, "u",
> -	  wpas_dbus_getter_roam_time,
> -	  NULL,
> -	  NULL
> -	},
> -	{
> -	  "RoamComplete", WPAS_DBUS_NEW_IFACE_INTERFACE, "b",
> -	  wpas_dbus_getter_roam_complete,
> -	  NULL,
> -	  NULL
> -	},
> -	{
> -	  "SessionLength", WPAS_DBUS_NEW_IFACE_INTERFACE, "u",
> -	  wpas_dbus_getter_session_length,
> -	  NULL,
> -	  NULL
> -	},
> -	{
> -	  "BSSTMStatus", WPAS_DBUS_NEW_IFACE_INTERFACE, "u",
> -	  wpas_dbus_getter_bss_tm_status,
> -	  NULL,
> -	  NULL
> -	},
>  	{ NULL, NULL, NULL, NULL, NULL, NULL }
>  };
>  
> @@ -3794,6 +3770,30 @@ static const struct wpa_dbus_property_desc
> wpas_dbus_interface_properties[] = {
>  	  NULL,
>  	  NULL
>  	},
> +	{
> +	  "RoamTime", WPAS_DBUS_NEW_IFACE_INTERFACE, "u",
> +	  wpas_dbus_getter_roam_time,
> +	  NULL,
> +	  NULL
> +	},
> +	{
> +	  "RoamComplete", WPAS_DBUS_NEW_IFACE_INTERFACE, "b",
> +	  wpas_dbus_getter_roam_complete,
> +	  NULL,
> +	  NULL
> +	},
> +	{
> +	  "SessionLength", WPAS_DBUS_NEW_IFACE_INTERFACE, "u",
> +	  wpas_dbus_getter_session_length,
> +	  NULL,
> +	  NULL
> +	},
> +	{
> +	  "BSSTMStatus", WPAS_DBUS_NEW_IFACE_INTERFACE, "u",
> +	  wpas_dbus_getter_bss_tm_status,
> +	  NULL,
> +	  NULL
> +	},
>  #ifdef CONFIG_MESH
>  	{ "MeshPeers", WPAS_DBUS_NEW_IFACE_MESH, "aay",
>  	  wpas_dbus_getter_mesh_peers,


_______________________________________________
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