- 30 May, 2024 30 commits
-
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
diff --git a/nfapi/open-nFAPI/nfapi/src/nfapi_p5.c b/nfapi/open-nFAPI/nfapi/src/nfapi_p5.c index d58dc98a3d..26153f755a 100644 --- a/nfapi/open-nFAPI/nfapi/src/nfapi_p5.c +++ b/nfapi/open-nFAPI/nfapi/src/nfapi_p5.c @@ -30,6 +30,7 @@ #include <errno.h> #include <pthread.h> #include <stdint.h> +#include <assert.h> #include <nfapi_interface.h> #include <nfapi.h> @@ -1838,6 +1839,19 @@ static uint8_t pack_nr_config_request(void *msg, uint8_t **ppWritePackedMsg, uin retval &= pack_nr_tlv(NFAPI_NR_CONFIG_TDD_PERIOD_TAG, &(pNfapiMsg->tdd_table.tdd_period), ppWritePackedMsg, end, &pack_uint8_tlv_value); numTLVs++; + + assert(6 == pNfapiMsg->tdd_table.tdd_period.value); + for (int i = 0; i < 20; i++) { + for (int k = 0; k < 14; k++) { + pack_nr_tlv(NFAPI_NR_CONFIG_SLOT_CONFIG_TAG, + &pNfapiMsg->tdd_table.max_tdd_periodicity_list[i].max_num_of_symbol_per_slot_list[k].slot_config, + ppWritePackedMsg, + end, + &pack_uint8_tlv_value); + numTLVs++; + } + } + // probably near here // END TDD Table // START Measurement Config @@ -3336,6 +3350,7 @@ static uint8_t unpack_nr_config_request(uint8_t **ppReadPackedMsg, uint8_t *end, } } else { NFAPI_TRACE(NFAPI_TRACE_ERROR, "Unknown TAG value: 0x%04x\n", generic_tl.tag); + assert(0); if (++numBadTags > MAX_BAD_TAG) { NFAPI_TRACE(NFAPI_TRACE_ERROR, "Supplied message has had too many bad tags\n"); return 0;
-
Robert Schmidt authored
-
Rúben Soares da Silva authored
Assign NFAPI_NR_CONFIG_SLOT_CONFIG_TAG tag in TLVs used for transmitting the TDD Slot configuration through CONFIG.request.
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
The same function is called in nr_start_resp_cb(), why there and not here?
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
In the PNF, there is no gNBs section. So we cannot rely on it
-
Robert Schmidt authored
-
Robert Schmidt authored
Remove useless message bytes printing Print message if callback missing less newlines in log logs
-
Robert Schmidt authored
Integration: `2024.w22` (Part 1) See merge request oai/openairinterface5g!2773 * !2698 Handle division by 0 gracefully in average channel level calculation * !2743 Demystifying 10log10(2^30) in signal energy calculations. * !2767 NR UE imeisv fix * !2768 Over-estimate short and long BSR for better latency and TCP throughput * !2769 maxMIMOLayers parameter in configuration file
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
hotfix: current vlm_master (5fa129cf3161da9ff2d67341e6277e818c0f5d6a) breaks F1, NG, so use the one before (940dd5fa9f3917913fd487b13dfddfacd0ded06e)
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
38.321 6.1.3.1 says: "The size of the RLC headers and MAC subheaders are not considered in the buffer size computation" [for BSR]. However, prior to this commit, we take the size signaled of the BSR and schedule the UE with that amount of data, making it impossible for the UE to transmit all its data at once (because it is the size signaled + headers). In this commit, over-estimate the buffer status size. As we cannot know the exact number and size of headers, we simply use "BSR size + n", as done in function overestim_bsr_index().
-
- 29 May, 2024 5 commits
-
-
francescomani authored
-
Guido Casati authored
* nb_re_pdsch is directly linked to nb_rb_pdsch, if the latter is 0 the former is also 0 * compute average channel level only when number of RE for PDSCH is not 0 the average channel level will be set to 0 otherwise * Added a log message to handle this special case, which is consequence of other issues in the RX chain * with this commit, the inconsistency in the RX chain will be handled in later in nr_ue_pdsch_procedures with a demodulation failure other minor changes: * Improved clarity by using NR_NB_SC_PER_RB instead of hard-coded value 12 in nb of RBs calculation * cleaned up unused variable and outdated comments
-
Raymond Knopp authored
antennas.
-
Raymond Knopp authored
-
francescomani authored
-
- 28 May, 2024 1 commit
-
-
Bartosz Podrygajlo authored
-
- 27 May, 2024 4 commits
-
-
Robert Schmidt authored
Integration: `2024.w21` See merge request oai/openairinterface5g!2757 * !2733 Remove duplicated function to reverse N bits * !2712 rfsimulator: add support to simulate a long propagation delay * !2695 improve polar init and polar readability * !2709 Fix cmdline configmodule in phy simulators * !2756 remove some enb dependencies in NR files * !2687 bug fix ue UL payload filling randomly done in retransmissions (pointer not set) * !2543 power/PHR normalizations for deltaMCS power adaptation * !2719 Refactor LC handling at MAC * !2736 Fix debug for ongoing transactions * !2747 Fix aerial memory leak * !2761 Use timeout command to kill hanging iperf3 * !2752 fix-dci11-type0-bitmap-setting * !2759 Fix invalid MSG2 HARQ feedback attempt and remove accumulated_delta_PUCCH field from UE FAPI IF * !2740 bugfix/cleanup: remove uint8_t to encode size plus some cleanup * !2760 fix 5G NR SA FDD configs for 24 and 25 PRBs * !2520 Documentation on coding style, workflow, and review instructions
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-