Commit Graph
6759 Commits
Author SHA1 Message Date
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 ac437d3d12 compilation warning removal 2017-03-24 12:30:06 +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 92ee6017cd compilation warning removal 2017-03-24 12:09:09 +01:00
Cedric Roux 7514e7139a compilation warning removal 2017-03-24 12:08:31 +01:00
Cedric Roux 048f07f67f compilation warning removal 2017-03-24 12:07:51 +01:00
Cedric Roux 3ce5f50755 compilation warning removal 2017-03-24 12:03:56 +01:00
Cedric Roux a3f7ceb395 compilation warning removal 2017-03-24 12:02:08 +01:00
Cedric Roux 1789b3de59 compilation warning removal 2017-03-24 12:00:58 +01:00
Cedric Roux e82c6764f9 compilation warning removal 2017-03-24 12:00:23 +01:00
Cedric Roux bf3a4f6464 compilation warning removal 2017-03-24 12:00:04 +01:00
Cedric Roux d8627b5e3f compilation warning removal 2017-03-24 11:59:27 +01:00
Cedric Roux 2291f4ebec compilation warning removal 2017-03-24 11:58:01 +01:00
Cedric Roux 216cd0bf02 compilation warning removal 2017-03-24 11:56:34 +01:00
Cedric Roux 8dd8a97c34 compilation warning removal 2017-03-24 11:55:32 +01:00
Cedric Roux 11856c6b00 compilation warning removal: allocate_REs set but not used
I removed this variable entirely because it's not used.

Maybe the bug is that it's not used after being set?
To be checked and fixed at some point.
2017-03-24 11:53:34 +01:00
Cedric Roux 774452bbbb compilation warning removal
this variable does not seem to be used, to be removed?
2017-03-24 11:50:56 +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
Cedric Roux fe0b84ddaf fix: revert ue_eurecom_test_sfr.conf to its previous state
Keys/IDs have been inadvertently changed.
2017-03-22 12:38:03 +01:00
Elena_Lukashova b88fec2304 Some more printouts for rank adaptation. 2017-03-21 23:15:24 +01:00
Elena_Lukashova 23109e1a82 Optimizing bler files for rank adaptation. 2017-03-21 21:06:25 +01:00
Elena_Lukashova 9d2a4717d0 Changing the bler computation and printouts for the rank adaptation in tm4.
Now it counts how many times the TBs were set to active.
2017-03-21 18:52:41 +01:00
Elena_Lukashova 6219ddc581 Rank adaptation is now an argument of the command line. 2017-03-21 15:17:42 +01:00
Calisson 9d3eed3b43 fixing ulsim 2017-03-21 15:02:20 +01:00
Elena_Lukashova 48d7a1ef3a Fixing arguments of lte_ue_measurements in pbchsim.c 2017-03-21 14:35:32 +01:00
Calisson 7685cf1811 fixing srs in msg3. now all SRS subframe configs work. 2017-03-21 14:16:19 +01:00
Cedric Roux 668d7af7d2 align variables on stack in rank_estimation_tm3_tm4
dlsim_tm4 was crashing on massive. It was a problem
of misalignment of variables. The generated code by
the compiler was using 'movdqa' which requires alignment
to 16 bytes. Let's put 32, just in case, for avx2 maybe
(maybe not necessary but should not hurt).
2017-03-21 14:12:00 +01:00
Elena_Lukashova 79c304a24a Passing Conditional Number threshold as a command line argument. -V($) 2017-03-21 12:13:17 +01:00
Elena_Lukashova ca0d8a445e Fixing dlsch_demod_shift. 2017-03-21 12:03:23 +01:00