diff options
| author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-14 15:17:18 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-14 16:02:55 +0200 |
| commit | d859a712a378a4f81c387f2afdee437a6a0a6b54 (patch) | |
| tree | 747dcae3320a02adf3151b75e02602400dff4ca1 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 9cf8572d6b6ffc42755f897c1623eb026cdf8c79 (diff) | |
media: vidtv: adjust signal strength range
On real devices, signal strength is always a negative
number when represented in dBm. A more interesting
range is to use dBmV (which is what Kaffeine does,
for example). The conversion from the two units are
simple:
dBmV = dBm - 108
Usually, signal strength ranges up to 100dBmV. Adjust the
maximum value to be around 74 dBmV, when there's no
frequency shift, which represents a good signal.
With that, Kaffeine displays it a lot better.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
