- Sep 25, 2023
-
-
Thomas Laurent authored
-
Thomas Laurent authored
Only print messages when queue grows by 10%, and add log if message queue size shrinks
-
- Sep 22, 2023
-
-
Francesco Mani authored
-
- Sep 13, 2023
-
-
can compile the target ldpc_generators and generate_T with cross-compiler
-
Testing on Neoverse N1 (Ampere 3GHz). Tested only on a subset of phy-simulators. - Changes: - use SIMDE consistently - adaptations of LDPC decoder generator for ARMv8 performance - SIMDe modifications of Intel CRC to allow for aarch64 build. optimizations for 128-bit to improve performance of LDPC encode/decode on aarch64 (Neoverse 1) - added BG2 files for 128-bit ldpc encoder (aarch64) - testing on Xeon - testing on x86 - minor changes to build/run on x86 - change in crc.h after returning to aarch64 - removed some warning in ldpc decoder generator for x86_64 - char - Delete irrelevant constants - Correctly declare variables - Define stdbool for all architectures - Remove definition of _MM_SHUFFLE and use SIMDE_MM_SHUFFLE - Remove commented code - Fix CMakeLists.txt - Include SIMDE avx2 functions in tools_defs.h
-
- Sep 12, 2023
-
-
Robert Schmidt authored
-
- Sep 07, 2023
-
-
Cédric Roux authored
-
- Sep 04, 2023
-
-
Roberto Louro Magueta authored
Remove duplicated nr_est_delay_pdsch()/nr_est_timing_advance_pusch() functions and just create the function nr_est_delay()
-
Roberto Louro Magueta authored
-
Roberto Louro Magueta authored
-
Roberto Louro Magueta authored
-
- Aug 30, 2023
-
-
Thomas Laurent authored
-
- Aug 24, 2023
-
-
- Aug 18, 2023
-
-
- Global variables that are never written to are marked const - Remove some EXTERN declaration - Remove unused `log_mem_multi` from logging module
-
- Aug 12, 2023
-
-
Robert Schmidt authored
Plugin can trigger reestablishment (on DU) and show counters of reestablishment (on CU)
-
- Aug 11, 2023
-
-
Robert Schmidt authored
The thread pool provides user data to be stored by (pre-)allocating the necessary memory. A previous attempt was made to have this user data aligned on a 32 byte boundary (e.g., to prevent segfault with SIMD instructions, or avoid inefficient data access); the current implementation, however, leads to unaligned memory access. This patch attempts again to implement user data to be 32 byte aligned. First, use memalign() to allocate the actual job on a 32 byte boundary. Second, use alignas(32) to align the pointer to the user data to be aligned to 32 bytes. Since it is the last member of the struct, this ensures that user data, which is allocated right behind it, will be aligned to 32 bytes as well.
-
- Aug 02, 2023
-
-
Francesco Mani authored
-
- Aug 01, 2023
-
-
Robert Schmidt authored
As described in common/utils/config.h, it is possible to hook into the asn1c tracing mechanism to print logs. This commit fixes a regression to print theses traces properly in OAI. Above-mentioned file explains also how to reduce the amount of logs, e.g., for single code blocks.
-
Robert Schmidt authored
There is already common/utils/config.h. This file(name) is hardcoded as it is included into asn1c, and cannot be renamed. To avoid a name clash and confusing, we rename T's config.h/c to configuration.h/c.
-
Robert Schmidt authored
The T trace names need to match the logging system names (apparently). In commit 5f5b8f29, we renamed the logging system group to avoid a name clash, but omitted the T trace names. This is corrected in this commit to make everything compile nicely.
-
Robert Schmidt authored
-
Robert Schmidt authored
By using oai_exit in log.c, LOG depends on being compiled into an executable that defines such symbol, which is not always the case (nor does it make sense). oai_exit is only used in a loop to optionally write out memory. The loop could relatively easily be aborted by setting a variable:
-
- Jul 28, 2023
-
-
There is a conflict with some E2AP definitions that put ASN as a preprocessor definition. To avoid this conflict, and since ASN1 is more descriptive than ASN, we change the logging mechanism name from ASN to ASN1.
-
- Jul 21, 2023
-
-
mir authored
49 /home/mir/workspace/oai_dev/common/utils/T/tracer/to_vcd.c: In function ‘main’: 50 /home/mir/workspace/oai_dev/common/utils/T/tracer/to_vcd.c:349:30: warning: ‘%s’ directive writing up to 240 bytes into a region of size between 11 and 251 [-Wformat-overflow=] 51 349 | sprintf(format, "%c [%s] %s", 52 | ^~ 53 In file included from /usr/include/stdio.h:894, 54 from /home/mir/workspace/oai_dev/common/utils/T/tracer/to_vcd.c:1: 55 In function ‘sprintf’, 56 inlined from ‘main’ at /home/mir/workspace/oai_dev/common/utils/T/tracer/to_vcd.c:349:5: 57 /usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 6 and 486 bytes into a destination of size 256 58 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 59 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 39 | __glibc_objsize (__s), __fmt, 61 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 62 40 | __va_arg_pack ()); 63 | ~~~~~~~~~~~~~~~~~ 2005 /home/mir/workspace/oai_dev/openair1/SIMULATION/TOOLS/random_channel.c:1726:6: warning: conflicting types for ‘set_channeldesc_owner’ due to enum/integer mismatch; have ‘void(channel_desc_t *, uint32_t)’ { aka ‘void(channel_desc_t *, unsigned int)’} [-Wenum-int-mismatch] 2006 1726 | void set_channeldesc_owner(channel_desc_t *cdesc, uint32_t module_id) { 2007 | ^~~~~~~~~~~~~~~~~~~~~ 2008 In file included from /home/mir/workspace/oai_dev/openair1/SIMULATION/TOOLS/random_channel.c:31: 2009 /home/mir/workspace/oai_dev/openair1/SIMULATION/TOOLS/sim.h:348:6: note: previous declaration of ‘set_channeldesc_owner’ with type ‘void(channel_desc_t *, channelmod_moduleid_t)’ 2010 348 | void set_channeldesc_owner(channel_desc_t *cdesc, channelmod_moduleid_t module_id); 2011 | ^~~~~~~~~~~~~~~~~~~~~ 24209 /home/mir/workspace/oai_dev/openair1/SCHED_UE/phy_procedures_lte_ue.c:954:17: warning: ‘n1_pucch_inter’ may be used uninitialized [-Wmaybe-uninitialized] 24210 954 | return(n1_pucch_inter); 24211 | ^ 24212 /home/mir/workspace/oai_dev/openair1/SCHED_UE/phy_procedures_lte_ue.c:647:60: note: ‘n1_pucch_inter’ was declared here 24213 647 | uint16_t n1_pucch0=0,n1_pucch1=0,n1_pucch2=0,n1_pucch3=0,n1_pucch_inter; 24214 |
-
- Jul 20, 2023
-
-
Robert Schmidt authored
The T tools offering a GUI use libxft as a dependency. By default, we try to limit the amount of dependencies, but libxft comes with X11. Put the GUI tools behind cmake option T_TOOLS_GUI (default: off) to only build on demand with a cmake option.
-
- Jul 19, 2023
-
-
- Jul 13, 2023
-
-
Robert Schmidt authored
-
-
Robert Schmidt authored
- Add CMakeLists.txt to build all T tracer user tools - Previous Makefiles are retained in common/utils/T: you can do $ cd common/utils/T/tracer $ make # all executables are there or also $ mkdir build && cd build $ cmake .. -GNinja $ ninja T_tools # all executables are in build/common/utils/T/tracer
-
- Fix memory leaks detected by ASan - Initialize variables that are flagged by compiler - C struct initializer: x:y needs to be .x=y
-
Robert Schmidt authored
-
Robert Schmidt authored
- UTIL: has LOG which brings as (public) dependency T, so link it publicly - Move T to top to ensure all targets can have it
-
- Jul 12, 2023
-
-
Vaibhav Shrivastava authored
-
- Jul 10, 2023
-
-
-
Robert Schmidt authored
-
- Jul 07, 2023
-
-
Robert Schmidt authored
It uses definitions from stdlib.h, so include it.
-
Robert Schmidt authored
ENB_MODE is a cmake option to swap the order of include directories. This has historical reasons; before OAI used cmake, it was very sensitive to the order of includes. Nowadays, the order does not matter. Remove this option, and fix the compilation issues that arise while doing so.
-
- Jun 28, 2023
-
-
Robert Schmidt authored
- make it clear that it belongs to OAI - follow convention of uppercase name
-
Robert Schmidt authored
- make it clear that it belongs to OAI - follow convention of uppercase name
-
- Jun 12, 2023
-
-
laurent authored
-