Skip to content

sta_info: fix insane values in iw sta dump "inactive time"

Ahmed Zaki linux-wireless 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1sta_info: fix insane values in iw sta dump "inactive time"net/mac80211/sta_info.c+2 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] sta_info: fix insane values in iw sta dump "inactive time"

While working on an IBSS network with ath10k-ct, the iw station dump shows insanly high values in the "inactive time". The values are clearly the initial jiifies of the system.

Debugging showed that this happens when the ieee80211_sta_last_active is called while last_ack == 0. In this case, it returns zero and the inactive time shows the system jiffies. This continues until the jiffies wrap back to zero (about 5 minutes).

Ahmed Zaki (1):
sta_info: fix insane values in iw sta dump "inactive time"

 net/mac80211/sta_info.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.17.1