Commit Graph
2029 Commits
Author SHA1 Message Date
Cedric Roux 0a33a1d3e7 Merge remote-tracking branch 'origin/bugfix-223' into develop_integration_w13 2017-03-28 16:21:20 +02:00
Cedric Roux b7762c6a7d Merge remote-tracking branch 'origin/bugfix-220' into develop_integration_w13 2017-03-28 16:15:32 +02:00
Wilson Thong 40f9b9f4e0 #223 fixed USRP initialization when disabling --ue-carrier-scan option 2017-03-28 10:48:38 +08:00
Wilson Thong 924c421beb #220 add help printout for run options 2017-03-28 10:17:51 +08:00
Wilson W.K. Thong 4a2f9d2571 #220 enhance logging to show also thread name 2017-03-28 10:17:51 +08:00
Cedric Roux fa0b8668fb bugfix: workaround a problem with timestamp and LMSSDR.
We have a strange problem with the timestamp of the very
first packets received from the LimeSDR that leads to
a complete failure of the eNB.

A simple workaround is to discard the first RX packet
just after a "start" of the device.

We also change the value of "tx_sample_advance" to a more
reasonable value. The problem of timestamp was "solved"
differently in the past and at the time we needed to put
a much higher value.

This may have to be refined at some point.
2017-03-27 16:32:42 +02:00
Cedric Roux fc5c876a81 Merge remote-tracking branch 'origin/feature-228-rrc-rel14' into develop_integration_w12 2017-03-24 17:08:27 +01:00
Cedric Roux 75aff99bf6 Merge remote-tracking branch 'origin/bugfix-227-ue-ip-setting' into develop_integration_w12 2017-03-24 17:08:08 +01:00
Cedric Roux fec6832122 Merge remote-tracking branch 'origin/if5-fixes-w11' into develop_integration_w12 2017-03-24 17:07:51 +01:00
Cedric Roux c54cb41805 Merge remote-tracking branch 'origin/various-fixes-w12' into develop_integration_w12 2017-03-24 17:07:26 +01:00
Cedric Roux 676ca5c3a0 compilation warning removal 2017-03-24 14:40:00 +01:00
Cedric Roux dfcbeff0d4 bugfix/warning removal
not sure of this one, to be checked
2017-03-24 14:26:16 +01:00
Cedric Roux 181eb532e1 bugfix 2017-03-24 14:23:11 +01:00
Cedric Roux bc10722013 warnings removal 2017-03-24 14:20:06 +01:00
Cedric Roux 60efa62dc8 compilation warning removal 2017-03-24 13:09:35 +01:00
Cedric Roux 7c7022a198 compilation warning removal 2017-03-24 13:08:45 +01:00
Cedric Roux 89c60dacfd compilation warning removal 2017-03-24 13:07:21 +01:00
Cedric Roux 34c303efb5 compilation warning removal 2017-03-24 13:05:08 +01:00
Cedric Roux e9d88a101d bugfix: array too short for data
6 numbers (2 hexa digits each) separated by ':'
plus ending 0 makes 18 bytes, not 6, let's put 20
2017-03-24 13:02:52 +01:00
Cedric Roux e5c5185eda compilation warning removal 2017-03-24 12:47:00 +01:00
Cedric Roux e268611bec bugfix 2017-03-24 12:45:17 +01:00
Cedric Roux 4a6e433b21 compilation warning removal 2017-03-24 12:41:10 +01:00
Cedric Roux b95ff08295 compilation warning removal 2017-03-24 12:40:11 +01:00
Cedric Roux cfac326c00 compilation warning removal 2017-03-24 12:39:11 +01:00
Cedric Roux c01d9dc1f0 compilation warning removal 2017-03-24 12:34:15 +01:00
Cedric Roux 99b521901c compilation warning removal 2017-03-24 12:33:09 +01:00
Cedric Roux 6977429706 compilation warning removal 2017-03-24 12:32:58 +01:00
Cedric Roux d2098da06c fix targets/COMMON/openairinterface5g_limits.h
- LMSSDR was not handled
- bad #if usage
- bad indentation

