- 29 Nov, 2024 40 commits
-
-
Rúben Soares Silva authored
Apply clang-format to pack/unpack procedures. Add comments to improve readability of iqSize usage. Fix unpacking return value to not return 0 on success.
-
Rúben Soares Silva authored
Adds the packing/unpacking procedures for Channel SVD Representation ( Table 3-133 ).
-
Rúben Soares Silva authored
Adds the structure for Channel SVD Representation ( Table 3-133 ), a missing report type for the SRS.indication message.
-
Rúben Soares Silva authored
Renames nfapi_nr_srs_reported_symbol_t prgs into *reported_symbol_list for two reasons: So that the name is more representative of what the parameter represents. For it to actually be a list, and not assume only 1 reported symbol is used. Allocate reported_symbol_list in unpack_nr_srs_beamforming_report. Updated all references to prior prgs to point to the first position of reported_symbol_list, still only effectively using the first reported_symbol. Rename fill_srs_reported_symbol_list into fill_srs_reported_symbol and update input parameter name, since it only fills the information related to one reported symbol
-
Rúben Soares Silva authored
Reordered PDU pack/unpack function to follow PDU value order Changed nfapi_p7_allocate calls to calloc to avoid dependency from FAPI lib to nFAPI lib. Add unitary test for UCI.indication( test pack/unpack, free, copy and compare )
-
Rúben Soares Silva authored
Fix PUCCH Format2/3/4 value to be indexed at 0, not 2. This is according to Table 3-66 of SCF222.10.02 Add utility functions related to UCI.indication Extra utility function to calculate allocated memory added.
-
Rúben Soares Silva authored
Changed parameter of `unpack_nr_crc_indication` to void* to stay inline with other unpack procedures. Changed nfapi_p7_allocate call to calloc to avoid dependency from FAPI lib to nFAPI lib. Add unitary test for CRC.indication( test pack/unpack, free, copy and compare )
-
Rúben Soares Silva authored
Now allocates memory for `uint8_t* cb_crc_status` before pulling in unpack procedure. Add utility functions related to CRC.indication. Extra utility function to calculate allocated memory added.
-
Rúben Soares Silva authored
Changed parameter of unpack_nr_rx_data_indication to void* to be inline with other unpack procedures. Changed nfapi_p7_allocate calls to calloc to avoid dependency from FAPI lib to nFAPI lib. Add unitary test for RX_DATA.indication( test pack/unpack, free, copy and compare )
-
Rúben Soares Silva authored
Changes pack/unpack procedure to expect pdu_length of 32 bits instead of 16. This change was first added for compatibility with Aerial L1. Add utility functions related to RX_DATA.indication Extra utility function to calculate allocated memory added.
-
Rúben Soares Silva authored
Add unitary test for TX_DATA.request( test pack/unpack, free, copy and compare )
-
Rúben Soares Silva authored
Allocate memory for TX_DATA.request TLV value pointer on tag == 1 In the past, this wasn't noticed because tag == 1 is not used Add utility functions related to TX_DATA.request Add extra function to calculate allocated memory
-
Rúben Soares Silva authored
Add unitary test for UL_DCI.request ( test pack/unpack, free, copy and compare )
-
Rúben Soares Silva authored
Remove value hardcode in packing function Add utility functions related to UL_DCI.request
-
Rúben Soares Silva authored
Add unitary test for SLOT.indication ( test pack/unpack, free, copy and compare )
-
Rúben Soares Silva authored
Add utility functions related to SLOT.indication
-
Rúben Soares Silva authored
Add unitary test for UL_TTI.request ( test pack/unpack, free, copy and compare ) Add function rand32_range
-
Rúben Soares Silva authored
Create separate function to pack/unpack rx_beamforming PDU Reorder PDU handling order to follow from 0 to 3 Changed PUSCH pdu_bitmap switch to separate if to handle multiple optional sub-pdus Fix bit_len_harq size to 16 bit Add utility functions related to UL_TTI.request
-
Rúben Soares Silva authored
Add unitary test for DL_TTI.request ( test pack/unpack, free, copy and compare )
-
Rúben Soares Silva authored
Create header file with DCI payload generation functions in order for them to be available to the remainder P7 unitary tests
-
Rúben Soares Silva authored
Add pack/unpack functionality for parameters added in previous commit Add utility functions related to DL_TTI.request, creating 2 news files to contain these functions Reorder switch to follow PDU Type order
-
Rúben Soares Silva authored
-
Rúben Soares Silva authored
-
Rúben Soares Silva authored
-
Rúben Soares Silva authored
-
Rúben Soares Silva authored
This makes it so the functions are available to both FAPI and nFAPI libraries, and to more easily move them later to the FAPI library, while being available for nFAPI
-
Rúben Soares Silva authored
Add P7 message cases to check_nr_fapi_unpack_length Add SLOT.response vendor extension msg id to enum
-
Rúben Soares Silva authored
Update NR P5 and P7 nFAPI headers to have 32-bit message_length In the NR functions, this causes the header parameters following message_length to have their position shifted by 2 bytes, due to the increase in message_length size. Change needed to accommodate SCF222.10.02 Table 3-3 Separates nfapi_p4_p5_message_header_t and nfapi_nr_p4_p5_message_header_t Change the callbacks signature to accept/return void* intead of expecting a particular header type, being the NR/LTE distinction done inside the callback functions. Create NR related functions for nFAPI transmit timestamp and checksum calculation. Move nfapi_p7_codec_config_t and nfapi_p4_p5_codec_config_t to separate header to be shared between LTE and NR VNF/PNF Move nfapi_nr_timing_info_t into NR header. Move NR specific function declarations to NR header.
-
Rúben Soares Silva authored
-
Rúben Soares Silva authored
Expose pack/unpack functions for TX_DATA.request for usage in P7 FAPI library
-
Rúben Soares Silva authored
Note: Dependency in NFAPI_LIB and NFAPI_USER_LIB to be removed later
-
Rúben Soares Silva authored
Fix Assert condition to properly check that body was packed successfully Fix retval value when performing bitwise AND with push16 Remove commented code
-
Robert Schmidt authored
Remove dummy_subframe variable, which is initialized once in start_request() and then copied to memory on the heap. It is not needed. In nr_start_request(), it should not be necessary, but we keep it for the moment to not make more changes than necessary. This avoids a segfault for me, but I am not exactly sure why.
-
Robert Schmidt authored
All packing was wrong and used 12 instead of 14 symbols. However, as of now and my knowledge, OAI only supports 14 symbols.
-
Robert Schmidt authored
The previous code fills random number in the TDD config, which leads to unrealistic TDD patterns. Filling wtih a specific, realistic TDD config allowed to fix the bug in the next commit.
-
Robert Schmidt authored
The scheduler might receive PUSCH data when it does not expect it. Handle this case.
-
Robert Schmidt authored
Testing showed that some messages could be at least slightly bigger than the previous maximum size of 8192. Given that the maximum transport block could be larger, increase this value to 32768.
-
Robert Schmidt authored
unpack_dl_tti_ssb_pdu_rel15_value() reads two additional bytes, seemingly for RX power information. However, table 3-79 does not contain such info, so I remove to match the corresponding pack function pack_dl_tti_ssb_pdu_rel15_value(). TODO: tx power info relevant?
-
Robert Schmidt authored
-
Robert Schmidt authored
-