aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-08-25 08:41:19 +0200
committerHarald Welte <laforge@gnumonks.org>2014-08-25 08:42:08 +0200
commit3dd6ebe0b8373001ee5b2fe4655576060237b97e (patch)
treebac8d442ca8da73546e6e7ab0164f8cca8976242 /doc
parent1fb66c8e6a2f79f48b0a79946f6f844e29527817 (diff)
add information on unit (milli-dB) to control interface doc
Diffstat (limited to 'doc')
-rw-r--r--doc/control_interface.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/control_interface.txt b/doc/control_interface.txt
index acbc5b47..5ad97172 100644
--- a/doc/control_interface.txt
+++ b/doc/control_interface.txt
@@ -9,14 +9,18 @@ thermal management. In some cases the PA might be passing a critical level,
so an external control process can use this attribute to reduce the system
output power.
+Please note that all values in the context of transmit power calculation
+are integers in milli-dB (1/10000 bel), so the below example is setting
+the attenuation at 3 dB:
+
<pre>
-bsc_control.py -d localhost -p 4238 -s trx.0.thermal-attenuation 3
-Got message: SET_REPLY 1 trx.0.thermal-attenuation 3
+bsc_control.py -d localhost -p 4238 -s trx.0.thermal-attenuation 3000
+Got message: SET_REPLY 1 trx.0.thermal-attenuation 3000
</pre>
<pre>
bsc_control.py -d localhost -p 4238 -g trx.0.thermal-attenuation
-Got message: GET_REPLY 1 trx.0.thermal-attenuation 3
+Got message: GET_REPLY 1 trx.0.thermal-attenuation 3000
</pre>