still not very clean, but better
2017-03-24 12:27:46 +01:00
Cedric Roux 71fde41477 compilation warning removal 2017-03-24 12:21:45 +01:00
Cedric Roux b3d9e19899 compilation warning removal 2017-03-24 12:21:04 +01:00
Cedric Roux aaac4894c9 compilation warning removal 2017-03-24 12:17:08 +01:00
Cedric Roux 4fcb6272f4 RRC Rel14
- import RRC ASN.1 defintions from the specifications
  (file openair2/RRC/LITE/MESSAGES/asn1c/ASN1_files/RRC-e10.asn)
  contrary to rel8/10, all modules have been imported, maybe it's too much
  to refine in case of problems
- deal with rel14 in fix_asn1
- all code that was for Rel10 is now for Rel10/Rel14
- some incompatible changes (mostly in naming) were resolved in favor
  of rel14, see in openair2/RRC/LITE/defs.h
- unsure about the rlc layer, some arrays have changed (values appended),
  I only changed the definition and in tests in the code, I changed
  the index limit, maybe it's not enough

Rel14 is the default compilation mode.
2017-03-23 18:06:40 +01:00
Cedric Roux cff9149920 fix issue 227 - UE IP settings disrupts realtime
see https://gitlab.eurecom.fr/oai/openairinterface5g/issues/227

When the UE connects to the eNodeB and receives its IP address from the
network, it calls system() to set it in the linux kernel world. This call
is not done in a realtime thread, but in the NAS, which uses its own thread,
independent of the realtime processing.

In some situations this totally disrupts realtime processing.

It is difficult to know precisely why that happens, but it seems that calling
fork(), as system() does, in a multi-threaded program is not a good idea. (So
say several people on the internet.) It is not clear why the softmodem is
impacted, but it seems that fork() is really what triggers the disruption.
Several tests lead to that conclusion.

To fix the problem, we create a child background process very early in main()
(before anything else basically). Then instead of calling system(), the main
process sends the string to the background process. The background process
gets the string, passes it to system() and reports the success/failure back
to the main process.

This solution involves a lot of system calls, but calling system() in the
first place is not cheap either. As long as no realtime thread uses this
mechanism, things should be fine. Time will tell.
2017-03-23 12:34:24 +01:00
Cedric Roux 89f747a218 minor fixes 2017-03-23 10:40:47 +01:00
Cedric Roux 238b22e5b5 fixes for IF5
This work was done by Bruno Mongazon.
2017-03-23 09:23:07 +01:00
Calisson 7685cf1811 fixing srs in msg3. now all SRS subframe configs work. 2017-03-21 14:16:19 +01:00
Calisson 98efcd5220 fixing a bug related to SRS procedures 2017-03-21 09:37:08 +01:00
Calisson 1677e8f847 Merge remote-tracking branch 'origin/develop' into feature-218-srs 2017-03-20 17:15:26 +01:00
Calisson e2d46f8040 adding mechanism for SRS scheduling of multiple UEs. 2017-03-20 17:13:42 +01:00
Cedric Roux fd1e01579c bugfix: set cpuf in oaisim 2017-03-20 10:28:11 +01:00
Cedric Roux b2bda9498c Merge remote-tracking branch 'origin/calib-LimeSDR' into develop_integration_w11 2017-03-16 17:57:48 +01:00
Cedric Roux c6581031d5 various quick fixes 2017-03-16 17:37:05 +01:00
Florian Kaltenberger b4f8219170 calibrations for 5/10/20 MHz LimeSDR 2017-03-15 16:04:42 +01:00
Calisson 1e193853eb WIP: adding srs channel estimation to eNB. estimation results yet to be checked. 2017-03-14 17:13:14 +01:00
hbilel bd4898222f pdcch dual buffer 2017-03-13 15:50:10 +01:00
Cedric Roux a194009e00 integration fix: put dlsch_demod_shift into dlsch_demodulation 2017-03-13 10:06:26 +01:00
Cedric Roux fe5fd2494c Merge remote-tracking branch 'origin/tdd_w10' into develop_integration_w10 2017-03-10 22:27:29 +01:00
Rohit Gupta 02f3298a58 several fixes to previous commit. First tests in FDD with USRP and UE ok. 2017-03-10 16:18:40 +01:00
Florian Kaltenberger a587e35a9d removal and renaming of LimeSDR configuration files 2017-03-10 15:37:26 +01:00
Florian Kaltenberger 340d05eebf Merge branch 'calib-LimeSDR' of https://gitlab.eurecom.fr/oai/openairinterface5g into calib-LimeSDR
Conflicts:
	targets/ARCH/LMSSDR/USERSPACE/LIB/lms_lib.cpp
2017-03-10 15:26:46 +01:00