Robert Schmidt
c945bef2f1
Remove check for NFAPI_MODE_AERIAL, it's pointless
...
In Aerial bindings (FAPI-Aerial), the NFAPI mode must be
NFAPI_MODE_AERIAL (otherwise, we would not be executing this code).
Hence, the switches don't make sense. Remove them.
The check can more easily be checked with
git show <commit> --ignore-all-space
2024-10-10 16:02:29 +02:00
Robert Schmidt
f2f08ac52a
Remove ENABLE_AERIAL switch in aerial bindings
...
As is visible at the top of the patch, for compiling aerial_lib (the
binding FAPI-Aerial), we always add ENABLE_AERIAL. Thus, all the code
within ENABLE_AERIAL will be compiled; we can also simply take it out.
2024-10-10 16:02:29 +02:00
Robert Schmidt
e04ed98994
Remove unused code
2024-10-10 16:02:29 +02:00
Rúben Soares Silva
0609d31dc7
Only copy RX_DATA.indication pdu if there's data
2024-10-10 16:02:29 +02:00
Robert Schmidt and Rúben Soares Silva
83838962fd
Aerial: Avoid superfluous memcpy(), reduce scope
...
We can directly read from buffers, so the memcpy() only takes time.
Also, limit the scope of the variables for the unpacking of
RX_DATA.indication.
Co-authored-by: Rúben Soares Silva <rsilva@allbesmart.pt >
2024-10-10 16:01:29 +02:00
Robert Schmidt
1a97aa359e
aerial_phy_nr_srs_indication(): implement without relying on L1 structures
2024-10-10 16:00:39 +02:00
Robert Schmidt
77d62cbf57
Remove aerial_phy_nrach_indication(): this is a 4G callback
2024-10-10 16:00:39 +02:00
Robert Schmidt
d91e80beba
Remove aerial_phy_nb_harq_indication(): this is a 4G callback
2024-10-10 16:00:39 +02:00
Robert Schmidt
8150328353
Remove aerial_phy_lbt_dl_indication(): this is a 4G callback
2024-10-10 16:00:39 +02:00
Robert Schmidt
f1cbbc9f83
Remove aerial_phy_sr_indication(): this is a 4G callback
2024-10-10 16:00:38 +02:00
Robert Schmidt
88d548fbc2
Remove aerial_phy_cqi_indication(): this is a 4G callback
2024-10-10 16:00:38 +02:00
Robert Schmidt
17ed5d345e
Remove aerial_phy_srs_indication(): this is a 4G callback
2024-10-10 16:00:38 +02:00
Robert Schmidt
8888a6bd70
Remove aerial_phy_harq_indication(): this is a 4G callback
2024-10-10 16:00:38 +02:00
Robert Schmidt
24c8e6c5c1
Remove aerial_phy_sync_indication(): this is a 4G callback
2024-10-10 16:00:38 +02:00
Robert Schmidt
3b4df11078
Remove aerial_phy_slot_indication(): this is a 4G callback
2024-10-10 16:00:38 +02:00
Jaroslava Fiedlerova
561119a2d6
Merge remote-tracking branch 'origin/cleanup-nr-ue-executable' into integration_2024_w29
2024-07-22 08:25:18 +02:00
Bartosz Podrygajlo
dc91550e2c
Remove unused flag single_thread_flag from softmodems.
2024-07-18 09:31:29 +02:00
Florian Kaltenberger
2bee8edcab
making nvIPC thread more configurable + cleanup
...
making aerial shm prefix configurable (so we can use muliptle VNFs per PNF)
making the nvipc thread affinity configurable and using threadCreate.
removing aerial_vnf_nr_aerial_p7_start_thread
2024-07-16 17:27:50 -04:00
Robert Schmidt
e72d50bfd6
Merge remote-tracking branch 'origin/nFAPI_P5_Common' into integration_2024_w26b
2024-07-01 20:42:49 +02:00
Rúben Soares Silva
4033606fff
Increase TX_DATA.request TB buffer size to be allocated in the stack with 2MB, fix compute_PDU_Length to not truncate value and fix packing procedure to use buffer size as the upper limit instead of hardcoded value
2024-06-25 13:50:53 +01:00
Rúben Soares Silva
da9fe96efc
Move general FAPI P5 message pack procedure from fapi_vnf_p5 into FAPI P5 library.
...
Implement FAPI P5 message unpack, as well as message length check function procedure in FAPI P5 library.
Update check_nr_unpack_length in nfapi_p5.c to reference FAPI P5 message length check function.
2024-06-25 11:53:38 +01:00
Rúben Soares da Silva
350746f4f6
Creation of empty FAPI P5 library in preparation for separation of related functions
...
Note: nr_fapi_p5 dependence in NFAPI_USER_LIB will be removed in a later commit
2024-06-24 15:06:59 +01:00
Rúben Soares da Silva
e8bb01579d
aerial_lib: include header instead of source file
...
Expose needed (n)FAPI procedures to aerial_lib ( both P5 and P7 ) via a
header file.
Move (n)FAPI P7 packing/unpacking function interface into separate header file
Include needed headers in aerial_lib
2024-06-24 14:52:40 +01:00
Rúben Soares da Silva
4384ea2b59
Properly add compile definitions related to aerial_lib into targets that depend on it ( ENABLE_AERIAL )
...
Add target_compile_definitions to L2_NR library in order to propagate #define in gnb_config.c
2024-06-24 14:51:48 +01:00
Reem Bahsoun
6cfb5b7ace
prevents thread from being pinned to core 8, to avoid L2 L1 overlap
2024-06-10 14:31:35 +02:00
Robert Schmidt
5ae7d6685a
Aerial: use threadCreate() to create P7 thread
...
Use common threadCreate() function to create P7 thread with high(er)
priority. Remove old calls to set_priority(), as this is already done
with threadCreate().
2024-06-03 14:00:49 +02:00
Rúben Soares da Silva
dd93181951
Replace unneeded memcpy for sr_payload
...
Set appropriate length for csi payload calloc and memcpy, according to bit_len
2024-05-24 17:26:28 +01:00
Rúben Soares da Silva
d27d193339
Fix P5 messages memory leaks ( CONFIG.request / CONFIG.response )
2024-05-24 17:26:16 +01:00
Rúben Soares da Silva
f6a039f38b
Fix memory leak related to UCI.indication and RACH.indication
2024-05-24 14:49:45 +01:00
Rúben Soares da Silva
48ed7fba0d
Fix memory leak related to CRC.indication and RACH.indication
2024-05-24 14:49:45 +01:00
Rúben Soares da Silva
a516a632d4
Fix memory leak related to RX_DATA.indication message
2024-05-24 14:49:45 +01:00
Rúben Soares da Silva
8a8b38ae70
Fix memory leak related to SLOT.response message
2024-05-24 14:49:45 +01:00
Rúben Soares da Silva
b215a60a3b
Fix memory leak related to fapi_phy_api_msg fapi_msg
2024-05-24 14:49:45 +01:00
francescomani
eb60194fa3
nullPointerArithmeticRedundantCheck
2024-04-09 16:55:51 +02:00
francescomani
8404da759f
nullPointerRedundantCheck
2024-04-09 16:55:51 +02:00
Robert Schmidt
e6e25275ed
Bugfix: make preamble_list an array
...
- It is only a couple of bytes
- It hid a bug: if two preambles, L1_nr_prach_procedures() overwrote the
preamble of the first with the second one
2024-04-04 18:55:53 +02:00
8150a47ba5
NVIDIA Aerial Integration
...
- Aerial config file
- Changes for ARC1.1. Change config file to max MCS 25. Fixed pdu size errors.
- Remove taskset from Dockerfile.gNB.aerial.ubuntu20 after changing isolated CPUs
- removed the USRP from Docker file
Co-authored-by: Florian Kaltenberger <florian.kaltenberger@eurecom.fr >
Co-authored-by: Fredrik Molander <fmolander@nvidia.com >
Co-authored-by: Reem Bahsoun <reem.bahsoun@openairinterface.org >
2024-03-08 15:53:42 +01:00