Skip to content
Snippets Groups Projects
  1. Oct 27, 2017
    • Cédric Roux's avatar
      T: minor: close socket · 4d1705e3
      Cédric Roux authored
      Sometimes when the user does ctrl+c to quit, it may not quit
      if nothing comes on the socket. Closing the socket in the
      signal handler fixes this.
      4d1705e3
    • Cédric Roux's avatar
      T: cleanup · faae3c8c
      Cédric Roux authored
      Do not link the X stuff for tracers not needing it.
      faae3c8c
    • Cédric Roux's avatar
      T tracer: add a tracer to dump to VCD file · 7e7fd3c4
      Cédric Roux authored
      Later on, use this file with gtkwave.
      To be used to check realtime behaviour of the system.
      7e7fd3c4
    • Cédric Roux's avatar
      T: minor update of .gitignore · 2beac6fe
      Cédric Roux authored
      2beac6fe
    • Cédric Roux's avatar
      T: add extract_output_subframe · 8dd3a2bd
      Cédric Roux authored
      This tracer extracts output subframes generated by the eNodeB,
      so they can be analyzed with some external tools.
      8dd3a2bd
    • Cédric Roux's avatar
      T: add a tracer: extract · 6322010e
      Cédric Roux authored
      This tracer extracts the content of a buffer field of an event
      that was previously saved using the tracer 'record'.
      
      For example, to extract the channel estimation done in
      frame 924 and subframe 2 as saved in the file input_record.raw
      and to store it in the file output.raw, do:
      
      ./extract -d ../T_messages.txt -o output.raw input_record.raw ENB_PHY_UL_CHANNEL_ESTIMATE chest_t -f frame 924 -f subframe 2
      6322010e
  2. Oct 23, 2017
  3. Oct 18, 2017
    • Cédric Roux's avatar
      T tracer: improve a bit enb tracer · 2516216d
      Cédric Roux authored
      - UE_id 0 is for rnti 65535 (sib)
      - UE_id 1 is for rnti 65534 (this is a hack)
      - UE_id 2 is for rnti 2     (RA RNTI as of today's code/config)
      - we start enb by displaying UE_id 3
      - there was a bug: we need to lock when resetting UE ids (reset_ue_ids)
      2516216d
  4. Oct 17, 2017
  5. Oct 12, 2017
  6. Oct 11, 2017
  7. Oct 09, 2017
  8. Oct 07, 2017
  9. Oct 06, 2017
  10. Oct 04, 2017
  11. Oct 02, 2017
  12. Oct 01, 2017
  13. Sep 29, 2017
  14. Sep 27, 2017
  15. Sep 26, 2017
  16. Sep 25, 2017
  17. Sep 24, 2017
  18. Sep 22, 2017
  19. Sep 21, 2017
  20. Sep 14, 2017
  21. Sep 03, 2017
  22. Aug 29, 2017
  23. Aug 20, 2017
  24. Jul 06, 2017
  25. Jun 16, 2017
  26. May 19, 2017
  27. May 15, 2017
  28. Apr 17, 2017
  29. Mar 23, 2017
    • Cédric Roux's avatar
      fix issue 227 - UE IP settings disrupts realtime · cff91499
      Cédric Roux authored
      see oai/openairinterface5g#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.
      cff91499
Loading