mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 01:52:51 +00:00
wifi-5041: Disable Network probe stats - Disable Synthetic client
Disable Network probe stats and hence the Synthetic client Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
This commit is contained in:
committed by
Arif
parent
da688d3dd6
commit
e6ed8ff483
@@ -0,0 +1,15 @@
|
||||
Index: opensync-2.0.5.0/src/sm/src/sm_network_probe_report.c
|
||||
===================================================================
|
||||
--- opensync-2.0.5.0.orig/src/sm/src/sm_network_probe_report.c
|
||||
+++ opensync-2.0.5.0/src/sm/src/sm_network_probe_report.c
|
||||
@@ -254,6 +254,10 @@ bool sm_network_probe_report_request(
|
||||
/* Restart timers with new parameters */
|
||||
dpp_network_probe_report_timer_set(report_timer, false);
|
||||
|
||||
+ /* NOTE: Disable synthertic client, ignore the timer value set by the
|
||||
+ * cloud and disable network probe stats */
|
||||
+ request_ctx->reporting_interval = 0;
|
||||
+
|
||||
if (request_ctx->reporting_interval) {
|
||||
network_probe_ctx->report_ts = get_timestamp();
|
||||
report_timer->repeat = request_ctx->reporting_interval;
|
||||
Reference in New Issue
Block a user