X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=o-du%2Fphy.git;a=blobdiff_plain;f=fhi_lib%2Flib%2Fapi%2Fxran_up_api.h;fp=fhi_lib%2Flib%2Fapi%2Fxran_up_api.h;h=7d3afc57f2bded42ef038603c23b30834a18612d;hp=b6e29c6dc9064b6d7a3e13518e2340ea9e1271d6;hb=2de97529a4c5a1922214ba0e6f0fb84cacbd0bc7;hpb=81a09690b36b3a4e89b4dae34f30933de13f7f90 diff --git a/fhi_lib/lib/api/xran_up_api.h b/fhi_lib/lib/api/xran_up_api.h index b6e29c6..7d3afc5 100644 --- a/fhi_lib/lib/api/xran_up_api.h +++ b/fhi_lib/lib/api/xran_up_api.h @@ -1,6 +1,6 @@ /****************************************************************************** * -* Copyright (c) 2019 Intel. +* Copyright (c) 2020 Intel. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -80,17 +80,18 @@ int32_t xran_extract_iq_samples(struct rte_mbuf *mbuf, uint8_t *subframe_id, uint8_t *slot_id, uint8_t *symb_id, - struct ecpri_seq_id *seq_id, + union ecpri_seq_id *seq_id, uint16_t *num_prbu, uint16_t *start_prbu, uint16_t *sym_inc, uint16_t *rb, uint16_t *sect_id, int8_t expect_comp, + enum xran_comp_hdr_type staticComp, uint8_t *compMeth, uint8_t *iqWidth); -int xran_prepare_iq_symbol_portion( +inline int xran_prepare_iq_symbol_portion( struct rte_mbuf *mbuf, const void *iq_data_start, const enum xran_input_byte_order iq_buf_byte_order, @@ -99,6 +100,7 @@ int xran_prepare_iq_symbol_portion( uint8_t CC_ID, uint8_t Ant_ID, uint8_t seq_id, + enum xran_comp_hdr_type staticEn, uint32_t do_copy); #ifdef __cplusplus