Commit Graph
6385 Commits
Author SHA1 Message Date
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
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