Skip to content

Commit

Permalink
dm-all: fix SIG
Browse files Browse the repository at this point in the history
  • Loading branch information
BPanther committed Jun 19, 2024
1 parent 938ecdd commit 8fc1f5f
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion src/zapit/src/frontend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8fc1f5f

Please sign in to comment.