Commit Graph

3284 Commits

Author SHA1 Message Date
Harald Welte 4450a1530c sysmo-bts: properly initialize the nominal power, print it at startup 2011-07-01 11:27:41 +02:00
Harald Welte 062d96e38b measurements: avoid division by zero 2011-06-30 17:31:54 +02:00
Harald Welte b849684181 deactivate RF + exit when the Abis link is gone
The idea is that the BTS process is re-spawned from init/upstart/systemd
2011-06-29 20:42:14 +02:00
Harald Welte 1eb4d4893c add logging related vty commands 2011-06-29 20:20:11 +02:00
Harald Welte 2bc0e10fa1 RSL/LAPDM: make sure we do lapdm_channel_reset()
this will free / flush any of the queued messages and give us a
clean start for the next user of the same lapdm channel.
2011-06-29 19:14:58 +02:00
Harald Welte 3b7480d5c3 RSL: clarify msgb free scheme in rsl 2011-06-29 19:14:44 +02:00
Harald Welte 40e820d882 OML: fix memory leaks by centralized msgb_free() for rx msgs 2011-06-29 18:57:58 +02:00
Harald Welte ae5dfdc416 Fix memory leak in abis code: Free msgb after tx'ing it 2011-06-29 18:55:03 +02:00
Harald Welte 5a7877457b set talloc ctx for msgb's to make sure we see them in talloc report 2011-06-29 18:46:28 +02:00
Harald Welte b9919bd2a6 Fix support of SDCCH4
In SDCCH4, we use lchan number 0...3 for the SDCCH/SACCH, and
we statically use lchan[4] as the dummy for activating the CCCH
L1 SAPIs.

In order to make combined and non-combined CCCH orthogonal, we simply
also use lchan[4] in that case.  On a 'pure' CCCH, therefore lchan
0..3 are unused and 4 is the actual CCCH.
2011-06-29 18:35:38 +02:00
Harald Welte 8188e1949b sysmo-bts: Bring TCH (FACCH) into a working state 2011-06-29 17:51:16 +02:00
Harald Welte 45b767c7be RSL: Log all RLL messages from A-bis to LAPDm 2011-06-29 17:49:52 +02:00
Harald Welte 1904e50f87 sysmo-bts: Fix TCH/F activation 2011-06-29 15:25:31 +02:00
Harald Welte 9852328aae don't print ((....)) in RSL debug output 2011-06-29 15:05:49 +02:00
Harald Welte 35030111f4 Sysmocom l1if: Don't print hex-dumps of AGCH/SACCH messages anymore 2011-06-29 14:12:36 +02:00
Harald Welte a7d6261108 sysmocom L1: raise the threshold for ignored RACH bursts
the RACH burst detection in the physical layer is appranetly providing many
false positives, and we need to raise the bar a bit in order to not allocate
channels in a useless way...
2011-06-29 14:09:59 +02:00
Harald Welte ee3d0fcb77 make sure we forward EXTENDED MEAS REP to the BSC 2011-06-29 14:09:15 +02:00
Harald Welte 24f22dff1e remove debugging printf in sysinfo code 2011-06-29 13:25:26 +02:00
Harald Welte 5830bfe411 rsl / meas rep: properly check if UNIT DATA IND is really a 04.08 meas rep 2011-06-29 12:43:09 +02:00
Harald Welte 6818881d72 implement baseic uplink measurement processing + reporting
* gather measurements from each PH-DATA.ind
* check every TDMA frame about meas period expiration
* compute averages after period expired
* put MS DL MEAS REP into RSL MEAS RES messages, include UL meas

bugs:
* L3 INFO content seems to have some offset
* is_sub is not set anywhere
* measurement periods might have up/downlink offset
2011-06-29 10:36:07 +02:00
Harald Welte c5e01c8bd4 implement RSL DEACTIVATE SACCH 2011-06-28 12:11:51 +02:00
Harald Welte d04d43098d paging: add paging_reset() function 2011-06-27 23:51:02 +02:00
Harald Welte 656c8236a5 l1_if: We do not need to supply any SAPI on L1->L2 primitives 2011-06-27 23:34:20 +02:00
Harald Welte d9f981cf56 only build sysmocom-femtobts conditionally 2011-06-27 11:45:15 +02:00
Harald Welte b2c0836440 make sure we have libosmogsm with lapdm support (>=0.3.3) 2011-06-27 11:32:11 +02:00
Harald Welte c6b4c87e5d re-work original osmo-bts with support for sysmocom femtobts
This code re-works osmo-bts to add support for the upcoming sysmocom BTS.

It also tries to add some level of abstraction between the generic
part of a BTS (A-bis, RSL, OML, data structures, paging scheduling,
BCCH/AGCH scheduling, etc.) and the actual hardware-specific bits.

The hardware-specific bits are currently only implemented for the sysmocom
femtobts, but should be (re-)added for osmocom-bb, as well as a virtual
BTS for simulation purpose later.

The sysmocom bts specific parts require hardware-specific header files
which are (at least currently) not publicly distributed.
2011-06-27 11:25:35 +02:00
Harald Welte 8e47fb89bf oml: re-use common definitions that are now in libosmocore 2011-05-22 22:46:07 +02:00
Harald Welte cbda62ee76 abis: use ipaccess protocol header from libosmogsm 2011-05-22 22:00:45 +02:00
Harald Welte 8a183fb423 [partial] port to new libosmocore-0.3 APIs 2011-05-22 20:26:58 +02:00
Harald Welte 430f35194d add README file 2011-03-25 13:33:15 +01:00
Harald Welte 33e2041b28 Fix include paths and start to make code compile
(still lots of missing references into osmocom-bb code)
2011-03-04 14:18:23 +01:00
Harald Welte 7241d22867 Add autotools skeleton code 2011-03-04 14:18:10 +01:00
Harald Welte 6836bfeca9 move l1ctl.c to osmo-bts-bb, as it is specific to OsmocomBB 2011-03-04 14:08:36 +01:00
Harald Welte 4b45ae1636 Import all C and Header files from jolly/bts branch of osmocom-bb.git
The BTS code shall reside in a separate git repository, thus I'm
importing the C and H files here.
2011-03-04 14:05:20 +01:00