Skip to content
Snippets Groups Projects
  1. Aug 08, 2018
    • Cedric Roux's avatar
      T: add a 'multi' tracer · fdd4366d
      Cedric Roux authored
      This tracer allows the connection of several tracers to one tracee.
      
      To use the multi tracer:
      - run the tracee as usual, eg. ./lte-softmodem -O xxxx.conf --T_stdout 0
      - run the multi tracer: ./multi -d ../T_messages.txt
      - connect other tracers to the multi tracer:
         - ./enb -d ../T_messages.txt -p 2022
         - ./textlog -d ../T_messages.txt -p 2022
         - etc.
      
      By default the multi tracer connects to the tracee to the port 2021,
      as for any other tracer.
      
      Then it accepts connections from other tracers on the port 2022.
      
      This can be changed with parameters on the command line.
      
      The tracee and the other tracers can be stopped/started at any time.
      fdd4366d
    • Cedric Roux's avatar
      T: bugfix and cleanup · eb3b87d9
      Cedric Roux authored
      - bug fixed in ue and enb tracer: the socket needs to be closed
        in case of restart
      - cleanup: fix spacing in T_messages.txt
      eb3b87d9
  2. Aug 06, 2018
  3. Aug 01, 2018
    • Cedric Roux's avatar
      fix install on centOS · 9e8ad492
      Cedric Roux authored
      - install package 'vim-common' to have 'xxd' needed by the compilation
        process of the T tracer
      - change the way xxd is called so that no file is created in case
        of error
      9e8ad492
  4. Jul 30, 2018
  5. Jul 20, 2018
  6. Jul 13, 2018
  7. Jul 10, 2018
  8. Jul 09, 2018
  9. Jul 06, 2018
  10. Jul 05, 2018
  11. Jun 25, 2018
  12. May 02, 2018
    • Cedric Roux's avatar
      T tracer: don't depend on T_BUFFER_MAX anymore in the tracers · 52cf61de
      Cedric Roux authored
      Whenever the value T_BUFFER_MAX changes, the tracers had to
      be recompiled. The only reason why it was needed is because we
      used some fixed size buffers to read events. This commit removes
      this restriction.
      
      Also, with the basic simulator, this value T_BUFFER_MAX now comes
      with an #ifdef which would have required some special hackish-level
      tricks in the tracers, which is not good.
      
      Let's just allocate memory when needed.
      52cf61de
    • Cedric Roux's avatar
      basic simulator: initial release · 6cb04bb4
      Cedric Roux authored
      This commit introduces a 'basic simulator'.
      
      This basic simulator is made of:
      - the standard eNB code using a special driver that mimics the USRP driver
      - the standard UE code using a special driver that mimics the USRP driver
      - no channel simulation
      - some special code to deal with faster-than-realtime behaviour of this
        basic simulator
      
      It connects one UE to one eNB. It requires an EPC, populated with the
      correct configuration for the UE.
      
      This is the initial release and may contain bugs (most probably race
      conditions due to the faster-than-realtime behaviour).
      
      To use it, see the documentation at:
          targets/ARCH/tcp_bridge/README.tcp_bridge_oai.
      
      It has been tested with 25, 50 and 100 RBs, FDD mode.
      (No check at all has been done to know if it could work in TDD mode.)
      6cb04bb4
  13. Apr 24, 2018
  14. Apr 12, 2018
  15. Apr 06, 2018
  16. Apr 05, 2018
  17. Jan 19, 2018
  18. Jan 15, 2018
    • Cedric Roux's avatar
      Fix NFAPI integration · 922b5b59
      Cedric Roux authored
      This commit fixes issues introduced by the previous commit.
      
      Summary of work:
      - cleanup:
        - fix LOG_XX to be less verbose
        - fix cmake_targets/CMakeLists.txt
        - fix oaienv
        - remove dead code
      - bug fixes:
        - in openair1/SCHED/fapi_l1.c we had:
            eNB->pdcch_vars[subframe&1].num_dci           = number_dci;
          should be:
            eNB->pdcch_vars[subframe&1].num_dci           = 0;
          This bug let the PHY send more DCIs than what should have been
          sent because num_dci is incremented later on in the code.
          This fix may be a problem for fapi mode, to be checked.
        - add new T VCD traces
        - revert openair1/PHY/TOOLS/file_output.c to 'develop' version
        - remove thread_id in logRecord/logRecord_mt
        - revert (and adapt) configuration files
        - be careful when doing frame++, we need to % 1024
        - revert target_rx_power in openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
      - NFAPI:
        - the open-nFAPI code has been included in the repository. See nfapi/README.
          Maybe we should "git clone" the Cisco repository instead. We have to be
          careful of availability though.
      
      What has been tested:
      - monolithic eNB FDD 5/10MHz with one UE, iperf UDP/TCP uplink/downlink
      
      Anything else may fail to work, especially the FAPI mode, which has not
      been tested at all.
      922b5b59
  19. Oct 27, 2017
    • Cedric Roux's avatar
      T: minor: close socket · 4d1705e3
      Cedric 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
    • Cedric Roux's avatar
      T: cleanup · faae3c8c
      Cedric Roux authored
      Do not link the X stuff for tracers not needing it.
      faae3c8c
    • Cedric Roux's avatar
      T tracer: add a tracer to dump to VCD file · 7e7fd3c4
      Cedric Roux authored
      Later on, use this file with gtkwave.
      To be used to check realtime behaviour of the system.
      7e7fd3c4
    • Cedric Roux's avatar
      T: minor update of .gitignore · 2beac6fe
      Cedric Roux authored
      2beac6fe
    • Cedric Roux's avatar
      T: add extract_output_subframe · 8dd3a2bd
      Cedric Roux authored
      This tracer extracts output subframes generated by the eNodeB,
      so they can be analyzed with some external tools.
      8dd3a2bd
    • Cedric Roux's avatar
      T: add a tracer: extract · 6322010e
      Cedric 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
  20. Oct 23, 2017
  21. Oct 18, 2017
    • Cedric Roux's avatar
      T tracer: improve a bit enb tracer · 2516216d
      Cedric 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
  22. Oct 17, 2017
  23. Oct 12, 2017
  24. Oct 11, 2017
  25. Oct 09, 2017
  26. Sep 27, 2017
  27. Aug 29, 2017
Loading