diff options
Diffstat (limited to 'src/osmo-bts-sysmo/utils.c')
-rw-r--r-- | src/osmo-bts-sysmo/utils.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/osmo-bts-sysmo/utils.c b/src/osmo-bts-sysmo/utils.c index a636ae15..be6051a8 100644 --- a/src/osmo-bts-sysmo/utils.c +++ b/src/osmo-bts-sysmo/utils.c @@ -112,29 +112,3 @@ int sysmobts_select_femto_band(struct gsm_bts_trx *trx, uint16_t arfcn) /* give up */ return -1; } - -int sysmobts_get_nominal_power(struct gsm_bts_trx *trx) -{ - struct femtol1_hdl *fl1h = trx_femtol1_hdl(trx); - - switch (fl1h->hw_info.model_nr) { - case 0: - case 0xffff: - /* old units have empty flash where the model number is - * stored in later units */ - case 1002: - /* 200mW (23 dBm) nominal power */ - return 23; - case 2050: - /* 5W(37dBm) per TRX. This could be raiesd to 10W(40dBm) - * if the second TRX is not used. */ - return 37; - default: - LOGP(DL1C, LOGL_ERROR, "Model number %u/0x%x not known.\n", - fl1h->hw_info.model_nr, fl1h->hw_info.model_nr); - break; - } - return -1; -} - - |