Commit Graph
6309 Commits
Author SHA1 Message Date
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
Calisson 9d3eed3b43 fixing ulsim 2017-03-21 15:02:20 +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 bd17343334 Merge branch 'develop_integration_w11' into 'develop'
Develop integration w11

Summary of changes:

- bug fixes
- RCC/RRU in automatic test setup
- more work on UE/MIMO
- LimeSDR support (5/10MHz)
- compilation under ubuntu 16.04, in particular kernel modules (nasmesh, ue_ip)

See merge request !148
2017-03-20 13:55:44 +01:00
Cedric Roux d0a51bec01 hotfix: put back "system" for UE to setup its IP settings
We'll need to to do it in a separate thread/process.
To be done. In the meantime, put it back. It impacts
oaisim.
2017-03-20 13:45:29 +01:00
Cedric Roux e2350103f4 hotfix: LLR was calling qam64_qam16_avx2 instead of qam64_qam64_avx2
Not sure of this one, to be checked by TCL.
2017-03-20 13:33:27 +01:00
Cedric Roux 1218cc8f65 bugfix: fix dump_dlsch2
the argument 'coded_bits_per_codeword' has to be an array in
case of several codewords.

The calling sites have been adapted.

Today, only the first index is used, so calling sites where
'coded_bits_per_codeword' is an integer pass the address
of it. It is expected that 'dump_dlsch2' will check in the
future that there is one or two codewords and only access
'coded_bits_per_codeword[1]' when it's sure there are
really two codewords.
2017-03-20 11:15:57 +01:00
Cedric Roux 7ffc20426b integration fix: let simulators compile again
- pucchsim
- prachsim
- pdcchsim
- pbchsim
- mbmssim

Mostly, add and initialize the variable 'cpuf'.
Also, pdcchsim was calling rx_pdcch with wrong
arguments.
2017-03-20 11:00:41 +01:00
Cedric Roux 5014b84c30 integration fix: let ulsim compile again + minor modification in dlsim_tm4 2017-03-20 10:43:50 +01:00
Cedric Roux f2e9e3f2dc integration fix: let dlsim compile again
Same as previous commit 41dda3d3de
but for dlsim.
2017-03-20 10:40:26 +01:00
Cedric Roux 41dda3d3de integration fix: let dlsim_tm4 compile again
The variables that were duplicated per processing thread
were adapted. 'cpuf' was defined and initialized.
2017-03-20 10:38:25 +01:00
Cedric Roux fd1e01579c bugfix: set cpuf in oaisim 2017-03-20 10:28:11 +01:00
gabrielC d86c5a9092 Merge branch 'UE_Remove_LOG' into develop_integration_w11 2017-03-20 09:20:20 +01:00
gabrielC 1e2f952a9c Remove to frequent log in 20 MHz 2017-03-20 09:18:02 +01:00
Cedric Roux 2011c7d689 Merge remote-tracking branch 'origin/ulsim-bugfix-w11' into develop_integration_w11 2017-03-18 00:10:50 +01:00
Cedric Roux 1c57eadd33 fix: remove useless test
One check introduced by previous commit was not necessary.
2017-03-18 00:09:48 +01:00
Cedric Roux 2a44ae639e Merge remote-tracking branch 'origin/rru-rrh-test-setup-w11' into develop_integration_w11 2017-03-17 19:39:50 +01:00
Cedric Roux 7847143610 Merge remote-tracking branch 'origin/bugfix-224-ue-tcrnti' into develop_integration_w11 2017-03-17 19:33:56 +01:00
Cedric Roux a19a27ff33 test setup v2: add RRU/RRC tests
- README.txt modified
- tests added in test_case_list.xml
  (only for test setup v2)
- python code modified
- configuration files added
2017-03-17 18:58:55 +01:00
Cedric Roux 19bd4d8cf7 test setup v2: simplify softmodem tests variable definition 2017-03-17 16:08:25 +01:00
fnabet 7f9b19cce8 UE Issue224 fix on TCRNTI 2017-03-17 10:52:59 +01:00
Florian Kaltenberger c13d5c21f3 added null pointer check for ulsim 2017-03-16 18:05:23 +01:00
Cedric Roux 639d2eefc6 Merge remote-tracking branch 'origin/phy-test-fix' into develop_integration_w11 2017-03-16 18:01:23 +01:00
Cedric Roux faa5e07af8 Merge remote-tracking branch 'origin/T-compilation-fix-w11' into develop_integration_w11 2017-03-16 18:00:46 +01:00
Cedric Roux b440abef33 Merge remote-tracking branch 'origin/ubuntu-16-compilation' into develop_integration_w11 2017-03-16 17:59:22 +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
gabrielC 4ae599990a Merge branch 'UE_20MHz_and_Log_improvement' into develop_integration_w11 2017-03-16 17:08:42 +01:00
gabrielC d5a9334306 20MHz improvement for scope (still need to be fixed for 20MHz LLR) and Log 2017-03-16 17:06:34 +01:00
fnabet 353334f69b RLC AM Rx PDU Segment changes 2017-03-16 16:45:44 +01:00