summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2018-02-14transceiver: Fix RSP SETSLOT formatPau Espin Pedrol1-1/+1
According to osmo-trx README: SETSLOT sets the format of the uplink timeslots in the ARFCN. The <timeslot> indicates the timeslot of interest. The <chantype> indicates the type of channel that occupies the timeslot. A chantype of zero indicates the timeslot is off. CMD SETSLOT <timeslot> <chantype> RSP SETSLOT <status> <timeslot> <chantype> Change-Id: I63c81155c84fc35cff1704734fd8d2732235c5a4 Related: OS#2944
2014-12-29mobile/SS: Fixed bug in parsing of known supplemenary service codesAndreas Eversberg1-5/+5
Use correct variable to check if supplementary service code is known or not.
2013-12-27fw/calypso/dsp: Make dsp_extcode only load with trx appAndreas Eversberg7-16/+20
As dsp_extcode breaks power measurement and eventually other things, dsp_excode is only loaded with trx app, not with layer1 nor rssi.
2013-06-20host/transceiver: Fix leak in AB processing codepathAndreas Eversberg1-4/+14
Thanks to Andreas for pointing this out Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-06-19osmocon: Improve performance by handling several serial bytes at a timeAndreas Eversberg1-8/+19
2013-06-16osmocon: Add option to set SCHED_RR and prorityAndreas Eversberg1-1/+21
2013-06-16transceiver: Add option to set SCHED_RR and prorityAndreas Eversberg1-1/+21
2013-06-12Add handover support to calypso BTSAndreas Eversberg8-28/+127
2013-04-07fixup 687bc2318d18073d02756ef6ea5b96799f4b9aa7Andreas Eversberg1-3/+2
2013-04-07Fix: Allow TRX command with trailing '\0' and withoutAndreas Eversberg1-3/+5
2013-03-02fw: remove deprecated chainload appSteve Markgraf2-56/+1
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-03-02osmocon: embed chainloaderSteve Markgraf1-44/+65
This allows to directly load highram-images on compal phones with the commandline-switch -c. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-03-01Transceiver application will resync and configure TRX after restart of phoneAndreas Eversberg1-0/+1
This way it is possible to restart a phone without restarting transceiver application. The operation of TRX is continued.
2013-03-01Remove filler table from calypso BTSAndreas Eversberg3-62/+21
It is still not required to transmit dummy bursts, synchronization bursts and frequency correction bursts. If they are not provided by the transceiver, they are filled automatically, depending on current slot configuration.
2013-02-27Transceiver application rejects RXTUNE/TXTUNE, if given ARFCN is invalidAndreas Eversberg1-0/+2
2013-02-27Disable compalram linking for trx application, because image is too largeAndreas Eversberg1-0/+1
2013-02-27Set BTS mode at transceiver application only after successful sync to cellAndreas Eversberg2-1/+14
2013-02-27Add option to transceiver application, to use second phone for TS 1Andreas Eversberg1-1/+24
2013-02-27Allow transceiver application to handle multiple TRX and multiple phonesAndreas Eversberg7-52/+83
There is no more one-to-one relation between application state, trx instance and l1ctl link to the phone. An application can have many trx instances and many l1ctl links to phones. Additionally each trx can have up to 8 relations to one or different l1ctl links, one for each time slot. This allows to split one TRX into several phones. (use only one ARFCN) Also it allows to use multiple phones for multiple TRX. (use multiple ARFCN)
2013-02-27Calypso BTS uses tx_mask and rx_mask to define which slots to TX or RXAndreas Eversberg3-11/+68
Each mask is used to define first time slot number and number of timeslots per frame. The transceiver needs to choose different masks, depending on single phone or multi phone operation. Note: Currently the code only works with very limited number of mask values.
2013-02-27Calypso BTS receives access bursts on all frames of slot type 4 (BCCH+CCCH)Andreas Eversberg1-1/+3
2013-02-27Tansceiver checks quality of RACH, before forwarding it to TRX interfaceAndreas Eversberg2-3/+10
By checking peak level of RACH's training sequence, only peaks that are good enough are forwarded to the TRX interface. If any received noise would be forwarded, there would be too many false detection, due to weak CRC protection of RACH.
2013-02-27Always forward the strongest received access burst of one multiframeAndreas Eversberg1-21/+36
Instead of forwarding access bursts that are above some average noise floor, the strongest of burst of a multiframe is always forwarded, no matter how weak it is. Since bandwidth of serial interface is limited, it is not possible to forward all received access bursts. If there are suddenly many access bursts or if a temporary noise causes detection of several bursts, only the strongest of them is forwarded. This prevents overflow of serial interface. Detection of bursts is possible, no matter how weak they are. Tests have shown that detection works up to 100%, even at border of BTS coverage.
2013-02-27Tranceiver application forwards TOA from layer 1 to TRX interfaceAndreas Eversberg1-2/+5
The TOA of the received access burst is added to the TOA of the demodulator. This sum is the actual access delay.
2013-02-27Calypso BTS sends RSSI with each received bustAndreas Eversberg1-4/+9
For access burst, the TOA offset is used as offset when reading the 88 IQ values from DSP buffer.
2013-02-27Tranceiver application forwards RSSI from layer 1 to TRX interfaceAndreas Eversberg3-5/+8
2013-02-27Calypso BTS sends RSSI with each received bustAndreas Eversberg1-0/+7
2013-02-27Get stealing flags from received burst indications of BTS taskAndreas Eversberg1-2/+4
2013-02-27Transceiver application uses SETSLOT command to configure slot typeAndreas Eversberg4-9/+25
2013-02-27Set slot types for calypso BTS, handle filler table accordinglyAndreas Eversberg5-18/+51
Scheduling of NB/AB/SB/FB depends on given slot type by transceiver application.
2013-02-27New sync task for calypso BTS, using a single frame per multiframeAndreas Eversberg7-3/+338
By using single frame only, loss of packets is reduced. For normal data frames (and for TCH/H speech), one out of four parts of data gets lost. For TCH/F speech, only one out of eight parts of data gets lost. The error correction can compensate the missing parts. The sync code can use the extended DSP task, but it is currently disabled, because the current DSP code does not allow scheduling TSC for each individual task, but we need to use TSC of sync cell here.
2013-02-26Turn off calypso BTS app by pressing power button shortlyAndreas Eversberg1-0/+24
2013-02-26Add gain support to transceiver applicationAndreas Eversberg4-6/+19
To alter default gain of 0, the gain can be altered by using SETRXGAIN control command. Please use a gain of 0, for normal use.
2013-02-26Add gain control to calypso BTS codeAndreas Eversberg3-0/+10
The gain of RX does not follow the sync-cell anymore. It still uses the appropiate gain for sync-cell, but for RX of BTS bursts it uses a gain that is suitable for a receive level of -47 dBm (by default). This is a gain level of 0. The low gain of 0 is the best start value, if phones are close to the BTS, but also for low RX levels below -100 dBm, as several tests showed.
2013-02-26Add loglevel command to transceiver applicationAndreas Eversberg1-1/+6
2013-02-24Add command line options parsing to transceiver applicationAndreas Eversberg1-10/+89
2013-01-16host/layer23: Initial import of the transceiver applicationSylvain Munaut21-0/+2824
Build is optional because it depends on some extra libraries Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-16fw/trx: Initial import of the TRX firmware applicationSylvain Munaut7-1/+1222
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-16fw/l1/l23_api: Wire the L1CTL to the internal TRX interface & prim_btsSylvain Munaut1-0/+47
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-16fw/l1: Initial import of new BTS primitiveSylvain Munaut5-0/+356
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-16fw/l1: Add 'TRX' internal interfaceSylvain Munaut3-2/+90
This is a generic interface to submit and retrieve bursts to be transmitted. By default it has a dummy implementation that does nothing and it's up to the 'application' to provide a correct implementation. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-16fw/l1/tpu: Add function to open multi slot TX TPU windowSylvain Munaut2-0/+46
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-16fw/calypso/dsp: Enable multi-slot TX mode of the ABBSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-16fw/calypso/dsp: Import and load DSP extension patchSylvain Munaut2-3/+199
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-16fw/calypso/uart: Tweak the RX irq threshold to avoid overrunSylvain Munaut1-1/+3
We use the extended mode to have a better control Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-16build: Use a template system for the various host appsSylvain Munaut1-32/+12
This also now allows to pass specific configure arguments to each host application Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-16fw/l1: add CBCH flag to dedicated modeAlex Badea7-14/+36
Add a .dm_flags member to struct l1ctl_dm_est_req. Define a flag bit to indicate CBCH mode. If set, this instructs L1 to use the CBCH variant of SDCCH for dedicated mode (no uplink, no SACCH). Add the new dm_flags field to l1ctl_tx_dm_est_req* API calls. Clear it everywhere, except for app_cbch_sniff which requests CBCH. Signed-off-by: Alex Badea <vamposdecampos@gmail.com> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-16[WIP] Ugly hack to compensate lost time on TS change (high TS -> low TS)Sylvain Munaut1-0/+22
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-13layer23: Be sure to close mncc socket on exit of mobile instanceAndreas Eversberg1-5/+5
2013-01-12layer23: Send SIM APDUs via GSMTAP, if enabledAndreas Eversberg1-1/+18