aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/main.c
AgeCommit message (Collapse)AuthorFilesLines
2016-11-09fix 'osmo-bts-* --version' segfaultNeels Hofmeyr1-1/+1
Call vty_init() before handle_options() to make sure the host.app_info is populated before --version potentially tries to print it. Change-Id: Ic87b5498b57b2f0f876171a15e769b74c28348c1
2016-10-14msgb ctx: use new msgb_talloc_ctx_init() in various main()sNeels Hofmeyr1-3/+1
Change-Id: I31d62d5e1f0b272985fdef5013270d385c4b988a
2016-09-22heed VTY 'line vty'/'bind' commandNeels Hofmeyr1-1/+2
Like most other osmo-* programs, bind the telnet VTY to the address specified by the 'line vty'/'bind' command. This is added by vty_init(), so until now the BTS offered this config but ignored it. Change-Id: Ic4ab32aee08d8a779adeb9943892de0c828c7b3d
2016-06-17fix typo in error message ('at lEast')Neels Hofmeyr1-1/+1
Change-Id: I6ac3606157dc6c81ed17cd6d26227da8ae26c49f
2016-02-15make PCU socket and telnet port configurableHarald Welte1-5/+5
In some cases we'd like to run multiple instances of osmo-bts on a single machine. This is the case where we a multi-TRX PHY is to be used for several BTSs, or in case osmo-bts-trx has multple SDRs attached. This wa currently prevented by having a hard-coded PCU socket path and telnet port, which are now configurable via VTY / config file itself.
2016-02-15Introduce new phy_link and phy_instance abstractionHarald Welte1-0/+20
This way we can model a flexible mapping between any number of PHYs, each having multiple instances, and then map BTSs with TRXx on top of those PHYs.
2016-01-23main: Return something from the methodHolger Hans Peter Freyther1-0/+2
Fixes: CID#59923
2016-01-22merge bts-specific main function into common/main.c:bts_main()Harald Welte1-0/+332
This removes a lot of copy+paste duplication between different BTS models.