Commit Graph
350 Commits
Author SHA1 Message Date
Florian Kaltenberger e38b2433df Trigger GPIO beam control only when beam changes 2023-01-20 10:33:47 +01:00
Robert Schmidt 9948d97230 Use GPIO flag and fix bug 2023-01-19 14:32:01 +01:00
Robert Schmidt 72460cec61 Use TX Burst enum consistently
- By convention, enums are uppercase in C
- Use it everywhere
2023-01-19 14:32:01 +01:00
Florian Kaltenberger faba9ac244 Make USRP GPIO control more flexible
- adding support for x410 GPIO
2023-01-19 14:32:01 +01:00
Florian Kaltenberger ad6c250595 adressing reviewer comment 2022-12-27 11:49:47 +01:00
Florian Kaltenberger 00c36d7b40 fixing "making SFN dependent on GPS time"
in fact it syncs the USRP time to GPS time when available and then derives the SFN from the USRP time.
2022-12-27 11:49:47 +01:00
Robert Schmidt 968d28d5fe RU: stop RF after all threads finished
If we do not stop RF after all threads, it can happen that the RF is
finished, but another thread of the RU (e.g., reorder thread) tries to
send out a package to the RF. This can lead to a segfault, as observed
in UHD, because we free all resources before reusing them.

This commit fixes this behavior.
2022-11-29 14:12:26 +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
laurent cfeae9560e merge develop 2022-08-26 18:02:50 +02:00
Arash Sahbafard 23e6341237 Logs: initial TA and color != 31, various others 2022-08-26 13:46:09 +02:00
Raymond Knopp 3f790e1504 Merge remote-tracking branch 'origin/develop' into if5_ECPRI_rework 2022-08-20 19:22:31 +02:00
Robert Schmidt 61ead59d13 Check oai_exit in wait_on_condition() and friends, no volatile 2022-08-16 14:44:22 +02:00
Robert Schmidt 1512e39e4e Rewrite kill_NR_RU_proc() and reuse functions 2022-08-16 14:41:02 +02:00
Robert Schmidt d73e1a4133 Handle NULL return of pullTpool() 2022-08-16 14:41:02 +02:00
Robert Schmidt e63cc03c9d Implement abortTpool()
This stops all ongoing threads (using pthread_join()), and marks FIFOs
to not block anymore. In this case, returned messages will be NULL.
2022-08-16 14:41:02 +02:00
Robert Schmidt c4a657cc33 Avoid additional malloc() for queues and Tpool 2022-08-16 14:41:01 +02:00
Raymond Knopp 8530b9c2c2 fixed issue with default CPU cores for RU in CI (now defaults to 2 TP cores and O/S controlled scheduling) 2022-08-09 08:24:37 +02:00
Raymond Knopp 4e9c9c5864 added configurable half-slot parallelization to RU processing (same as original version) 2022-08-07 22:49:11 +02:00
Raymond Knopp ed972fd6c6 changes to documentation ethernet.md and bug introduced through simplification (sectional of nr_feptx in nr-ru.c) 2022-08-06 16:27:41 +02:00
Raymond Knopp 491d97dee9 removal of IF5_tools.x and old NR RU multi-threaded implementation. Fixes for LTE build 2022-08-06 12:13:16 +02:00
francescomani 6e2a83856b common function to get sample rate and BW 2022-08-04 17:19:15 +02:00
Raymond Knopp afed0cec34 testing with 20 and 50 MHz 2x2 on Jaguar. Adding simple documentation in ethernet.md file. 2022-08-03 17:15:49 +02:00
Raymond Knopp cecb9568ad warning removal 2022-08-01 08:51:29 +02:00
Raymond Knopp 10d288e9ab Merge remote-tracking branch 'origin/develop' into if5_ECPRI_rework 2022-07-31 21:25:02 +02:00
Raymond Knopp 3760ffa4af Merge remote-tracking branch 'origin/develop' into if5_ECPRI_rework 2022-07-30 19:36:27 +02:00
Raymond Knopp 6236fe8e77 changes for thread-core pinning 2022-06-11 08:08:03 +02:00
Raymond Knopp 514462f1df Merge branch 'if5_ECPRI_rework' of https://gitlab.eurecom.fr/oai/openairinterface5g into if5_ECPRI_rework
Conflicts:
	targets/ARCH/ETHERNET/USERSPACE/LIB/eth_udp.c
