aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2015-09-22Merge branch '201509-trx-rebase'0.4.0Harald Welte54-34/+10123
2015-09-22TRX: Add missing call to abis_init()Harald Welte1-0/+2
This somehow got lost during the latest rebase.
2015-09-22make osmo-bts-trx provide bts_model_adjst_ms_pwr()Harald Welte1-0/+7
2015-09-22fixup tests after bts_model_adjst_ms_pwrHarald Welte1-0/+1
2015-09-22tests: Update busrsts_test build.Alexander Chemeris2-1/+4
We've added logging calls to the bursts processing. Add logging facility initializatoin to the test code.
2015-09-22trx: fix potential use of uninitialized toa variable.Alexander Chemeris1-1/+1
Not really a bug, as we're smart about it down the stream, but it's better to be strict here as well.
2015-09-22trx: Send POWERON/OFF commands to osmo-bts only for the first channel.Alexander Chemeris1-2/+8
osmo-trx never supported separate power control for trx's, but now it started to be more strict about it.
2015-09-22trx: Assume 100% BER if total decoded bits is 0 in l1if_process_meas_res()Alexander Chemeris1-1/+2
2015-09-22trx: Cleanup unused parts of loops.cAlexander Chemeris1-7/+2
2015-09-22trx: Remove unused variables.Alexander Chemeris1-2/+2
2015-09-22trx: Fix typo in a log message.Alexander Chemeris1-1/+1
2015-09-22trx: More logging for voice frame decoding functions.Alexander Chemeris1-21/+67
2015-09-22tests: Update bursts_test to accommodate BER calculations.Alexander Chemeris2-9/+50
2015-09-22trx: Implement BER calculations.Alexander Chemeris5-180/+208
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-09-22TRX: Remove extra TCH/HS puncturing valueThomas Tsou1-1/+1
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>
2015-09-22TRX: Check if Transceiver indicates an out of range clockAndreas Eversberg1-7/+15
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.
2015-09-22TRX: Show which TRX does not respond or rejects a commandAndreas Eversberg1-3/+4
2015-09-22trx: Set lchan inactive, only if the dedicated channel is deactivatedAndreas Eversberg1-4/+3
2015-09-22TRX: Activate LCHAN of CCCH when CCCH is configured on time slotAndreas Eversberg1-0/+12
2015-09-22TRX: Free bust buffer memory to when changing lchan typeAndreas Eversberg1-0/+9
2015-09-22TRX: Add VTY option to allow setting RTS advance in framesAndreas Eversberg3-4/+20
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.
2015-09-22TRX: fix some typos in commentsMartin Hauke2-8/+8
2015-09-22build: Use AM_CPPFLAGS in Makefile.amMartin Hauke3-3/+3
Since automake 1.13 INCLUDES is depricated and causes a warning Inspired from similar patches by Alexander Huemer for other osmocom projects.
2015-09-22tests: make tests for sysmobts conditionalMartin Hauke1-0/+4
2015-09-22Allow TRX 0..254 at VTY, even if less TRX are availableAndreas Eversberg4-8/+7
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.
2015-09-22TRX: Changed logging of unserved primitives from LOGL_NOTICE to LOGL_INFOAndreas Eversberg1-4/+4
2015-09-22TRX: Fixed chan_nr for SACCH/8(7) at schedulerAndreas Eversberg1-1/+1
2015-09-22trx: Add option to set transmit power reduction via OML (BSC)Andreas Eversberg3-2/+34
2015-09-22TRX: Do not send burst on IDLE channels at TRX != C0Andreas Eversberg1-0/+5
This is required, so the transceiver transmits no power.
2015-09-22TRX: Close TRX (shutdown all active channels) on ABIS link failureAndreas Eversberg2-3/+10
2015-09-22TRX: Add bts_model_trx_close to TRX implementationAndreas Eversberg1-2/+2
2015-09-22TRX: Fixup ciphering state names after rebasingAndreas Eversberg2-3/+4
2015-09-22TRX: No need to set mode and cipher for PDCHAndreas Eversberg1-0/+8
2015-09-22TRX: If no cipher algorithm is given, or if it is a5/0, reset cipher stateAndreas Eversberg1-1/+4
2015-09-22TRX: Set ciphering to an initial state when activating channelAndreas Eversberg1-0/+8
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.
2015-09-22Add test case for successful handover and unsuccessful handoverAndreas Eversberg7-1/+295
2015-09-22TRX: Process real time scheduling option is now similar to sysmobtsAndreas Eversberg1-10/+10
2015-09-22TRX: Disable handover burst detection when closing channel during detectionAndreas Eversberg1-0/+7
2015-09-22TRX: Use correct slot type for GSM_PHCAN_BCCHAndreas Eversberg1-1/+1
2015-09-22TRX: Handover access burst supportAndreas Eversberg6-10/+62
2015-09-22TRX: Clear lchan state when resetting TRXAndreas Eversberg1-0/+3
2015-09-22TRX: Report measurementsAndreas Eversberg3-8/+55
2015-09-22TRX: Fixed typos tranceiver -> transceiverAndreas Eversberg8-96/+96
2015-09-22TRX: Fix: Cleanly free TRX instances during initialization in case of an errorAndreas Eversberg2-3/+4
2015-09-22Allow one or more TRX to configure via VTYAndreas Eversberg4-5/+7
2015-09-22TRX: Add VTY options to enable and disable SETTSC and SETBSICAndreas Eversberg4-2/+69
2015-09-22TRX: Reset ciphering state when closing channelAndreas Eversberg1-0/+1
2015-09-22TRX: Support for AMR half speechAndreas Eversberg7-0/+748
2015-09-22TRX: Support for TCH/H and GSM half rate transcodingAndreas Eversberg12-9/+645
2015-09-22TRX: Add AMR Payload handlingAndreas Eversberg2-0/+89