[PATCH 1/2] mesh: show peer connected time in the wpa_cli STA cmd output for Mesh mode

Jouni Malinen j at w1.fi
Wed Aug 25 06:54:43 PDT 2021

On Thu, Aug 05, 2021 at 12:12:10AM +0530, Gokul Sivakumar wrote:
> When a Mesh interface is managed by wpa_supplicant, include the peer link
> connected time (secs) in the output of "sta <addr>", "all_sta" wpa_cli cmds
> for each peer. This will be helpful to find when the peer link connection
> got established. The NL80211_STA_INFO_CONNECTED_TIME netlink attribute data
> is used for this purpose if available.

Thanks, applied with a change to include the connected_time line even if
during the first second of the connection (i.e., use an explicit
indication of whether the nl80211 attribute was present instead of
comparing the value to zero).
Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list