Skip to content
Snippets Groups Projects
  1. Nov 05, 2024
    • Teodora Vladic's avatar
      Expected PHR value fixed · 8717d1f5
      Teodora Vladic authored
        - as per TS 38.321 section 6.1.3.8, power headroom is an unsigned
          integer of 6 bits which translates to
      [POWER_HEADROOM_0,...,POWER_HEADROOM_63]
        - as per TS 38.133 section 10.1.17.1.1, each POWER_HEADROOM_x
          represents the range of values in dB
        - "phr" parameter in MAC stats represent the UE power headroom in dB
          => therefore, it is a signed integer
      
      Future KPM measurement extension: as per TS 28.552 section 5.1.1.26.1,
      the BinX is within the range [POWER_HEADROOM_0,...,POWER_HEADROOM_63],
      so the max number of bins is 64 but please note that it can be < 64 which is left to implementation;
      each bin has a value that represents the number of UEs within the dB range of each bin
      => please note that this is a node level measurement
      8717d1f5
  2. Nov 04, 2024
  3. Oct 01, 2024
  4. Sep 10, 2024
  5. Jul 21, 2024
  6. May 30, 2024
  7. May 29, 2024
    • Robert Schmidt's avatar
      Use FORTIFY_SOURCE in release builds · 3b7c94f7
      Robert Schmidt authored
      gcc-14 warns when using FORTIFY_SOURCE in debug builds:
      
        /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
        414 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
            |    ^~~~~~~
      
      Use it in release builds instead.
      3b7c94f7
    • Robert Schmidt's avatar
      Allocate correct size of bytes for call_process_id · 88e5f7ec
      Robert Schmidt authored
      call_process_id is a byte_string_t, but prior to this commit, we
      allocate data->len_cpid, which is likely not the right size; instead,
      use the sizeof operator to calculate the right size.
      
      This prevents one of these warnings, depending on compiler (version):
      
        /home/richie/flexric/src/agent/e2_agent.c: In function ‘generate_aindication’:
        /home/richie/flexric/src/agent/e2_agent.c:56:25: warning: allocation of insufficient size ‘8’ for type ‘byte_array_t’ with size ‘16’ [-Walloc-size]
           56 |     ind.call_process_id = malloc(sizeof(data->len_cpid) );
              |                         ^
      
        /oai-ran/openair2/E2AP/flexric/src/agent/e2_agent.c:58:30: error: array subscript 'byte_array_t[0]' is partly outside array bounds of 'unsigned char[8]' [-Werror=array-bounds]
          59  |     ind.call_process_id->buf = data->call_process_id;
              |     ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
        /oai-ran/openair2/E2AP/flexric/src/agent/e2_agent.c:56:27: note: object of size 8 allocated by 'malloc'
      88e5f7ec
  8. Apr 12, 2024
  9. Apr 10, 2024
  10. Apr 08, 2024
  11. Mar 25, 2024
  12. Mar 20, 2024
  13. Mar 19, 2024
  14. Mar 15, 2024
  15. Mar 07, 2024
  16. Mar 01, 2024
  17. Feb 26, 2024
  18. Feb 23, 2024
  19. Feb 22, 2024
  20. Feb 21, 2024
Loading