[PATCH] doc: add STA inactive and connected time duration info to diagnostics

Gokul Sivakumar <[email protected]> Thu, 7 Aug 2025 14:28:57 +0530
Newsgroups dev.linux.lists.iwd
Message-ID <[email protected]>
---
 doc/access-point-diagnostic-api.txt | 6 ++++++
 doc/station-diagnostic-api.txt      | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/doc/access-point-diagnostic-api.txt b/doc/access-point-diagnostic-api.txt
index 9b293b6f..c2d70826 100644
--- a/doc/access-point-diagnostic-api.txt
+++ b/doc/access-point-diagnostic-api.txt
@@ -31,6 +31,12 @@ Methods		array{dict} GetDiagnostics()
 
 			TxMCS [optional] - Transmitting MCS index
 
+			InactiveTime [optional] - Time duration (in ms) for which the STA
+						  connected to this BSS is currently inactive.
+
+			ConnectedTime [optional] - Time duration (in s) for which the STA
+						   remains connected to this BSS.
+
 			Possible errors: net.connman.iwd.Failed
 					 net.connman.iwd.NotConnected
 					 net.connman.iwd.NotFound
diff --git a/doc/station-diagnostic-api.txt b/doc/station-diagnostic-api.txt
index 77651366..9b51d4b7 100644
--- a/doc/station-diagnostic-api.txt
+++ b/doc/station-diagnostic-api.txt
@@ -53,6 +53,12 @@ Methods		dict GetDiagnostics()
 					- GCMP-256
 					- CCMP-256
 
+			InactiveTime [optional] - Time duration (in ms) for which this STA
+						  is currently inactive.
+
+			ConnectedTime [optional] - Time Duration (in s) for which this STA
+						   remains connected to the BSS.
+
 			Possible errors: net.connman.iwd.Busy
 					 net.connman.iwd.Failed
 					 net.connman.iwd.NotConnected
-- 
2.43.0