Commit a240e21d authored by Mario Joa-Ng's avatar Mario Joa-Ng Committed by Jaroslava Fiedlerova

remove xran_fh_tx_send_slot_BySymbol() and xran_fh_rx_read_slot_BySymbol()

Co-authored-by: default avatarTeodora Vladić <teodora.vladic@openairinterface.org>
parent 46b76706
This diff is collapsed.
...@@ -227,14 +227,7 @@ void oran_fh_if4p5_south_in(RU_t *ru, int *frame, int *slot) ...@@ -227,14 +227,7 @@ void oran_fh_if4p5_south_in(RU_t *ru, int *frame, int *slot)
int f, sl; int f, sl;
LOG_D(HW, "Read rxdataF %p,%p\n", ru_info.rxdataF[0], ru_info.rxdataF[1]); LOG_D(HW, "Read rxdataF %p,%p\n", ru_info.rxdataF[0], ru_info.rxdataF[1]);
start_meas(&ru->rx_fhaul); start_meas(&ru->rx_fhaul);
struct xran_fh_config *fh_cfg = get_xran_fh_config(0); int ret = xran_fh_rx_read_slot(&ru_info, &f, &sl);
int ret = 0;
#if defined F_RELEASE
if (fh_cfg->RunSlotPrbMapBySymbolEnable)
ret = xran_fh_rx_read_slot_BySymbol(&ru_info, &f, &sl);
else
#endif
ret = xran_fh_rx_read_slot(&ru_info, &f, &sl);
stop_meas(&ru->rx_fhaul); stop_meas(&ru->rx_fhaul);
LOG_D(HW, "Read %d.%d rxdataF %p,%p\n", f, sl, ru_info.rxdataF[0], ru_info.rxdataF[1]); LOG_D(HW, "Read %d.%d rxdataF %p,%p\n", f, sl, ru_info.rxdataF[0], ru_info.rxdataF[1]);
if (ret != 0) { if (ret != 0) {
...@@ -289,14 +282,7 @@ void oran_fh_if4p5_south_out(RU_t *ru, int frame, int slot, uint64_t timestamp) ...@@ -289,14 +282,7 @@ void oran_fh_if4p5_south_out(RU_t *ru, int frame, int slot, uint64_t timestamp)
// printf("south_out:\tframe=%d\tslot=%d\ttimestamp=%ld\n",frame,slot,timestamp); // printf("south_out:\tframe=%d\tslot=%d\ttimestamp=%ld\n",frame,slot,timestamp);
struct xran_fh_config *fh_cfg = get_xran_fh_config(0); int ret = xran_fh_tx_send_slot(&ru_info, frame, slot, timestamp);
int ret = 0;
#if defined F_RELEASE
if (fh_cfg->RunSlotPrbMapBySymbolEnable)
ret = xran_fh_tx_send_slot_BySymbol(&ru_info, frame, slot, timestamp);
else
#endif
ret = xran_fh_tx_send_slot(&ru_info, frame, slot, timestamp);
if (ret != 0) { if (ret != 0) {
printf("ORAN: ORAN_fh_if4p5_south_out ERROR in TX function \n"); printf("ORAN: ORAN_fh_if4p5_south_out ERROR in TX function \n");
} }
......
...@@ -61,13 +61,7 @@ typedef struct ru_info_s { ...@@ -61,13 +61,7 @@ typedef struct ru_info_s {
* @param frame output of the frame which has been read. * @param frame output of the frame which has been read.
* @param slot output of the slot which has been read. */ * @param slot output of the slot which has been read. */
int xran_fh_rx_read_slot(ru_info_t *ru, int *frame, int *slot); int xran_fh_rx_read_slot(ru_info_t *ru, int *frame, int *slot);
#if defined F_RELEASE
int xran_fh_rx_read_slot_BySymbol(ru_info_t *ru, int *frame, int *slot);
#endif
/** @brief Writes TX data (PDSCH) of given slot. */ /** @brief Writes TX data (PDSCH) of given slot. */
int xran_fh_tx_send_slot(ru_info_t *ru, int frame, int slot, uint64_t timestamp); int xran_fh_tx_send_slot(ru_info_t *ru, int frame, int slot, uint64_t timestamp);
#if defined F_RELEASE
int xran_fh_tx_send_slot_BySymbol(ru_info_t *ru, int frame, int slot, uint64_t timestamp);
#endif
#endif /* _ORAN_ISOLATE_H_ */ #endif /* _ORAN_ISOLATE_H_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment