Robert Schmidt
ddf549b1f3
Move radio CMakeLists.txt to subdirectory
...
- move following radios: AW2S, BladeRF, IRIS, LMSSDR, RFsimulator, USRP
- move following transports: Ethernet, benetel4g, benetel5g
- for each: create independent cmake variable to switch compilation
on/off, in order: OAI_AW2S, OAI_BLADERF, OAI_IRIS, OAI_LMSSDR,
OAI_SIMU, OAI_USRP, OAI_ETHERNET, OAI_BENETEL4G, OAI_BENETEL5G
- Remove RF_BOARD variable, allows to compile multiple boards at once
- where applicable: remove USERSPACE/LIB in path, i.e., move files up to
directories, as all are userspace libraries
Note that with the above, it is now mandatory to enable a radio
implementation before compiling it, e.g., for USRP:
./build_oai -w USRP
cmake .. -DOAI_USRP=ON && ninja oai_usrpdevif
2023-07-07 08:35:28 +02:00
francescomani
981d91bfe7
assertion to avoid config file with more logical than physical antenna ports
2023-05-26 10:39:57 +02:00
Raymond Knopp
2a6b188635
removed temporary "USE_MSGQ" definition. Now, with
...
reorder_thread_disable we use the native message queue and L1_rx_thread instead of the thread-pool for the main L1 thread. There is a single TX thread (no slot parallelization)
2023-04-27 15:17:07 +02:00
Raymond Knopp
455e2203e7
Merge remote-tracking branch 'origin/develop' into threading-rk
2023-04-09 18:29:42 +02:00
Cedric Roux
50bf571347
hack: see "Bye." message when quitting gnb running with aw2s
...
For some (unclear) reason, nr-softmodem with aw2s device does not print
"Bye." when stopping it with control+c, which is problematic in the CI.
This little hack solves the problem.
(Maybe not the right solution, to be changed if needed.)
2023-03-30 12:57:10 +02:00
Raymond Knopp
48d04bbffd
Merge remote-tracking branch 'origin/develop' into threading-rk
2023-03-27 16:09:33 +02:00
Robert Schmidt
52d7d2881a
Merge remote-tracking branch 'origin/multi_usrp' into integration_2023_w10b
2023-03-11 11:57:38 +01:00
Raymond Knopp
e3425b1f9e
added msg-q threading options (and CPU thread pinning) from O-RAN 7.2 branch to develop-based for testing
...
with USRP.
2023-03-07 11:24:26 +01:00
Robert Schmidt
e90ef3bc68
Split phy_init.h into two files (for LTE/NR)
2023-03-06 20:05:38 +01:00
Raymond Knopp
9a91ed0eeb
priorities/policy on usrp-tx-thread. Thread id for ru_thread
2023-03-06 06:54:55 +01:00
Sagar Parsawar
738ccce421
Bug fix for subdev selection in OAI gNB
2023-02-23 13:39:23 +01:00
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