aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/l1_if.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-03-26 17:49:06 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-03-26 17:49:06 +0100
commit71d98050f38840f61d37ddb5f7e4efd5d5f0bab4 (patch)
treee14e1be5098ea9c12786e1929d96f1f53e832092 /src/osmo-bts-sysmo/l1_if.h
parent83dc54fb95af692a74f749335a9ee9b2b49dc1b9 (diff)
sysmobts: Honor power reduction on older sysmoBTSv2 hardware
Older hardware didn't have the external attentuator that was used to control the wanted output power. So starting from the git commit 3c8ff3c70bc52d0a1d75a1e6b87b0069d92f10f9 older hardware was always transmitting with 23 dBm regardless of the power reduction. Remember the hardware revision returned by the SystemInformation primitive, postpone the call to l1if_activate_rf until we know the board revision. Manually verified on BTS #1 and #57. On BTS#1 the external attenuator has not been configured and on BTS#57 it was.
Diffstat (limited to 'src/osmo-bts-sysmo/l1_if.h')
-rw-r--r--src/osmo-bts-sysmo/l1_if.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/l1_if.h b/src/osmo-bts-sysmo/l1_if.h
index aa893df6..dd65de9a 100644
--- a/src/osmo-bts-sysmo/l1_if.h
+++ b/src/osmo-bts-sysmo/l1_if.h
@@ -67,6 +67,8 @@ struct femtol1_hdl {
uint8_t dsp_version[3];
uint8_t fpga_version[3];
uint32_t band_support; /* bitmask of GSM_BAND_* */
+ uint8_t ver_major;
+ uint8_t ver_minor;
/* from EEPROM */
uint16_t model_nr;
uint16_t model_flags;