Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/TR181-WiFi-USGv2.XML
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
</parameter>
<parameter>
<name>WHIX_LogInterval</name>
<type>int[300:3600]</type>
<type>int[60:3600]</type>
<syntax>int</syntax>
<writable>true</writable>
</parameter>
Expand Down
6 changes: 3 additions & 3 deletions source/stats/wifi_monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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;
Expand Down
Loading