2022-05-30 11:47:58 +02:00
Raymond Knopp 29f84b815e commit before merge 2022-05-30 10:35:04 +02:00
Raymond Knopp ca782ef2cb added threadPool to RU entity (FEP and FEP TX) 2022-05-30 07:21:39 +02:00
Raymond Knopp 2b426c0cc9 added threadPool for IF5 TX path 2022-05-28 07:47:41 +02:00
Robert Schmidt daad3da6eb Merge remote-tracking branch 'origin/usrp-tune-offset' into integration_2022_wk21b 2022-05-27 10:06:20 +02:00
Robert Schmidt e1b090cfaa Improve logging 2022-05-23 15:20:03 +02:00
Robert Schmidt 9f6b7dc6b9 Make USRP tune_offset configurable
UHD documentation: "A tune request instructs the implementation how to
tune the RF chain."

This commit makes this configurable, from nr-softmodem, nr-uesoftmodem,
lte-softmodem, and lte-uesoftmodem.
2022-05-23 15:20:03 +02:00
Thomas Schlichter e639e79220 Merge remote-tracking branch 'origin/develop' into support-15-kHz-SCS 2022-05-18 10:51:19 +02:00
Raymond Knopp 0f207da28a initial changes for multi-threaded TX for IF5 2022-05-08 18:36:42 +02:00
Raymond Knopp 8e57947067 Merge remote-tracking branch 'origin/NR_RRC_processing_timer' into if5_ECPRI_rework 2022-05-06 09:36:07 +02:00
Raymond Knopp f4fc8e3682 Merge remote-tracking branch 'origin/tdd25period_for_MR' into if5_ECPRI_rework 2022-05-02 00:06:08 +02:00
Raymond Knopp f0e8032b29 Merge remote-tracking branch 'origin/develop' into if5_ECPRI_rework 2022-05-01 14:51:27 +02:00
Raymond Knopp fc0396f9f4 2x2 20 and 50 MHz tested with AW2S Jaguar with new FW and NR configurations 2022-05-01 13:10:04 +02:00
Raymond Knopp 8fdf4af6aa added multiple thread support for ECPRI/IF5 interface. Uses SO_REUSEPORT for listening with multiple sockets in different threads 2022-04-03 22:23:33 +02:00
Thomas Schlichter 88c0028757 Merge remote-tracking branch 'origin/develop' into support-15-kHz-SCS 2022-03-24 11:39:22 +01:00
Raymond Knopp d840ca0dee Merge remote-tracking branch 'origin/develop' into tdd25period_for_MR
Conflicts:
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2022-03-22 07:03:40 +01:00
Thomas Schlichter 4fd78ce1e0 small fixes for 15 kHz SCS 2022-03-14 16:39:17 +01:00
Raymond Knopp 401d981584 optimizations for IF5 fronthaul with AW2S 4x4 RU 2022-03-04 19:17:34 +01:00
Raymond Knopp 6d9d1f0b94 changes for 2.5ms TDD period 2022-02-19 13:07:20 +01:00
Raymond Knopp 4756c5a167 added configurable "sf_ahead" for NR/LTE in RU section. Tested in NR with sf_ahead=2 (normally 3) 2022-02-13 22:15:48 +01:00
Raymond Knopp 74fd3f029a changes for AW2S NR support in ORI library 2022-02-13 09:44:15 +01:00
Thomas Schlichter 76885758aa add support for continuous transmission
In case of TDD we usually disable TX during RX.
Unfortunately some USRPs create self-interference after disabling TX.
To be able to work-around this issue, we add the flag "--continuous-tx".
2022-02-09 08:56:15 +01:00