Merge remote-tracking branch 'origin/rfsim-test-fix' into integration_2025_w30 (!3543)

rfsimulator: fix model name for channel
This commit is contained in:
Jaroslava Fiedlerova
2025-07-23 11:10:58 +02:00
+1 -1
View File
@@ -218,7 +218,7 @@ static buffer_t *allocCirBuf(rfsimulator_state_t *bridge, int sock)
sizeofArray(modelname),
"rfsimu_channel_%s%d",
(bridge->role == SIMU_ROLE_SERVER) ? "ue" : "enB",
bridge->nb_cnx);
bridge->nb_cnx - 1);
ptr->channel_model = find_channel_desc_fromname(modelname); // path_loss in dB
if (!ptr->channel_model) {
// Use legacy method to find channel model - this will use the same channel model for all clients