How osmocom/osmo-bts works
osmo-bts implements the BTS-side Layer 2 and higher for GSM over Abis/IP, with a Layer 1 boundary and several hardware or software-radio implementations. A network controller configures and operates the BTS over OML and RSL; radio-channel processing then crosses the L1 interface to the selected PHY backend. The README documents LAPDm and supported hardware families, while the tree identifies further runtime areas such as scheduling, PCU, RTP, and management. Edges beyond README-documented relationships are omitted because the relevant implementation excerpts were not provided.
Main entry points: l1sap.c L1 service access · rsl.c RSL signaling · abis.c Abis transport · oml.c OML management
Components 18
Abis protocols
- OML management
src/common/oml.c - RSL signaling
src/common/rsl.c - LAPDm
src/common/lchan.c - Abis transport
src/common/abis.c
Radio processing
- L1 service access
src/common/l1sap.c - Radio scheduler
src/common/scheduler.c - Frame scheduling
src/common/scheduler_mframe.c
PHY platforms
- TRX backend
src/osmo-bts-trx/trx_if.c - Octasic PHY
src/osmo-bts-octphy/l1_if.c - sysmoBTS PHY
src/osmo-bts-sysmo/l1_if.c - Litecell PHY
src/osmo-bts-lc15/l1_if.c - OC-2G PHY
src/osmo-bts-oc2g/l1_if.c - Virtual Um
src/osmo-bts-virtual/virtual_um.h
BTS services
- Packet control
src/common/pcu_sock.c - Voice transport
src/common/rtp_abstract.c - BTS management
src/common/nm_bts_fsm.c - VTY configuration
src/common/vty.c
Other components
- Network controller
Connections 17
- Network controller → Abis transport: exchanges Abis/IP
- Abis transport → OML management: carries OML
- Abis transport → RSL signaling: carries RSL
- RSL signaling → LAPDm: uses LAPDm
- OML management → BTS management: configures BTS
- RSL signaling → L1 service access: radio primitives
- L1 service access → Radio scheduler: radio requests
- Radio scheduler → Frame scheduling: uses frame timing
- L1 service access → TRX backend: crosses L1 boundary
- L1 service access → Octasic PHY: crosses L1 boundary
- L1 service access → sysmoBTS PHY: crosses L1 boundary
- L1 service access → Litecell PHY: crosses L1 boundary
- L1 service access → OC-2G PHY: crosses L1 boundary
- L1 service access → Virtual Um: crosses L1 boundary
- L1 service access → Packet control: packet interface
- L1 service access → Voice transport: voice transport
- VTY configuration → OML management: sets runtime options