Commit Graph
100 Commits
Author SHA1 Message Date
Laurent THOMAS f24cff929e make better version of nr_get_msg3_payload() 2024-01-12 17:56:36 +01:00
Laurent THOMAS 4958f8b6d7 segv on null pointer 2024-01-12 17:55:50 +01:00
Laurent THOMAS b5e169ec07 add const or other simple C code improvement 2024-01-09 16:15:14 +01:00
Laurent THOMAS 4c7b185d92 merge two reduntant and incoherent enums for rnti_type_t, make a macro to stringify properly instead of hardcoded side strings array 2024-01-09 16:15:14 +01:00
Laurent THOMAS 18919576b7 rework PUCCH codec with c16_t type, rewrite large parts of functions to make readable code. Not fixed parts that are using SIMD. No change, the code is still same block by block (variable visibility narrowed, declaration can be shifted) 2024-01-04 10:21:15 +01:00
Laurent THOMAS 63b64d4fce move common code file in common directory
remove several unused files
remove mem_block_t that is never used in a different way than a simple heap buffer
move up IP address type and remove duplications of the same struct declaration
2023-12-19 10:37:10 +01:00
Laurent THOMAS 99413989c9 remove some gibberish C in pdsch encoding 2023-12-12 15:23:55 +01:00
Laurent THOMAS 0875037497 fix a useless computation done in case we activate LOG_D(PHY,... 2023-12-12 14:13:57 +01:00
Laurent THOMAS 175e835d05 update the polar codec function that creates the internal LUTs
to use faster code
- replaced hundreds mallocs by either local arrays or by the OAI multi-dimensionalarray (G_N_tab array)
- made in SIMD a one bit per byte packing function to packed (ordinary) bits in bytes
2023-12-08 17:11:16 +01:00
Laurent THOMAS 99ca87a1c1 Refactor LDPC API to make common API with various implementations 2023-11-28 09:37:37 +01:00
Laurent THOMAS 18951bad4d remove-cblas-oai-5g 2023-11-14 11:47:38 +01:00
Laurent THOMAS dd059343d9 ue-rrc-coarse-cleaning 2023-11-10 17:43:59 +01:00
Laurent THOMAS f50d5f5a9b make multiple config instead of one implicit global 2023-11-10 10:23:11 +01:00
Laurent THOMAS a198239084 Introduce no-thread mode in ITTI
Introduce a --no-itti-threads command line option to disable threading
in ITTI, and call message handlers in the current thread. This is being
introduced in order to increase repeatability when testing the nrUE with
the IQPlayer. Without this feature, runs with the IQPlayer will end up
differently, depending on the timing of ITTI threads, mostly when
sending messages to RRC and NAS.
2023-10-27 13:02:36 +02:00
Laurent THOMAS 724c8c014c Simplify ITTI task definition 2023-10-27 13:02:33 +02:00
Laurent THOMAS 75cc625fe9 Use recursive mutex in PDCP to prevent deadlocks 2023-10-27 13:02:31 +02:00
Laurent THOMAS 1fb68160b0 config: harmonize number array parameters 2023-10-27 13:02:28 +02:00
Laurent THOMAS b257734c6f Fix tPool calls: symmetric to pushing messages
Messages are pushed using pushNotifiedFIFO(), so we pullNotifiedFIFO()
2023-10-27 13:02:24 +02:00
Laurent THOMAS bba9aac079 fix most of doxygen warnings and errors 2023-10-26 16:47:19 +02:00
Laurent THOMAS 4a52b17386 fix-doxygen 2023-10-25 18:10:40 +02:00
Laurent THOMAS 3b57e3ba51 hot-fix-ue-dci-format-11 2023-10-24 13:53:50 +02:00
Laurent THOMAS 6b56b46811 Break UE DCI processing function in smaller pieces 2023-10-12 07:46:45 +02:00
Laurent THOMAS 838b284aa4 remove-global-rx_spatial_power_in_gnb 2023-10-10 15:45:21 +02:00
Laurent THOMAS 584fb235cd remove-dead-code-nrue 2023-10-06 18:00:18 +02:00
Laurent THOMAS f8c122a7cf increase the max fd of rfsim, that have been shorten to tightly for cpu saving 2023-10-06 11:21:27 +02:00
Laurent THOMAS d448b5e549 remove 'B' from persisted data, replace 3824 hardcoded by it's existing define 2023-09-29 10:23:54 +02:00
Laurent THOMAS 4de550f040 fix bug for IE cause in pdu session accept 2023-09-25 15:26:51 +02:00
Laurent THOMAS 7cb8988372 one-step-cleaning-gNB-ulsch-decoding 2023-09-25 15:22:08 +02:00
Laurent THOMAS d19302fb40 revert last change 2023-09-25 15:21:21 +02:00
Laurent THOMAS 91497ece94 Reduce ITTI log verbosity
Only print messages when queue grows by 10%, and add log if message
queue size shrinks
2023-09-25 15:14:21 +02:00
Laurent THOMAS fab0a3de3e increase CI time to 'deploy' 2023-09-25 15:14:21 +02:00
Laurent THOMAS 4219839e47 add-registration-accept-inside-nas-downlink as it is a valid 3GPP message and a commercial gNB uses it 2023-09-21 13:30:10 +02:00
Laurent THOMAS 5c7c51089b remove useless macro, the SIMD instruction is used in other places 2023-09-13 17:20:08 +02:00
Laurent THOMAS fa73c14df6 Reintroduce unscrambling C implemantation, use SIMDE for Intel and ARM 2023-09-13 17:20:08 +02:00
Laurent THOMAS a62641f9f3 remove race condition on norm128 global 2023-09-13 17:20:04 +02:00
Laurent THOMAS 1b69fc6c5d fix incorrect usage of time_meas() that is not thread safe API 2023-08-30 15:27:33 +02:00
Laurent THOMAS e74b9a5c29 remove a frame param useless attribute 2023-08-30 15:27:33 +02:00
Laurent THOMAS f80896f93f Fix LCID to RB association, allow more than 8 LCIDs in the UE 2023-08-29 11:05:40 +02:00
Laurent THOMAS 4c3d8e7581 fix-mem-overflow_64qam
fix the 64QAM modulator case, that process 192 bits per iteration, then 24 bits per iteration of the tail bits, then added the last two symboles processing (no odd number of symbols case)
2023-08-23 11:14:42 +02:00
Laurent THOMAS 206aa36a47 Make read-only globals const, additional fixes
- Global variables that are never written to are marked const
- Remove some EXTERN declaration
- Remove unused `log_mem_multi` from logging module
2023-08-18 14:20:37 +02:00
Laurent THOMAS cef099d312 remove useless rrc sub state 2023-07-31 19:06:03 +02:00
Laurent THOMAS 7bbc46dbac pdcp_config_req_asn1 bug fix 2023-07-24 11:30:07 +02:00
Laurent THOMAS 089180b069 remove dead code 2023-07-20 14:36:40 +02:00
Laurent THOMAS f0e4f74a7c review 2023-07-19 10:19:25 +02:00
Laurent THOMAS 7e112c4caf fix qtscope with new api 2023-07-19 10:19:25 +02:00
Laurent THOMAS 37752af2cf make common code for data copy to the scope 2023-07-19 10:19:25 +02:00
Laurent THOMAS ae5dbf4e7a bug fix in arrays indexes 2023-07-19 10:02:24 +02:00
Laurent THOMAS 02e1b64379 small code review 2023-07-13 16:48:19 +02:00
Laurent THOMAS ed7b675330 remove redundant copies of pdu sessions list 2023-07-08 13:14:06 +02:00
Laurent THOMAS a773d024e8 no sanitize on generated ldpc code 2023-06-19 09:48:17 +02:00
Laurent THOMAS 01ac2f0f0e fix a compiler warning 2023-06-15 16:10:18 +02:00
Laurent THOMAS 3645c96c09 remove generic thread pool abort 2023-06-12 10:24:37 +02:00
Laurent THOMAS 27f9d6cc60 fix pdu session release bug 2023-05-22 15:26:43 +02:00
Laurent THOMAS 15e858270d Split big function, add an assert for non-IPv4 PDU sessions
Contributions by Robert Schmidt <robert.schmidt@openairinterface.org>
2023-05-05 14:35:02 +02:00
Laurent THOMAS 00d1114fa3 fix the regressions blocking doxygen documentation generation 2022-12-06 08:45:30 +01:00
Laurent THOMAS 97b3d1a5cd fix mutex not initialised in ul decoder 2022-06-09 15:03:13 +02:00
Laurent THOMAS e3747ea06b Fix small bugs in nrLDPC_tools, remain some warnings to fix 2022-06-09 10:01:45 +02:00
Laurent THOMAS 43033e20b6 Avoid SEGV in nr_decode_pucch0() 2022-05-28 16:44:50 +02:00
Laurent THOMAS 16e8154d71 Handle full UL TTI Req list more gracefully 2022-05-28 16:44:50 +02:00
Laurent THOMAS 9ba33d4dec Correctly format code to avoid warnings/ambiguities 2022-05-28 16:44:49 +02:00
Laurent THOMAS a51c1f93b5 Remove unused code 2022-05-28 16:37:47 +02:00
Laurent THOMAS 236f7d56e5 Remove UEid in the MAC
After this commit, only the RNTI is used as an identifier in the MAC.
Further, it removes some module_id, but a lot of them remain (the goal
to remove all is still far from us)
2022-05-28 16:37:26 +02:00
Laurent THOMAS b2560daa3d merge develop and fix one double free bug in nr_dlschsim 2022-04-13 15:15:11 +02:00
Laurent THOMAS 2373b02150 review remarks 2022-04-12 20:52:40 +02:00
Laurent THOMAS 4ad71064b8 review comments 2022-04-11 19:29:45 +02:00
Laurent THOMAS b738f8a6a9 tackle code review remarks 2022-04-11 17:27:11 +02:00
Laurent THOMAS 421603534c fix regression 2022-04-11 10:52:53 +02:00
Laurent THOMAS b860d76cd6 fix lte-ue.c main loop with 5G common vars 2022-04-11 09:39:16 +02:00
Laurent Thomas 8623bc6690 a small out of buffer access, likely only santize addr detection 2022-04-08 18:22:40 +02:00
Laurent THOMAS 1a2be8fc89 fix dft modifications related to alignment 2022-04-08 18:22:40 +02:00
Laurent THOMAS f46240ca2b fix code review remarks 2022-04-08 18:22:38 +02:00
Laurent THOMAS e1b9881c78 fix memory errors 2022-04-08 17:56:03 +02:00
Laurent THOMAS 2cdc7304f1 merge develop 2022-04-07 10:00:41 +02:00
Laurent THOMAS 293a53e373 code review remarks, cannot perform full test (develop bugged) 2022-04-06 17:07:25 +02:00
Laurent THOMAS c0568a997a fix bugs, delete dead code 2022-03-28 12:05:18 +02:00
Laurent THOMAS a79ccb9992 fix nr_deinterleaving_ldpc() again, we are now too short in the buffer 2022-03-25 21:45:37 +01:00
Laurent THOMAS 9be58373bc fix regression on harq in UE 2022-03-25 18:20:05 +01:00
Laurent THOMAS 73053aa712 fix bug introduced in this branch 2022-03-25 16:32:07 +01:00
Laurent THOMAS b153d2d1ee fix bug in nr_rate_matching 2022-03-24 21:10:23 +01:00
Laurent THOMAS a7e7d05da3 fix difficult to read code 2022-03-24 14:38:17 +01:00
Laurent THOMAS 42c1679545 remove one global 2022-03-24 14:05:31 +01:00
Laurent THOMAS ed1c87b598 commit before rebase 2022-03-24 14:05:30 +01:00
Laurent THOMAS f4c39e9dd3 Merge branch 'fix-legacy-errors-lte' of https://gitlab.eurecom.fr/oai/openairinterface5g into fix-legacy-errors-lte 2022-02-23 20:59:04 +01:00
Laurent THOMAS db1cc4cf5f better variable name 2022-02-23 20:37:30 +01:00
Laurent THOMAS a4216b44ef ue sync, assert in wrong PUCCH decoded values 2022-02-23 18:43:47 +01:00
Laurent THOMAS 22d2e9a38f fix warnings and race cond in polar codec 2022-02-23 18:02:55 +01:00
Laurent THOMAS 11441023db fix polar race condition 2022-02-23 17:19:02 +01:00
Laurent THOMAS efcac39c76 simplify polar codec interface 2022-02-22 18:30:44 +01:00
Laurent THOMAS 9aba6d722b fix bugs in polar encode, when len+crc_len>64 2022-02-21 13:37:32 +01:00
Laurent THOMAS 3e2c9af134 with polar structures delete and better cpu performance 2022-02-21 13:36:41 +01:00
Laurent THOMAS be314a9770 remove usage of undefined var in polar and memory leaks 2022-02-21 13:36:41 +01:00
Laurent THOMAS 06dd706df7 fix undefined vars in pbchsim.c 2022-02-21 13:34:40 +01:00
Laurent THOMAS dca9be3c33 code review comments (incl. actual bugs) 2022-02-18 16:10:10 +01:00
Laurent THOMAS 39dd02aeef Merge branch 'remove-NR_UE_PBCH' of https://gitlab.eurecom.fr/oai/openairinterface5g into remove-NR_UE_PBCH 2022-02-18 09:41:43 +01:00
Laurent THOMAS 8e3f720b7d fix unaligned mem for SIMD 2022-02-18 09:41:18 +01:00
Laurent THOMAS 18a421578f finish remove global vars for UE PBCH 2022-02-18 09:41:18 +01:00
Laurent THOMAS 53001d0d10 remove-NR_UE_PBCH scope to finish 2022-02-18 09:41:18 +01:00
Laurent THOMAS d1c2eb03db Merge branch 'fix-legacy-errors-lte' of https://gitlab.eurecom.fr/oai/openairinterface5g into fix-legacy-errors-lte 2022-02-16 15:11:18 +01:00
Laurent THOMAS 2ea133ffa4 ue sync, assert in wrong PUCCH decoded values 2022-02-16 15:04:15 +01:00
Laurent THOMAS 96f2b4e2f3 fix unaligned mem for SIMD 2022-02-16 14:49:19 +01:00