laurent
9509bdfdc1
ubsan detected issue
2023-04-19 22:12:08 +02:00
laurent
3eabc2fe01
remove ubsan from ziggurat random generator for speed and because it detects abs(MIN_INT32) cant be computed
2023-04-19 22:12:08 +02:00
Melissa Elkadi
4dd579e042
int32_t to c16_t conversion
...
This commit includes changes to the function
footprints for vaiours NR UE and gNB functions.
It does not updated the LTE code. For functions
shared by both LTE and 5G, we maintained the original
LTE footprint and argument structure.
Several of the simulators that use these functions
have been updated as well. The specific usage of these
functions which index into the int32_t buffers and
treat the first int16_t and the real and the second
as the complex should be modified in the near future.
2023-03-15 12:45:39 -07:00
Robert Schmidt
6791974004
Remove unused OCG (OpenAir Config Generator)
2023-03-11 15:50:50 +01:00
Robert Schmidt
ff4c48f952
Align all configuration structs, and guard them to not be formatted with clang-format
2023-03-09 19:01:47 +01:00
francescomani
2385bc364a
fixing most warning when compiling nr-softmodem
2023-03-09 19:01:46 +01:00
Robert Schmidt
3b7d6377a0
Link targets that need RRC ASN.1 headers to header-only library
...
Most targets don't need the symbols from the compiled RRC ASN.1
libraries, but only the headers. In particular when compiling individual
libraries (e.g., for tests), linking the full library makes the RRC
ASN.1 libraries compile and link, when they are not needed (only headers
are needed).
For libraries that can do without these headers, don't link them.
2023-03-06 20:05:38 +01:00
Robert Schmidt
9a0dd7c1b3
Update for webserver; cleanup in CMakeLists.txt
...
- Add oai header to typescript and html sources, add support to commands
requiring two parameters, add more helpfiles
- Fix help bug (html comments not removed from tooltips)
- Fix backend build problem and 2 warnings
- Correctly initialize variables in nr_phy_scope.c
- Use add_subdirectory for websrv cmake build
- correctly link to asn1_lte_rrc and asn1_nr_rrc
- fix bug: correctly recognize npm packet
- only configure targets if explicitly asked for by users
- use add_subdirectory
- Use add_subdirectory for telnet cmake build
- Minor cleanup in build_oai
- Move softscope build in dedicated CMakeLists, and comment out
DEBUG_MAC_INTERFACE option (not found in code)
- Make DEBUG_ASN1 a cmake only option ( no C macro) as it's not used as
a C macro in the code, and develop align
2023-02-21 17:01:07 +01:00
laurent
b74ba0fb92
cleaning only
2023-01-19 14:52:39 +01:00
Robert Schmidt
f36d7e8e96
Merge remote-tracking branch 'origin/bugfix_channelmod_modify_cmd' into integration_2023_w02
2023-01-12 17:57:23 +01:00
Adeel Malik
affa5e3086
bugfix in function channelmod_modify_cmd
2023-01-11 11:12:19 +01:00
laurent
9a789dbb8a
ASN_SEQUENCE_ADD return code was checked only in 0.5% of calls, existing errors not detected by sanitize address
2023-01-11 09:59:39 +01:00
Robert Schmidt
8cacbb884c
Address review comments
2022-12-19 16:23:40 +01:00
Robert Schmidt
92d5270adf
Use get_random_seed() in set_taus_seed(), used by taus()
2022-12-19 15:57:09 +01:00
Robert Schmidt
fb6f9d3bf0
Read /dev/urandom to init RNG for uniformrandom and gaussZiggurat
2022-12-19 15:57:09 +01:00
Robert Schmidt
23c92ee0ed
Merge remote-tracking branch 'origin/websrv2' into integration_2022_wk50
2022-12-15 16:30:33 +01:00
frtabu
e65f13e175
review fixes
2022-12-08 15:27:33 +01:00
frtabu
21b3484e02
Initial web server implementation
2022-11-30 11:34:54 +01:00
Roberto Louro Magueta
2b40675b3a
Apply Doppler Effect
2022-11-25 11:03:45 +00:00
Roberto Louro Magueta
9b04af1b52
Put the center_freq and maxDoppler as input of new_channel_desc_scm() function
2022-11-25 11:03:45 +00:00
Roberto Louro Magueta
e44a99b3c1
Implementation of get_cexp_doppler() function to compute the Doppler Effect
2022-11-25 10:56:52 +00:00
laurent
6ceaf084bc
remove usage of /dev/random in case openshit has a problem with this
...
remove usage of /dev/random in case openshit has a problem with this
2022-11-09 18:58:09 +00:00
laurent
2d46638aa1
fix cpu cost in phy simulation with sanitize addr, some code un-obfuscation
2022-11-09 18:58:09 +00:00
Roberto Louro Magueta
255ad24410
Replace gaussdouble() by gaussZiggurat() in random_channel() and add_noise()
2022-11-09 18:58:09 +00:00
Roberto Louro Magueta
6b83d9e0f1
Compute normalization channel factor
2022-10-27 17:18:38 +01:00
Roberto Louro Magueta
9b594ff3b6
Fix AWGN channel
2022-10-27 17:18:38 +01:00
Roberto Louro Magueta
abb6fadd19
Implementation of function add_noise()
2022-10-27 17:18:38 +01:00
Roberto Louro Magueta
6f51b930c1
Put the correlation level (low, medium or high) as input of new_channel_desc_scm()
2022-10-27 17:07:25 +01:00
Roberto Louro Magueta
3d966b09e8
TDL channel model implementation for low, medium and high correlation scenarios
2022-10-27 17:07:25 +01:00
Roberto Louro Magueta
c3a51d771c
Implementation of tables G.2.1.1-2, G.2.1.1-3 and G.2.1.1-4 of TS 38.104, for TDLA30, TDLB100 and TDLC300 channel models
2022-10-27 16:54:59 +01:00
francescomani
e79b926905
rename sdr to radio
2022-10-19 17:42:26 +02:00
Robert Schmidt
5662fb2177
Merge remote-tracking branch 'origin/develop-ta' into integration_2022_wk41
2022-10-11 23:31:49 +02:00
francescomani
539563f03e
moving targets/ARCH to sdr/
2022-09-26 11:17:44 +02:00
Arash Sahbafard
9c87b3fc01
Better print channel model parameters
2022-08-26 13:44:26 +02:00
laurent
65b399fcd7
fix bugs in config module and config usage
...
fix bug from this MR
fix bug from this MR
stupid-mistake
2022-08-16 09:22:15 +02:00
Robert Schmidt
68be6f83e6
randominit(): show used seed when using time()
2022-05-10 14:22:50 +02:00
Robert Schmidt
cadbf67f67
Merge remote-tracking branch 'origin/tx-thread-stats-fix' into integration_2022_wk09_b
2022-03-05 13:34:15 +01:00
Robert Schmidt
76d609f7fa
Delete unused code
2022-02-25 17:27:02 +01:00
Robert Schmidt
81537701b2
Fix: channel chF large enough for 5G
2022-02-21 13:36:39 +01:00
Robert Schmidt
b4dbf46dde
Provide term_freq_channel() to free memory in abstraction.c
2022-02-21 13:35:36 +01:00
Laurent THOMAS
ef2fedfc5b
fix existing bug in pucchsim.c and in random_channel.c
2022-02-07 23:50:01 +01:00
Melissa Elkadi
b56c8ac3ce
Merge remote-tracking branch 'eurecom/develop' into origin-episys-merge-nsa
2021-10-25 10:27:11 -07:00
rmagueta
614c29ad1a
Function cblas_zgemv replaced by cblas_zaxpy because it has an undefined output (for the same input) after a second call in RHEL8 (acorr = nan)
2021-10-12 18:56:35 +01:00
Melissa Elkadi
6a8e4e2883
Merge remote-tracking branch 'eurecom/develop' into episys/mel/merge_develop_cfra_working
2021-09-14 07:34:58 -07:00
Eurecom
eceb0d79bc
Merge branch 'bandwidth-testing' of https://gitlab.eurecom.fr/oai/openairinterface5g into bandwidth-testing
...
Conflicts:
executables/nr-uesoftmodem.c
openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
openair1/SIMULATION/TOOLS/random_channel.c
openair2/LAYER2/NR_MAC_UE/mac_proto.h
openair2/LAYER2/NR_MAC_UE/nr_ue_dci_configuration.c
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2021-09-06 11:22:30 +02:00
Eurecom
4624a94d48
Merge remote-tracking branch 'origin/develop' into bandwidth-testing
...
Conflicts:
executables/nr-uesoftmodem.c
executables/nr-uesoftmodem.h
executables/softmodem-common.h
openair1/PHY/MODULATION/slot_fep_nr.c
openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
openair1/PHY/NR_TRANSPORT/pucch_rx.c
openair1/SCHED_NR/fapi_nr_l1.c
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
openair1/SIMULATION/TOOLS/abstraction.c
openair1/SIMULATION/TOOLS/random_channel.c
openair2/LAYER2/NR_MAC_UE/mac_proto.h
openair2/LAYER2/NR_MAC_UE/nr_ue_dci_configuration.c
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2021-09-06 10:34:14 +02:00
Eurecom
c834f40186
Merge remote-tracking branch 'origin/develop' into bandwidth-testing
...
Conflicts:
executables/nr-uesoftmodem.c
executables/nr-uesoftmodem.h
executables/softmodem-common.h
openair1/PHY/MODULATION/slot_fep_nr.c
openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
openair1/PHY/NR_TRANSPORT/pucch_rx.c
openair1/SCHED_NR/fapi_nr_l1.c
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
openair1/SIMULATION/TOOLS/abstraction.c
openair1/SIMULATION/TOOLS/random_channel.c
openair2/LAYER2/NR_MAC_UE/mac_proto.h
openair2/LAYER2/NR_MAC_UE/nr_ue_dci_configuration.c
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2021-09-05 15:37:11 +02:00
Raymond Knopp
98ef919502
Merge remote-tracking branch 'origin/bandwidth-testing' into bandwidth-testing-pucch
...
Conflicts:
openair1/PHY/NR_TRANSPORT/pucch_rx.c
openair1/PHY/NR_UE_TRANSPORT/pucch_nr.c
openair1/SIMULATION/NR_PHY/dlsim.c
openair1/SIMULATION/NR_PHY/pucchsim.c
2021-09-02 13:34:36 +02:00
Laurent THOMAS
c310d246bb
merge develop
2021-08-18 11:20:39 +02:00
Melissa Elkadi
2a979f4e2f
Merge branch 'eurecom-nfapi-nr-arch-mod' into episys/merge_nsa_w_develop
2021-08-13 10:27:30 -07:00