Merge remote-tracking branch 'origin/nfapi-p7-refactoring' into integration_2024_w48 (!3131)

FAPI P7 Refactoring and unitary test creation

This MR is a follow-up to the work done in !2714 this time separating
the P7 FAPI messages into its own library (nr_fapi_p7).

In the same way, utility functions to copy, free and compare have been
added for each message, as well as an addition function to get the
allocated size for a message, which is used for the messages that can be
too big to fit in a buffer that's allocated in the stack.

Unitary tests have been added for each of the messages, testing
pack/unpack and the utility functions added.
This commit is contained in:
Robert Schmidt
2024-11-30 12:59:25 +01:00
67 changed files with 8916 additions and 4563 deletions
+10
View File
@@ -193,6 +193,16 @@ bool nr_pdcp_data_req_drb(protocol_ctxt_t *ctxt_pP,
abort();
}
/* hack: nfapi code is common for 4G/5G, so some function calls are hardcoded.
* Provide body for 5G function not used in 4G code */
void handle_nr_srs_measurements(const module_id_t module_id,
const frame_t frame,
const sub_frame_t slot,
nfapi_nr_srs_indication_pdu_t *srs_ind)
{
return;
}
/* forward declarations */
void set_default_frame_parms(LTE_DL_FRAME_PARMS *frame_parms[MAX_NUM_CCs]);