summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-02-26 18:47:22 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2013-02-26 18:47:22 +0100
commitb85feece835e3d090cd4fd7c387fbdb6890c6e76 (patch)
tree569944e4009046898931780c92e6e34b5a03b26a /include
parentfdf73eb40f7ee6aaf0f50b3f60c6f054d63a49bf (diff)
Add gain control to calypso BTS code
The gain of RX does not follow the sync-cell anymore. It still uses the appropiate gain for sync-cell, but for RX of BTS bursts it uses a gain that is suitable for a receive level of -47 dBm (by default). This is a gain level of 0. The low gain of 0 is the best start value, if phones are close to the BTS, but also for low RX levels below -100 dBm, as several tests showed.
Diffstat (limited to 'include')
-rw-r--r--include/l1ctl_proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/l1ctl_proto.h b/include/l1ctl_proto.h
index fa8814be..86aaa5f4 100644
--- a/include/l1ctl_proto.h
+++ b/include/l1ctl_proto.h
@@ -312,6 +312,7 @@ struct l1ctl_bts_mode {
uint8_t enabled;
uint8_t bsic;
uint16_t band_arfcn;
+ uint8_t gain;
} __attribute__((packed));
/* BTS mode: Burst Request */