Link NFAPI_LIB into SCHED_NR_LIB
phy_procedures_nr_gNB.c calls pack_srs() functions to pack individual SRS "subPDUs". Correspondingly, the library depends on NFAPI_LIB. In nr_ulsim, in a later commit, we will need to unpack the SRS.indication, so remove dummy functions and implement correctly. Signed-off-by: Robert Schmidt <robert.schmidt@openairinterface.org>
This commit is contained in:
@@ -713,6 +713,7 @@ set(SCHED_NR_SRC
|
||||
)
|
||||
add_library(SCHED_NR_LIB ${SCHED_NR_SRC})
|
||||
target_link_libraries(SCHED_NR_LIB PRIVATE asn1_nr_rrc_hdrs UTIL)
|
||||
target_link_libraries(SCHED_NR_LIB PRIVATE NFAPI_LIB) # some FAPI messages pack "subPDUs"
|
||||
|
||||
set(SCHED_SRC_RU
|
||||
${OPENAIR1_DIR}/SCHED/ru_procedures.c
|
||||
|
||||
@@ -56,40 +56,6 @@ void handle_nr_slot_ind(uint16_t sfn, uint16_t slot)
|
||||
UNUSED(slot);
|
||||
}
|
||||
|
||||
int pack_nr_srs_beamforming_report(void *pMessageBuf, void *pPackedBuf, uint32_t packedBufLen)
|
||||
{
|
||||
UNUSED(pMessageBuf);
|
||||
UNUSED(pPackedBuf);
|
||||
UNUSED(packedBufLen);
|
||||
return 0;
|
||||
}
|
||||
int unpack_nr_srs_beamforming_report(void *pMessageBuf, uint32_t messageBufLen, void *pUnpackedBuf, uint32_t unpackedBufLen)
|
||||
{
|
||||
UNUSED(pMessageBuf);
|
||||
UNUSED(messageBufLen);
|
||||
UNUSED(pUnpackedBuf);
|
||||
UNUSED(unpackedBufLen);
|
||||
return 0;
|
||||
}
|
||||
int pack_nr_srs_normalized_channel_iq_matrix(void *pMessageBuf, void *pPackedBuf, uint32_t packedBufLen)
|
||||
{
|
||||
UNUSED(pMessageBuf);
|
||||
UNUSED(pPackedBuf);
|
||||
UNUSED(packedBufLen);
|
||||
return 0;
|
||||
}
|
||||
int unpack_nr_srs_normalized_channel_iq_matrix(void *pMessageBuf,
|
||||
uint32_t messageBufLen,
|
||||
void *pUnpackedBuf,
|
||||
uint32_t unpackedBufLen)
|
||||
{
|
||||
UNUSED(pMessageBuf);
|
||||
UNUSED(messageBufLen);
|
||||
UNUSED(pUnpackedBuf);
|
||||
UNUSED(unpackedBufLen);
|
||||
return 0;
|
||||
}
|
||||
|
||||
void configure_nr_nfapi_pnf(char *vnf_ip_addr, int vnf_p5_port, char *pnf_ip_addr, int pnf_p7_port, int vnf_p7_port)
|
||||
{
|
||||
UNUSED(vnf_ip_addr);
|
||||
@@ -102,40 +68,6 @@ void configure_nr_nfapi_vnf(eth_params_t params)
|
||||
{
|
||||
UNUSED(params);
|
||||
}
|
||||
int nfapi_nr_p7_message_pack(void *pMessageBuf, void *pPackedBuf, uint32_t packedBufLen, nfapi_p7_codec_config_t *config)
|
||||
{
|
||||
UNUSED(pMessageBuf);
|
||||
UNUSED(pPackedBuf);
|
||||
UNUSED(packedBufLen);
|
||||
UNUSED(config);
|
||||
return 0;
|
||||
}
|
||||
bool nfapi_nr_p7_message_unpack(void *pMessageBuf,
|
||||
uint32_t messageBufLen,
|
||||
void *pUnpackedBuf,
|
||||
uint32_t unpackedBufLen,
|
||||
nfapi_p7_codec_config_t *config)
|
||||
{
|
||||
UNUSED(pMessageBuf);
|
||||
UNUSED(messageBufLen);
|
||||
UNUSED(pUnpackedBuf);
|
||||
UNUSED(unpackedBufLen);
|
||||
UNUSED(config);
|
||||
return false;
|
||||
}
|
||||
int nfapi_p7_message_header_unpack(void *pMessageBuf,
|
||||
uint32_t messageBufLen,
|
||||
void *pUnpackedBuf,
|
||||
uint32_t unpackedBufLen,
|
||||
nfapi_p7_codec_config_t *config)
|
||||
{
|
||||
UNUSED(pMessageBuf);
|
||||
UNUSED(messageBufLen);
|
||||
UNUSED(pUnpackedBuf);
|
||||
UNUSED(unpackedBufLen);
|
||||
UNUSED(config);
|
||||
return 0;
|
||||
}
|
||||
|
||||
void nr_mac_rrc_sync_ind(const module_id_t module_id, const frame_t frame, const bool in_sync)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user