From 8fc1f5f9fa61d730ad3efa0b8a8035b6666cf89a Mon Sep 17 00:00:00 2001 From: BPanther Date: Wed, 19 Jun 2024 17:03:39 +0200 Subject: [PATCH] dm-all: fix SIG --- src/zapit/src/frontend.cpp | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/zapit/src/frontend.cpp b/src/zapit/src/frontend.cpp index d0ba14d39..898fe2f68 100644 --- a/src/zapit/src/frontend.cpp +++ b/src/zapit/src/frontend.cpp @@ -780,7 +780,26 @@ uint16_t CFrontend::getSignalStrength(void) const printf("%s: FE_READ_SIGNAL_STRENGTH failed: %m\n", __FUNCTION__); #if BOXMODEL_DREAMBOX_ALL - strength = strength * 1.85; + if + ( strstr(info.name, "BCM4506") + || strstr(info.name, "BCM4506 (internal)") + || strstr(info.name, "BCM4505") + || strstr(info.name, "BCM73625 (G3)") + || strstr(info.name, "BCM45208") + || strstr(info.name, "BCM45308") + || strstr(info.name, "BCM3158") + ) + { + strength = strength * 1.88; + } + else if (strstr(info.name, "Si2166B")) + { + strength = (strength * 288); + } + else if (strstr(info.name, "Si2166D")) + { + strength = (strength * 288); + } #endif return strength;