temporary fixing SR slot to avoid bug

This commit is contained in:
Karim Boutiba
2026-04-16 09:46:19 +02:00
parent b9d10b32be
commit aa6c8f1550
2 changed files with 1 additions and 2 deletions

View File

@@ -466,7 +466,7 @@ int get_first_ul_slot_beam(const frame_structure_t *fs, int beam_idx, int beams_
// Compute slot index offset
int period_idx = idx / MAX_SR_SLOT_PERIOD; // wrap up the count of complete TDD periods spanned by the index
int ul_slot_idx_in_period = idx % MAX_SR_SLOT_PERIOD; // wrap up the UL slot index within the current TDD period
int ret = ul_slot_idxs[ul_slot_idx_in_period] + period_idx * fs->numb_slots_frame;
int ret = 4; //ul_slot_idxs[ul_slot_idx_in_period] + period_idx * fs->numb_slots_frame;
LOG_D(NR_MAC, "get_first_ul_slot_beam ret %d idx %d beam_idx %d ul_slot_count %d %d %d\n",
ret, idx, beam_idx, ul_slot_idx_in_period, period_idx, fs->numb_slots_period);
return ret;

View File

@@ -4173,7 +4173,6 @@ void update_cellGroupConfig(NR_CellGroupConfig_t *cellGroupConfig,
int encode_cellGroupConfig(NR_CellGroupConfig_t *cellGroupConfig, uint8_t *buffer, int max_buffer_size)
{
asn_enc_rval_t enc_rval = uper_encode_to_buffer(&asn_DEF_NR_CellGroupConfig, NULL, cellGroupConfig, buffer, max_buffer_size);
xer_fprint(stdout, &asn_DEF_NR_CellGroupConfig, cellGroupConfig);
AssertFatal(enc_rval.encoded > 0 && enc_rval.encoded <= max_buffer_size * 8,
"ASN1 message encoding failed (%s, %lu)!\n",
enc_rval.failed_type->name,