dbus: Add inactive time to D-Bus signal info

This enables connection managers to receive and use this information in
the same manner that other station information is exposed.

Signed-off-by: David Ruth <druth@chromium.org>
This commit is contained in:
David Ruth 2022-12-22 20:54:41 +00:00 committed by Jouni Malinen
parent a678a510fb
commit edcad193ae

View file

@ -1086,6 +1086,9 @@ int wpas_dbus_new_from_signal_information(DBusMessageIter *iter,
(si->data.current_rx_rate &&
!wpa_dbus_dict_append_uint32(&iter_dict, "linktxspeed",
si->data.current_tx_rate)) ||
(si->data.inactive_msec &&
!wpa_dbus_dict_append_uint32(&iter_dict, "inactive-time",
si->data.inactive_msec)) ||
(si->data.tx_retry_failed &&
!wpa_dbus_dict_append_uint32(&iter_dict, "retries-failed",
si->data.tx_retry_failed)) ||