From c2c8f829e6dfb2bf2648598c58b7744cdf4f39e1 Mon Sep 17 00:00:00 2001 From: DharmalakshmiA Date: Tue, 26 May 2026 13:45:25 +0530 Subject: [PATCH 1/8] testing --- source/platform/rdkb/bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/platform/rdkb/bus.c b/source/platform/rdkb/bus.c index a69ba86f3..9e7f587c0 100644 --- a/source/platform/rdkb/bus.c +++ b/source/platform/rdkb/bus.c @@ -1183,7 +1183,7 @@ static void bus_sub_cb_registration(char *event_name, rbus_sub_callback_table_t user_cb_set = true; } - wifi_util_info_print(WIFI_BUS,"%s:%d sub_user_cb_set:%d event_name:%s\n", __func__, __LINE__, user_cb_set, event_name); + wifi_util_dbg_print(WIFI_BUS,"%s:%d sub_user_cb_set:%d event_name:%s\n", __func__, __LINE__, user_cb_set, event_name); if (user_cb_set == true) { elem_node_map_t *sub_cb_mux_map = get_bus_mux_sub_cb_map(); From 99a94efe8b4e2dc25bc8e2823b948c5244b6f03b Mon Sep 17 00:00:00 2001 From: Dharmalakshmi Annamalai Date: Tue, 26 May 2026 08:25:10 +0000 Subject: [PATCH 2/8] testing --- source/platform/common/bus_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/platform/common/bus_common.c b/source/platform/common/bus_common.c index e970797c6..8350db409 100644 --- a/source/platform/common/bus_common.c +++ b/source/platform/common/bus_common.c @@ -242,7 +242,7 @@ elem_node_map_t* bus_insert_elem_node(elem_node_map_t* root, bus_mux_data_elem_t next_node = current_node->child; create_child = 1; - wifi_util_info_print(WIFI_BUS,"Request to insert element [%s]!!\r\n", elem->full_name); + wifi_util_dbg_print(WIFI_BUS,"Request to insert element [%s]!!\r\n", elem->full_name); strncpy(name, elem->full_name, strlen(elem->full_name) + 1); From 09e4becf1bd0139fc4a10f3e60ecef466730f830 Mon Sep 17 00:00:00 2001 From: Dharmalakshmi Annamalai Date: Tue, 26 May 2026 11:37:58 +0000 Subject: [PATCH 3/8] testing --- source/core/wifi_ctrl_rbus_handlers.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/core/wifi_ctrl_rbus_handlers.c b/source/core/wifi_ctrl_rbus_handlers.c index b792cbb16..6a300f856 100644 --- a/source/core/wifi_ctrl_rbus_handlers.c +++ b/source/core/wifi_ctrl_rbus_handlers.c @@ -2647,8 +2647,11 @@ void bus_subscribe_events(wifi_ctrl_t *ctrl) } #endif if(!ctrl->hotspot_client_dhcp_failure_subscribed) { - if (bus_desc->bus_event_subs_fn(&ctrl->handle, HOTSPOT_CLIENT_DHCP_FAILURE_DISCONNECTED, hotspot_client_dhcp_failure_disconnect, NULL, - 0) != bus_error_success) { + bus_error_t rc = bus_error_success; + rc = bus_desc->bus_event_subs_fn(&ctrl->handle, HOTSPOT_CLIENT_DHCP_FAILURE_DISCONNECTED, hotspot_client_dhcp_failure_disconnect, NULL, + 0); + wifi_util_error_print(WIFI_CTRL, "%s:%d rc:%d\n", __func__, __LINE__, rc); + if ((rc != bus_error_success) && (rc != bus_error_timeourt)) { wifi_util_error_print(WIFI_CTRL, "%s:%d bus: bus event:%s subscribe fail\n", __FUNCTION__, __LINE__, HOTSPOT_CLIENT_DHCP_FAILURE_DISCONNECTED); } else { From e38e0d80e382839492f9055b9a601cceb817216a Mon Sep 17 00:00:00 2001 From: Dharmalakshmi Annamalai Date: Tue, 26 May 2026 11:45:00 +0000 Subject: [PATCH 4/8] testing --- source/core/wifi_ctrl_rbus_handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/wifi_ctrl_rbus_handlers.c b/source/core/wifi_ctrl_rbus_handlers.c index 6a300f856..05c556b9b 100644 --- a/source/core/wifi_ctrl_rbus_handlers.c +++ b/source/core/wifi_ctrl_rbus_handlers.c @@ -2651,7 +2651,7 @@ void bus_subscribe_events(wifi_ctrl_t *ctrl) rc = bus_desc->bus_event_subs_fn(&ctrl->handle, HOTSPOT_CLIENT_DHCP_FAILURE_DISCONNECTED, hotspot_client_dhcp_failure_disconnect, NULL, 0); wifi_util_error_print(WIFI_CTRL, "%s:%d rc:%d\n", __func__, __LINE__, rc); - if ((rc != bus_error_success) && (rc != bus_error_timeourt)) { + if ((rc != bus_error_success) && (rc != bus_error_timeout)) { wifi_util_error_print(WIFI_CTRL, "%s:%d bus: bus event:%s subscribe fail\n", __FUNCTION__, __LINE__, HOTSPOT_CLIENT_DHCP_FAILURE_DISCONNECTED); } else { From 95a66040210a7273dfd223d9b2050610a5d6425a Mon Sep 17 00:00:00 2001 From: Dharmalakshmi Annamalai Date: Tue, 26 May 2026 14:45:17 +0000 Subject: [PATCH 5/8] testing --- source/core/wifi_ctrl_rbus_handlers.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/source/core/wifi_ctrl_rbus_handlers.c b/source/core/wifi_ctrl_rbus_handlers.c index 05c556b9b..e7c4b1e9d 100644 --- a/source/core/wifi_ctrl_rbus_handlers.c +++ b/source/core/wifi_ctrl_rbus_handlers.c @@ -2651,13 +2651,14 @@ void bus_subscribe_events(wifi_ctrl_t *ctrl) rc = bus_desc->bus_event_subs_fn(&ctrl->handle, HOTSPOT_CLIENT_DHCP_FAILURE_DISCONNECTED, hotspot_client_dhcp_failure_disconnect, NULL, 0); wifi_util_error_print(WIFI_CTRL, "%s:%d rc:%d\n", __func__, __LINE__, rc); - if ((rc != bus_error_success) && (rc != bus_error_timeout)) { - wifi_util_error_print(WIFI_CTRL, "%s:%d bus: bus event:%s subscribe fail\n", - __FUNCTION__, __LINE__, HOTSPOT_CLIENT_DHCP_FAILURE_DISCONNECTED); - } else { + if (rc == bus_error_success) { ctrl->hotspot_client_dhcp_failure_subscribed = true; wifi_util_info_print(WIFI_CTRL, "%s:%d bus: bus event:%s subscribe success\n", __FUNCTION__, __LINE__, HOTSPOT_CLIENT_DHCP_FAILURE_DISCONNECTED); + } else if (rc != bus_error_timeout) { + // To avoid log flooding due to registration issues + wifi_util_error_print(WIFI_CTRL, "%s:%d bus: bus event:%s subscribe fail\n", + __FUNCTION__, __LINE__, HOTSPOT_CLIENT_DHCP_FAILURE_DISCONNECTED); } } } From 02ec09107720fb97c16de03167c25153be54e157 Mon Sep 17 00:00:00 2001 From: Dharmalakshmi Annamalai Date: Wed, 27 May 2026 06:44:00 +0000 Subject: [PATCH 6/8] testing --- source/core/wifi_ctrl_rbus_handlers.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/source/core/wifi_ctrl_rbus_handlers.c b/source/core/wifi_ctrl_rbus_handlers.c index e7c4b1e9d..a7752f0d0 100644 --- a/source/core/wifi_ctrl_rbus_handlers.c +++ b/source/core/wifi_ctrl_rbus_handlers.c @@ -2646,18 +2646,17 @@ void bus_subscribe_events(wifi_ctrl_t *ctrl) } } #endif - if(!ctrl->hotspot_client_dhcp_failure_subscribed) { + if (!ctrl->hotspot_client_dhcp_failure_subscribed) { bus_error_t rc = bus_error_success; - rc = bus_desc->bus_event_subs_fn(&ctrl->handle, HOTSPOT_CLIENT_DHCP_FAILURE_DISCONNECTED, hotspot_client_dhcp_failure_disconnect, NULL, - 0); - wifi_util_error_print(WIFI_CTRL, "%s:%d rc:%d\n", __func__, __LINE__, rc); + rc = bus_desc->bus_event_subs_fn(&ctrl->handle, HOTSPOT_CLIENT_DHCP_FAILURE_DISCONNECTED, + hotspot_client_dhcp_failure_disconnect, NULL, 0); if (rc == bus_error_success) { ctrl->hotspot_client_dhcp_failure_subscribed = true; wifi_util_info_print(WIFI_CTRL, "%s:%d bus: bus event:%s subscribe success\n", __FUNCTION__, __LINE__, HOTSPOT_CLIENT_DHCP_FAILURE_DISCONNECTED); } else if (rc != bus_error_timeout) { - // To avoid log flooding due to registration issues - wifi_util_error_print(WIFI_CTRL, "%s:%d bus: bus event:%s subscribe fail\n", + // To avoid log flooding due to registration failure + wifi_util_error_print(WIFI_CTRL, "%s:%d bus: bus event:%s subscribe fail\n", __FUNCTION__, __LINE__, HOTSPOT_CLIENT_DHCP_FAILURE_DISCONNECTED); } } From 759e22393db69c22425e55fc29be91ddbaa3ea2f Mon Sep 17 00:00:00 2001 From: Dharmalakshmi Annamalai Date: Thu, 4 Jun 2026 06:41:48 +0000 Subject: [PATCH 7/8] testing --- source/core/wifi_ctrl_rbus_handlers.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/core/wifi_ctrl_rbus_handlers.c b/source/core/wifi_ctrl_rbus_handlers.c index a7752f0d0..793469f7f 100644 --- a/source/core/wifi_ctrl_rbus_handlers.c +++ b/source/core/wifi_ctrl_rbus_handlers.c @@ -2658,7 +2658,10 @@ void bus_subscribe_events(wifi_ctrl_t *ctrl) // To avoid log flooding due to registration failure wifi_util_error_print(WIFI_CTRL, "%s:%d bus: bus event:%s subscribe fail\n", __FUNCTION__, __LINE__, HOTSPOT_CLIENT_DHCP_FAILURE_DISCONNECTED); - } + } else { + wifi_util_dbg_print(WIFI_CTRL, "%s:%d bus: bus event:%s subscribe fail due to timeout\n", + __FUNCTION__, __LINE__, HOTSPOT_CLIENT_DHCP_FAILURE_DISCONNECTED); + } } } From af3b8c24a1e69c8830a057b0aaced9cb66bfd9f6 Mon Sep 17 00:00:00 2001 From: Dharmalakshmi Annamalai Date: Thu, 4 Jun 2026 06:44:56 +0000 Subject: [PATCH 8/8] testing --- source/core/wifi_ctrl_rbus_handlers.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/core/wifi_ctrl_rbus_handlers.c b/source/core/wifi_ctrl_rbus_handlers.c index 793469f7f..cd913abbc 100644 --- a/source/core/wifi_ctrl_rbus_handlers.c +++ b/source/core/wifi_ctrl_rbus_handlers.c @@ -2659,9 +2659,10 @@ void bus_subscribe_events(wifi_ctrl_t *ctrl) wifi_util_error_print(WIFI_CTRL, "%s:%d bus: bus event:%s subscribe fail\n", __FUNCTION__, __LINE__, HOTSPOT_CLIENT_DHCP_FAILURE_DISCONNECTED); } else { - wifi_util_dbg_print(WIFI_CTRL, "%s:%d bus: bus event:%s subscribe fail due to timeout\n", - __FUNCTION__, __LINE__, HOTSPOT_CLIENT_DHCP_FAILURE_DISCONNECTED); - } + wifi_util_dbg_print(WIFI_CTRL, + "%s:%d bus: bus event:%s subscribe fail due to timeout\n", __FUNCTION__, __LINE__, + HOTSPOT_CLIENT_DHCP_FAILURE_DISCONNECTED); + } } }