Re: [PATCH] dbus: move roam metrics

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

 



+cc Dan


On Fri, Oct 11, 2019 at 1:49 PM Matthew Wang <matthewmwang@xxxxxxxxxxxx> 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.
>
> 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,
> --
> 2.21.0
>

_______________________________________________
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