aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/utils.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-10-05 17:16:20 +0200
committerHarald Welte <laforge@gnumonks.org>2013-10-09 15:38:33 +0200
commit19009f2d7ae805ca8037747934cb9c76f533022c (patch)
tree7bae070de4768a0cf24b0869870cadd0422a8e6c /src/osmo-bts-sysmo/utils.h
parentde0ca823f10650328b40db9bf0ce3a287c004b27 (diff)
Do not attempt to initialize L1 with a band unsupported by hardware
If the EEPROM tells us that a given unit doesn't support a given band, we shouldn't try to use it, even if the BSC tells us to use an ARFCN in such an unsupported band. The reason is simple: The given BTS unit might have band specific filter / duplexer / PA.
Diffstat (limited to 'src/osmo-bts-sysmo/utils.h')
-rw-r--r--src/osmo-bts-sysmo/utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-bts-sysmo/utils.h b/src/osmo-bts-sysmo/utils.h
index 4574e221..65706359 100644
--- a/src/osmo-bts-sysmo/utils.h
+++ b/src/osmo-bts-sysmo/utils.h
@@ -3,8 +3,8 @@
#include <stdint.h>
-struct gsm_bts;
+struct gsm_bts_trx;
-int sysmobts_select_femto_band(struct gsm_bts *bts, uint16_t arfcn);
+int sysmobts_select_femto_band(struct gsm_bts_trx *trx, uint16_t arfcn);
#endif