Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
7a04898
cleanup nr-ru set_functions to leave only used options in NR
francescomani Jun 18, 2026
0f50702
remove dependence from LTE if4p5 functions
francescomani Jun 18, 2026
0a7b048
Introduce nr_fhi_t: split-specific DL send and UL-ready abstractions …
teodora-vladic Jun 23, 2026
e60c81a
Transport preferences udp and raw not used in NR
teodora-vladic Jun 24, 2026
e1acdb0
do_prach not used in NR
teodora-vladic Jun 24, 2026
7ebc403
Remove txfh_in_fep as not used anywhere
teodora-vladic Jun 24, 2026
d6e46aa
Remove fh_north_in function pointer as not used anywhere
teodora-vladic Jun 24, 2026
481aef4
Remove fh_north_out as not used in NR
teodora-vladic Jun 24, 2026
c6746a7
Remove fh_south_asynch_in as not used in NR
teodora-vladic Jun 24, 2026
2dce637
Remove fh_north_asynch_in as not used in NR
teodora-vladic Jun 24, 2026
c2721cb
[FHI72] Remove useless function pointers
teodora-vladic Jun 24, 2026
c05a780
Move host_type and eth_params to device_init() and transport_init()
teodora-vladic Jun 24, 2026
0021687
Move nr_fhi_if4p5_dl_slot_send to 7.2; nr_fhi_if5_dl_slot_send and fh…
teodora-vladic Jun 24, 2026
1639c45
Remove fh_south_in dependancy for NR; create ul_slot_receive; move fh…
teodora-vladic Jun 25, 2026
3d4b82e
Remove set_function_spec_param() and set RU_t function pointers withi…
teodora-vladic Jun 26, 2026
9443044
Move init_RU_proc within init_NR_RU; synch_to_ext_device not relevant…
teodora-vladic Jun 26, 2026
fb9a28e
Remove frame_params as meant for LTE; move ru_thread create into star…
teodora-vladic Jun 26, 2026
9731d9b
Remove RU_t dependency function pointers and make it only if_south de…
teodora-vladic Jun 26, 2026
4a23054
Properly use xran_close() for K release
teodora-vladic Jun 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,6 @@ set(NR_PHY_SRC_RU
${OPENAIR1_DIR}/PHY/MODULATION/nr_beamforming.c
${OPENAIR1_DIR}/PHY/MODULATION/slot_fep_nr.c
${OPENAIR1_DIR}/PHY/INIT/nr_init_ru.c
${OPENAIR1_DIR}/PHY/if4_tools.c
)

set(PHY_SRC_UE
Expand Down
3 changes: 0 additions & 3 deletions executables/lte-ru.c
Original file line number Diff line number Diff line change
Expand Up @@ -2357,7 +2357,6 @@ void set_function_spec_param(RU_t *ru) {
case LOCAL_RF: // this is an RU with integrated RF (RRU, eNB)
if (ru->function == NGFI_RRU_IF5) { // IF5 RRU
ru->do_prach = 0; // no prach processing in RU
ru->fh_north_in = NULL; // no shynchronous incoming fronthaul from north
ru->fh_north_out = fh_if5_north_out; // need only to do send_IF5 reception
ru->fh_south_out = tx_rf; // send output to RF
ru->fh_north_asynch_in = fh_if5_north_asynch_in; // TX packets come asynchronously
Expand All @@ -2381,7 +2380,6 @@ void set_function_spec_param(RU_t *ru) {
}
} else if (ru->function == NGFI_RRU_IF4p5) {
ru->do_prach = 1; // do part of prach processing in RU
ru->fh_north_in = NULL; // no synchronous incoming fronthaul from north
ru->fh_north_out = fh_if4p5_north_out; // send_IF4p5 on reception
ru->fh_south_out = tx_rf; // send output to RF
ru->fh_north_asynch_in = fh_if4p5_north_asynch_in; // TX packets come asynchronously
Expand Down Expand Up @@ -2410,7 +2408,6 @@ void set_function_spec_param(RU_t *ru) {
ru->feprx = (get_thread_worker_conf() == WORKER_DISABLE) ? fep_full : ru_fep_full_2thread; // RX DFTs
ru->feptx_ofdm = (get_thread_worker_conf() == WORKER_DISABLE) ? feptx_ofdm : feptx_ofdm_2thread; // this is fep with idft and precoding
ru->feptx_prec = feptx_prec; // this is fep with idft and precoding
ru->fh_north_in = NULL; // no incoming fronthaul from north
ru->fh_north_out = NULL; // no outgoing fronthaul to north
ru->start_if = NULL; // no if interface
ru->rfdevice.host_type = RAU_HOST;
Expand Down
19 changes: 4 additions & 15 deletions executables/nr-gnb.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,10 @@ static void tx_func(processingData_L1tx_t *info)
start_meas(&info->gNB->phy_proc_tx);
phy_procedures_gNB_TX(info->gNB, &sched_response.DL_req, &sched_response.TX_req, &sched_response.UL_dci_req, frame_tx,slot_tx);

PHY_VARS_gNB *gNB = info->gNB;
processingData_RU_t syncMsgRU;
syncMsgRU.frame_tx = frame_tx;
syncMsgRU.slot_tx = slot_tx;
syncMsgRU.ru = gNB->RU_list[0];
syncMsgRU.timestamp_tx = info->timestamp_tx;
LOG_D(PHY, "gNB: %d.%d : calling RU TX function\n", syncMsgRU.frame_tx, syncMsgRU.slot_tx);
ru_tx_func((void *)&syncMsgRU);
LOG_D(PHY, "gNB: %d.%d : calling fhi dl_slot_send\n", frame_tx, slot_tx);
RU_t *fhi_ru = gNB->RU_list[0];
nr_fhi_t *fhi = (fhi_ru->if_south == LOCAL_RF) ? fhi_ru->rfdevice.fhi : fhi_ru->ifdevice.fhi;
fhi->dl_slot_send(gNB, frame_tx, slot_tx, info->timestamp_tx);
stop_meas(&info->gNB->phy_proc_tx);
}
}
Expand Down Expand Up @@ -249,15 +245,8 @@ static size_t dump_L1_meas_stats(PHY_VARS_gNB *gNB, RU_t *ru, char *output, size
output += print_meas_log(&ru->txdataF_copy_stats, "txdataF_copy", NULL, NULL, output, end - output);
}

if (ru->fh_north_asynch_in)
output += print_meas_log(&ru->rx_fhaul,"rx_fhaul",NULL,NULL, output, end - output);

output += print_meas_log(&ru->tx_fhaul,"tx_fhaul",NULL,NULL, output, end - output);

if (ru->fh_north_out) {
output += print_meas_log(&ru->compression,"compression",NULL,NULL, output, end - output);
output += print_meas_log(&ru->transport,"transport",NULL,NULL, output, end - output);
}
return output - begin;
}

Expand Down
Loading
Loading