Provide peek_nr_nfapi_p7_sfn_slot() for fast msg dec

The next commits refactor the rx handling of messages in the PNF. To
efficiently handle them, provide a "peek()" function that gives us the
frame/slot for which a message is destined. This allows to decide if a
message is on time and select a destination buffer, before unpacking it
completely, avoiding copies.
This commit is contained in:
Rúben Soares Silva
2025-01-27 10:59:19 +01:00
committed by Robert Schmidt
parent 17e36029fa
commit d6b8fe93ab
4 changed files with 28 additions and 0 deletions
+1
View File
@@ -716,6 +716,7 @@ set(NFAPI_PNF_SRC
)
add_library(NFAPI_PNF_LIB ${NFAPI_PNF_SRC})
target_link_libraries(NFAPI_PNF_LIB PRIVATE asn1_lte_rrc_hdrs asn1_nr_rrc_hdrs)
target_link_libraries(NFAPI_PNF_LIB PUBLIC nr_fapi_p7)
include_directories(${NFAPI_DIR}/pnf/public_inc)
include_directories(${NFAPI_DIR}/pnf/inc)