From 64e76292aaf820b25b3bf8b3bad8064f3ec403a8 Mon Sep 17 00:00:00 2001 From: Samyuktha Karthikeyan Date: Thu, 16 Oct 2025 05:56:17 +0000 Subject: [PATCH 1/3] RDKB-62029 Enhance the support for generating client telemetry stats to 1 minute Reason for change: To change the Min_LogInterval value to 60 seconds Test Procedure: 1. Change the Min_LogInterval value to 60 seconds using below mentioned DMCLI dmcli eRT setv Device.DeviceInfo.X_RDKCENTRAL-COM_WIFI_TELEMETRY.LogInterval 2. Connect clients 3. Check for the telemetry stats for every one minute Priority: P0 Risks: Low Signed-off-by: Samyuktha Karthikeyan --- source/stats/wifi_monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/stats/wifi_monitor.c b/source/stats/wifi_monitor.c index 4601a796b..485819363 100644 --- a/source/stats/wifi_monitor.c +++ b/source/stats/wifi_monitor.c @@ -157,7 +157,7 @@ extern void* bus_handle; //#define UPLOAD_AP_TELEMETRY_INTERVAL_MS 24*60*60*1000 // 24 Hours //#define NEIGHBOR_SCAN_RESULT_INTERVAL 5000 //5 seconds -#define Min_LogInterval 300 //5 minutes +#define Min_LogInterval 60 //1 minute #define Max_LogInterval 3600 //60 minutes #define Min_Chan_Util_LogInterval 5 //5 seconds From ebdfd9fe88b1a9bd2b835e1944d24cb05371e774 Mon Sep 17 00:00:00 2001 From: Samyuktha Karthikeyan Date: Thu, 16 Oct 2025 09:30:49 +0000 Subject: [PATCH 2/3] RDKB-62029 Enhance the support for generating client telemetry stats to 1 minute Reason for change: To change the Min_LogInterval value to 60 seconds Test Procedure: 1. Change the Min_LogInterval value to 60 seconds using below mentioned DMCLI dmcli eRT setv Device.DeviceInfo.X_RDKCENTRAL-COM_WIFI_TELEMETRY.LogInterval. 2. Connect clients 3. Check for the telemetry stats for every one minute Priority: P0 Risks: Low Signed-off-by: Samyuktha Karthikeyan --- source/stats/wifi_monitor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/stats/wifi_monitor.c b/source/stats/wifi_monitor.c index 485819363..46c9051cb 100644 --- a/source/stats/wifi_monitor.c +++ b/source/stats/wifi_monitor.c @@ -3767,10 +3767,10 @@ long get_sys_uptime() gettimeofday(&polling_time, NULL); if ((fp = fopen("/tmp/upload", "r")) == NULL) { - /* Minimum LOG Interval we can set is 300 sec, just verify every 5 mins any change in the LogInterval + /* Minimum LOG Interval we can set is 60 sec, just verify every 1 min any change in the LogInterval if any change in log_interval do the calculation and dump the VAP status */ time_gap = polling_time.tv_sec - lastpolledtime; - if ( time_gap >= 300 ) + if ( time_gap >= 60 ) { logInterval=readLogInterval(); lastpolledtime = polling_time.tv_sec; From e70c90f1509be36ea4f7bf4e262fffe81bfd67f7 Mon Sep 17 00:00:00 2001 From: Samyuktha Karthikeyan Date: Thu, 16 Oct 2025 09:54:37 +0000 Subject: [PATCH 3/3] RDKB-62029 Enhance the support for generating client telemetry stats to 1 minute Reason for change: To change the Min_LogInterval value to 60 seconds Test Procedure: 1. Change the Min_LogInterval value to 60 seconds using below mentioned DMCLI dmcli eRT setv Device.DeviceInfo.X_RDKCENTRAL-COM_WIFI_TELEMETRY.LogInterval. 2. Connect clients 3. Check for the telemetry stats for every one minute Priority: P0 Risks: Low Signed-off-by: Samyuktha Karthikeyan --- config/TR181-WiFi-USGv2.XML | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/TR181-WiFi-USGv2.XML b/config/TR181-WiFi-USGv2.XML index b93f09a4c..c908819da 100644 --- a/config/TR181-WiFi-USGv2.XML +++ b/config/TR181-WiFi-USGv2.XML @@ -207,7 +207,7 @@ WHIX_LogInterval - int[300:3600] + int[60:3600] int true