From 4089d664c56c0e9626e69fefda32972f8fc9bccc Mon Sep 17 00:00:00 2001 From: Antonio Aloisio Date: Wed, 17 Jul 2024 00:10:07 +0200 Subject: [PATCH 1/2] fix: GT-BE98: Temperature report in Tools Sysinfo page --- release/src/router/www/Tools_Sysinfo.asp | 28 ++++++++++++++---------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/release/src/router/www/Tools_Sysinfo.asp b/release/src/router/www/Tools_Sysinfo.asp index 38fd48e46f1..0f0e8b4e053 100644 --- a/release/src/router/www/Tools_Sysinfo.asp +++ b/release/src/router/www/Tools_Sysinfo.asp @@ -1,4 +1,4 @@ - + @@ -375,16 +375,16 @@ function update_temperatures(){ update_temperatures(); }, success: function(response){ - if (based_modelid === 'GT-AXE16000') { + if (based_modelid === 'GT-AXE16000' || based_modelid === 'GT-BE98') { curr_coreTmp_24_raw = curr_coreTmp_wl3_raw; curr_coreTmp_5_raw = curr_coreTmp_wl0_raw; curr_coreTmp_52_raw = curr_coreTmp_wl1_raw; curr_coreTmp_6_raw = curr_coreTmp_wl2_raw; } else if (based_modelid === 'GT-BE98_PRO') { - curr_coreTmp_24_raw = curr_coreTmp_wl3_raw; - curr_coreTmp_5_raw = curr_coreTmp_wl0_raw; - curr_coreTmp_6_raw = curr_coreTmp_wl1_raw; - curr_coreTmp_62_raw = curr_coreTmp_wl2_raw; + curr_coreTmp_24_raw = curr_coreTmp_wl3_raw; + curr_coreTmp_5_raw = curr_coreTmp_wl0_raw; + curr_coreTmp_6_raw = curr_coreTmp_wl1_raw; + curr_coreTmp_62_raw = curr_coreTmp_wl2_raw; } else { curr_coreTmp_24_raw = curr_coreTmp_wl0_raw; if (band5g_support) @@ -473,16 +473,16 @@ function showbootTime(){ function show_connstate(){ document.getElementById("conn_td").innerHTML = conn_stats_arr[0] + " / <% sysinfo("conn.max"); %>  -  " + conn_stats_arr[1] + " active"; - if (based_modelid === 'GT-AXE16000') { + if (based_modelid === 'GT-AXE16000' || based_modelid === 'GT-BE98') { wlc_24_arr = wlc_3_arr; wlc_51_arr = wlc_0_arr; wlc_52_arr = wlc_1_arr; wlc_6_arr = wlc_2_arr; } else if (based_modelid === 'GT-BE98_PRO') { - wlc_24_arr = wlc_3_arr; - wlc_51_arr = wlc_0_arr; - wlc_6_arr = wlc_1_arr; - wlc_62_arr = wlc_2_arr; + wlc_24_arr = wlc_3_arr; + wlc_51_arr = wlc_0_arr; + wlc_6_arr = wlc_1_arr; + wlc_62_arr = wlc_2_arr; } else { wlc_24_arr = wlc_0_arr; if (band5g_support) @@ -580,7 +580,7 @@ function show_wifi_version() { buf += "
<% sysinfo("driver_version.1"); %>"; if (wl_info.band5g_2_support || wl_info.band6g_support) buf += "
<% sysinfo("driver_version.2"); %>"; - if (based_modelid === 'GT-AXE16000' || based_modelid === 'GT-BE98_PRO') + if (based_modelid === 'GT-AXE16000' || based_modelid === 'GT-BE98_PRO' || based_modelid === 'GT-BE98') buf += "
<% sysinfo("driver_version.3"); %>"; buf += ""; @@ -825,3 +825,7 @@ function show_wifi_version() { + + + + From bcb9d60a8921207940fb0c43ce9fde57d220a9e2 Mon Sep 17 00:00:00 2001 From: mattheweli Date: Sun, 21 Jul 2024 08:12:05 +0200 Subject: [PATCH 2/2] fix: GT-BE98: Fixed Wireless log page --- release/src/router/www/Main_WStatus_Content.asp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/src/router/www/Main_WStatus_Content.asp b/release/src/router/www/Main_WStatus_Content.asp index 1ca2ec34af0..a3198b621e5 100644 --- a/release/src/router/www/Main_WStatus_Content.asp +++ b/release/src/router/www/Main_WStatus_Content.asp @@ -115,7 +115,7 @@ function redraw(){ var bandname_array = []; var code = ""; - if (based_modelid === 'GT-AXE16000') { + if (based_modelid === 'GT-AXE16000' || based_modelid === 'GT-BE98') { apinfo_array = [dataarray3, dataarray0, dataarray1, dataarray2]; client_array = [wificlients3, wificlients0, wificlients1, wificlients2]; dfs_array = [[],dfs_statusarray0, dfs_statusarray1, []];