aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-03-26fixupfairwaves/no-demodAlexander Chemeris1-1/+1
2016-03-26fixupAlexander Chemeris1-5/+7
2015-11-13transceiver: Send packets to a different port in case of external demodulation.Alexander Chemeris1-11/+11
We want to have external demodulation which is transparent for the osmo-trx user, so osmo-trx will send data to the external demodulator and it will send data to the osmo-trx user.
2015-11-13transceiver: Add an option to stream raw samples instead of demodulated ↵Alexander Chemeris3-27/+84
softbits.
2015-11-13fixupAlexander Chemeris1-0/+2
2015-11-13fixupAlexander Chemeris1-2/+1
2015-11-13transceiver: Remove remainings of the equalizer, restructure ↵Alexander Chemeris4-483/+154
driveReceiveFIFO() for better modularity. Equalizer has never worked properly and was always disabled. Now is a good time to remove it completely to make the code cleaner.
2015-09-10Common: Make sure gLogEarly() log to the same facilities as the normal log.Alexander Chemeris1-6/+33
2015-09-10Common: Get rid of a compilation warning.Alexander Chemeris1-1/+1
debugLogEarly was replaced to an empty space and arguments of the function became operators, grouped together by (): Configuration.cpp: In member function 'bool ConfigurationTable::defines(const string&)': Configuration.cpp:272:28: warning: left operand of comma operator has no effect [-Wunused-value] debugLogEarly(LOG_ALERT, "configuration parameter %s not found", key.c_str()); ^ This fix removes debugLogEarly together with its arguments.
2015-09-10Bumped version to 0.1.9~1Kirill Zakharenko1-0/+8
2015-09-10debian: correct dependency on libuhd, throw away dependency on umtrx-uhdKirill Zakharenko1-1/+1
2015-09-10debian: compile for atom arch with SSE3 optimizationsKirill Zakharenko1-3/+3
2015-09-10transceiver/x86: don’t use -march=native to build x86 specialized codeKirill Zakharenko1-1/+1
when this option is used, it is impossible to cross-compile for x86 variants like atom.
2015-09-10debian: whitespace changes, more correct hardening stanzaKirill Zakharenko1-3/+3
2015-09-10bumped version to 0.1.9Kirill Zakharenko1-0/+6
2015-09-10build with instruction set/tuning for atom processorsKirill Zakharenko2-2/+4
fix non-working hardening
2015-09-10debian: make it possible to install osmo-trx dependencies manually on the systemIvan Kluchnikov1-0/+3
2015-09-10debian: update osmo-trx dependenciesIvan Kluchnikov1-1/+1
Now we use uhd and umtrx-uhd instead of libuhd-dev.
2015-09-10debian: Add debug package for the osmo-trxIvan Kluchnikov5-6/+15
2015-09-10debian: Add debian directory to ease building packagesIvan Kluchnikov6-0/+58
2015-08-21sigproc: Make convolution and convert input buffers immutableTom Tsou5-55/+68
For good practice, use const specifier when applicable. Signed-off-by: Tom Tsou <tom@tsou.cc>
2015-08-21uhd: Use internal UHD tick conversionsTom Tsou2-27/+11
UHD handles built in tick and floating point timestamp conversion since version 003.005.004. This removes the need for separate UHD timespec to tick conversion. Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-08-21uhd: Add version 3.9.0 supportTom Tsou2-8/+31
New functionality includes B200-mini device support and updated timing values to match FPGA changes. Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-07-30uhd: Output Rx/Tx gain limits to log to make it more transparent.Alexander Chemeris1-4/+10
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-07-30Logger: Output ERR log messages to stderr as well.Alexander Chemeris1-1/+1
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-07-30Transceiver: Add support for OsmoBTS style handover.Alexander Chemeris2-4/+47
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-07-30Transceiver: Fix whitespace.Alexander Chemeris1-2/+2
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-07-30uhd: Fix UmTRX tuning broken in commit 90f7a01d.Alexander Chemeris1-1/+2
Commit 90f7a01d lost "return" statement. We also should account the fact that offset can be negative. We should return the tuning request immediately after Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-07-30transceiver: Add a debug option to dump selected timeslots to disk.Alexander Chemeris2-1/+27
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-07-30Transceiver: Do not update state->SNRestimate if equalization is disabled.Alexander Chemeris1-4/+4
This also fix a bug of using bool type for noise instead of float. Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-07-30uhd: Fix rounding error in timestamp conversion functions.Alexander Chemeris1-2/+14
Rounding error introduced oscilating timing advance error by regularly overwriting one bit and then skipping one bit. This commit also adds an error message to show up in logs if this ever happens again. Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-07-30sigProcLib: Abstract out common part of Normal/RACH burst detection.Alexander Chemeris3-82/+65
As a side change - get rid of passing toa and amp arguments as pointers and use references instead. The commit doesn't change behaviour, but makes the code cleaner. Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-07-30Checking in clockdump.sh utility.Alexander Chemeris1-0/+3
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-07-30Checking in a more relevant README.Alexander Chemeris1-135/+83
This READMY is from the OpenBTS's TRXManager and actually describes the transceiver API and behavior.
2015-07-30Transceiver: Update noise level only when the timeslot is marked as IDLE.Alexander Chemeris2-16/+32
We can't rely on an assumption that if we can't decode a burst - it's noise. There are many rasons why we can't decode a burst even if it's well above the noise level. Just one example is a RACH burst which can be overlapped with another RACH burst up to a level both are completely unrecognizable. Another example is when a burst is destroyed by bad multi-path. Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-07-30transceiver: Remove noise/RSSI gating.Alexander Chemeris1-2/+1
It does more harm than good. the current noise calculation is too error prone, so we can't trust it. And we end up loosing perfectly good bursts because of that. Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-07-30osmo-trx: Add an option to swap channels on UmTRX.Alexander Chemeris5-9/+16
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-07-30sigProcLib: Check for bogus TOA before using it.Alexander Chemeris1-2/+2
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-07-30Transceiver: Fix clipping detection.Alexander Chemeris3-36/+55
There are two primary changes in this commit: 1) Return values of detect functions changed form bool to int to actually pass the return value from the inner function and notify higher levels about clipping. Previously the information was lost due to conversion to bool. 2) Clipping level is not the final verdict now. We still try to demod a burst and mark it as clipped only if the level is above the clipping level AND we can't demod it. The reasoning for this is that in real life we want to do as much as possible to demod the burst, because we want to get as much from our dynamic range as possible. So a little bit of clipping is fine and is expected. We just don't want too much of it to break our demod. Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-07-30Transceiver: Print noise level for each burst in debug mode.Alexander Chemeris2-10/+14
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-07-30osmo-trx: Add a command line option for the dBFS to dBm offset.Alexander Chemeris3-28/+46
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-07-30Common: Use a scoped lock in the Logger to avoid deadlock on thread cancel.Alexander Chemeris1-2/+1
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-06-01sigProcLib: Fix burst start phase.Alexander Chemeris1-1/+1
R&S CMD57 complains about the start phase of bursts, particularly it shows -15 to -30 deg of error for the bit 0.5 position (start tail bit). This patch makes it happy. ETSI TS 145 004 section 2.2 describes this: "Before the first bit of the bursts as defined in 3GPP TS 45.002 enters the modulator, the modulator has an internal state as if a modulating bit stream consisting of consecutive ones (di = 1) had entered the differential encoder." Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-06-01transceiver: Drive clock indication form the receive thread.Alexander Chemeris1-10/+5
Receive thread receives data from the device, which is a more stable source of clocking than the transmit side. If transmit side has a hiccup, osmo-trx doesn't send the clock indication, and transmit side is getting completely lost in time. With this patch we ensure that clock indication keeps coming. Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-06-01transceiver: Fix out-of-bounds acces in genRandNormalBurst().Alexander Chemeris1-2/+2
We should read gTrainingSequence starting from 0 bit index, not 61 bit index. Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-05-24osmo-trx: Fix random filler command line option.Alexander Chemeris2-3/+13
Filler types was of "bool" type, which prevented it from taking values greter than 1. And RAND filler type has integer value of 2, which was casted to 1 on assigning, which led to a normal filler table being used instead of the RAND one.
2015-05-24Common: Log to console instead of loging to syslog by default.Alexander Chemeris1-2/+2
2015-05-24Common: Introduce a global variable to disable syslog logging.Alexander Chemeris2-8/+11
When we enable DEBUG logging level, syslog gets Gb's of data and can completely exhaust the file system free space. Now we can just enable it. This is not to say that logging to syslog it just not very useful in general.
2015-05-24Transceiver52M: Change POWERON behavior to return success if the transceiver ↵Ivan Kluchnikov1-1/+1
is already running, and only return fail on device failure
2015-05-20Transceiver: Check TSC values to be in [0..7] range.Alexander Chemeris1-3/+3
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>