Commit Graph

622 Commits

Author SHA1 Message Date
Ivan Kluchnikov 5bb48d0c75 debian: Add gsm_data_shared.h file to make packaging possible 2015-07-17 14:15:07 +03:00
Ivan Kluchnikov 82b4fbd507 debian: Add debian directory to ease building packages 2015-07-17 14:14:37 +03:00
Ivan Kluchnikov f2f20ad82a debian: Add gsm_data_shared.c file to make packaging possible 2015-07-17 14:14:07 +03:00
Alexander Chemeris cefa52b421 trx: Assume 100% BER if total decoded bits is 0 in l1if_process_meas_res() 2015-07-17 13:51:54 +03:00
Alexander Chemeris c35c0cd6c8 trx: Cleanup unused parts of loops.c 2015-07-17 13:51:10 +03:00
Alexander Chemeris d2448c697f trx: Remove unused variables. 2015-07-17 13:50:25 +03:00
Alexander Chemeris 68923685ea trx: Fix typo in a log message. 2015-07-17 13:49:42 +03:00
Alexander Chemeris 90b4e07e42 trx: More logging for voice frame decoding functions. 2015-04-23 21:53:08 -04:00
Alexander Chemeris 209e33a8fb tests: Update bursts_test to accommodate BER calculations. 2015-04-23 21:52:10 -04:00
Alexander Chemeris e510c84860 trx: Implement BER calculations.
A known issue with this code is that BER is not updated for lost TCH frames,
because osmo-trx doesn't send any indication for them and we don't have
a callback to handle this.

Otherwise the code seem to work fine.
2015-04-23 21:42:54 -04:00
Ivan Kluchnikov 9b7e7f7622 abis: Add support of libosmo-abis v 0.3.0 2015-04-07 15:47:15 +03:00
Ivan Kluchnikov a6ad0b44ae handover fix: we can receive handover rach on trx == bts->c0 2014-12-16 16:10:37 +03:00
Thomas Tsou d913322b47 TRX: Remove extra TCH/HS puncturing value
3GPP TS 05.03 "Channel coding" specifies the puncturing matrix (1,0,1)
for class 1 information bits and tail bits valued u(0) to u(103) for a
maximum puncturing index of 311. The puncturing index 313 exceeds the
maximum index and causes osmo_conv_get_output_length() to output the
improper length of 210 instead of 211.

Signed-off-by: Thomas Tsou <tom@tsou.cc>
2014-09-23 13:32:52 +04:00
Ivan Kluchnikov eac3b8c2a6 fix: make sysmobts tests only when sysmobts is enabled 2014-05-07 18:09:06 +04:00
Andreas Eversberg d7a3b630b4 TRX: Check if Transceiver indicates an out of range clock
If frame number is out of range (>= 2715648), the scheduler's process
would end up in an infinite loop. This is because the loop would schedule
bursts until the indicated frame number is reached, which would not be
possible.

The openbts, calypso-bts and osmo-trx might send out out of range clock
indications every 3.5 hour.
2014-04-06 14:39:23 +02:00
Andreas Eversberg 5a8afc1957 handover fix: handover_frame must call handover_reset, not itself 2014-04-06 08:58:33 +02:00
Andreas Eversberg e5beda8f83 ABIS: Support of multiple RSL connections for ABIS/ipaccess 2014-04-06 08:58:32 +02:00
Andreas Eversberg 96735bb4c9 TRX: Show which TRX does not respond or rejects a command 2014-04-06 08:58:31 +02:00
Andreas Eversberg eeff81eb07 trx: Set lchan inactive, only if the dedicated channel is deactivated 2014-04-06 08:58:30 +02:00
Andreas Eversberg b95a7ccd91 TRX: Activate LCHAN of CCCH when CCCH is configured on time slot 2014-04-06 08:58:29 +02:00
Andreas Eversberg 7a9456075c HACK: Make ABIS work when reestablishing 2014-04-06 08:58:28 +02:00
Andreas Eversberg 9bb1a4a36a Fix: Call e1inp_vty_init() before reading config file 2014-04-06 08:58:27 +02:00
Andreas Eversberg 129bc60c77 TRX: Free bust buffer memory to when changing lchan type 2014-04-06 08:58:26 +02:00
Andreas Eversberg 4802b76185 TRX: Add VTY option to allow setting RTS advance in frames
RTS (ready-to-send) must be issued in advance, so BTS core and especially
osmo-pcu can provide downlink data frames early enough. In some cases PCU
might provide frames too late, so they must be dropped. If PCU provides
frames too late, due to high system load, this "RTS advance" setting must
be increased.
2014-04-06 08:58:26 +02:00
Martin Hauke c41fd8cab4 fix some typos in comments 2014-04-06 08:58:25 +02:00
Martin Hauke cc723f630e build: Use AM_CPPFLAGS in Makefile.am
Since automake 1.13 INCLUDES is depricated and causes a warning
Inspired from similar patches by Alexander Huemer for other osmocom
projects.
2014-04-06 08:58:24 +02:00
Martin Hauke 3212470d60 tests: make tests for sysmobts conditional 2014-04-06 08:58:23 +02:00
Andreas Eversberg e6df0536ad Allow TRX 0..254 at VTY, even if less TRX are available
Instead of limiting the number of TRX at VTY to the actual number of
supported TRX, VTY allows to configure any possible number of TRX. If a
TRX is configured, which is not supported by BTS model, an error message is
returned, which states that the given TRX is not supported.
2014-04-06 08:58:22 +02:00
Andreas Eversberg c26d3b7ab9 TRX: Changed logging of unserved primitives from LOGL_NOTICE to LOGL_INFO 2014-04-06 08:58:21 +02:00
Andreas Eversberg 4c40a23966 TRX: Fixed chan_nr for SACCH/8(7) at scheduler 2014-04-06 08:58:20 +02:00
Andreas Eversberg 838a2043a0 trx: Add option to set transmit power reduction via OML (BSC) 2014-04-06 08:58:19 +02:00
Andreas Eversberg 7ba9bf5efa TRX: Do not send burst on IDLE channels at TRX != C0
This is required, so the transceiver transmits no power.
2014-04-06 08:58:18 +02:00
Andreas Eversberg c7bc0fec8a Fix: Retrieve ARFCN (from OML) for TRX other than C0 2014-04-06 08:58:18 +02:00
Andreas Eversberg 2686a02f0e TRX: Close TRX (shutdown all active channels) on ABIS link failure 2014-04-06 08:58:17 +02:00
Andreas Eversberg 3d3f88f2f8 Fix: Process all TRX on GSM Time indication, not only C0 2014-04-06 08:58:16 +02:00
Andreas Eversberg 8bbe9bdc9c TRX: Add bts_model_trx_close to TRX implementation 2014-04-06 08:58:15 +02:00
Andreas Eversberg 45971cfb0f TRX: Fixup ciphering state names after rebasing 2014-04-06 08:58:14 +02:00
Andreas Eversberg e7df709ec5 TRX: No need to set mode and cipher for PDCH 2014-04-06 08:58:13 +02:00
Andreas Eversberg 29479a07fe TRX: If no cipher algorithm is given, or if it is a5/0, reset cipher state 2014-04-06 08:58:12 +02:00
Andreas Eversberg 770620b847 TRX: Set ciphering to an initial state when activating channel
Handover and assignment may activate channels with ciphering already set,
so we need to tell scheduler to enable/disable ciphering and set the
correct cipher state.
2014-04-06 08:58:11 +02:00
Andreas Eversberg 962553c63f Add test case for successful handover and unsuccessful handover 2014-04-06 08:58:10 +02:00
Andreas Eversberg 5996ab8592 TRX: Process real time scheduling option is now similar to sysmobts 2014-04-06 08:58:09 +02:00
Andreas Eversberg f6b615cfd0 TRX: Disable handover burst detection when closing channel during detection 2014-04-06 08:58:09 +02:00
Andreas Eversberg bb01d70777 TRX: Use correct slot type for GSM_PHCAN_BCCH 2014-04-06 08:58:08 +02:00
Andreas Eversberg 3b588a26af TRX: Handover access burst support 2014-04-06 08:58:07 +02:00
Andreas Eversberg 46bbf8eccb TRX: Clear lchan state when resetting TRX 2014-04-06 08:58:06 +02:00
Andreas Eversberg b6b0a0b103 TRX: Report measurements 2014-04-06 08:58:05 +02:00
Andreas Eversberg 28f7dce971 TRX: Fixed typos tranceiver -> transceiver 2014-04-06 08:58:04 +02:00
Andreas Eversberg 4a346609a3 Fix: Cleanly free TRX instances during initialization in case of an error 2014-04-06 08:58:03 +02:00
Andreas Eversberg 38987eaa11 Allow one or more TRX to configure via VTY 2014-04-06 08:58:02 +02:00