Skip to content

Commit 1cd26af

Browse files
srs-codebotYour Name
authored andcommitted
Merge branch 'next' into agpl_next
2 parents dec2fe0 + 4c7bc57 commit 1cd26af

File tree

260 files changed

+2684
-1401
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

260 files changed

+2684
-1401
lines changed

CHANGELOG

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
Change Log for Releases
22
=======================
33

4+
## 21.10
5+
* Add initial 5G NSA support to srsENB (tested with OnePlus 5G Nord)
6+
* Improved interoperability of srsUE in NSA mode
7+
* Added enhanced instrumentation to file using JSON format
8+
* Fixed stability issues with Ettus N310
9+
* Added BLER-adaptive MCS scheduling to srsENB
10+
* Other bug-fixes and improved stability and performance in all parts
11+
412
## 21.04
513
* Rename project from srsLTE to srsRAN
614
* Add initial 5G NSA support to srsUE (including x86-optimized FEC and PHY layer)

cmake/modules/SRSRANVersion.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#
2020

2121
SET(SRSRAN_VERSION_MAJOR 21)
22-
SET(SRSRAN_VERSION_MINOR 04)
22+
SET(SRSRAN_VERSION_MINOR 10)
2323
SET(SRSRAN_VERSION_PATCH 0)
2424
SET(SRSRAN_VERSION_STRING "${SRSRAN_VERSION_MAJOR}.${SRSRAN_VERSION_MINOR}.${SRSRAN_VERSION_PATCH}")
2525
SET(SRSRAN_SOVERSION 0)

lib/examples/cell_search.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ void parse_args(int argc, char** argv)
106106
rf_gain = strtof(argv[optind], NULL);
107107
break;
108108
case 'v':
109-
srsran_verbose++;
109+
increase_srsran_verbose_level();
110110
break;
111111
default:
112112
usage(argv[0]);

lib/examples/cell_search_nbiot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ void parse_args(int argc, char** argv)
106106
scan_raster_offset = true;
107107
break;
108108
case 'v':
109-
srsran_verbose++;
109+
increase_srsran_verbose_level();
110110
break;
111111
default:
112112
usage(argv[0]);

lib/examples/npdsch_enodeb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ void parse_args(int argc, char** argv)
170170
cell.nbiot_prb = (uint32_t)strtol(argv[optind], NULL, 10);
171171
break;
172172
case 'v':
173-
srsran_verbose++;
173+
increase_srsran_verbose_level();
174174
break;
175175
default:
176176
usage(argv[0]);

lib/examples/npdsch_ue.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ void parse_args(prog_args_t* args, int argc, char** argv)
228228
args->disable_plots_except_constellation = true;
229229
break;
230230
case 'v':
231-
srsran_verbose++;
231+
increase_srsran_verbose_level();
232232
break;
233233
default:
234234
usage(args, argv[0]);

lib/examples/pdsch_enodeb.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static int net_port = -1; // -1 generates random dataThat means there is so
6666
static uint32_t cfi = 2;
6767
static uint32_t mcs_idx = 1, last_mcs_idx = 1;
6868
static int nof_frames = -1;
69-
static srsran_tm_t transmission_mode = SRSRAN_TM1;
69+
static srsran_tm_t transmission_mode = SRSRAN_TM1;
7070
static uint32_t nof_tb = 1;
7171
static uint32_t multiplex_pmi = 0;
7272
static uint32_t multiplex_nof_layers = 1;
@@ -198,7 +198,7 @@ static void parse_args(int argc, char** argv)
198198
mbsfn_area_id = (int)strtol(argv[optind], NULL, 10);
199199
break;
200200
case 'v':
201-
srsran_verbose++;
201+
increase_srsran_verbose_level();
202202
break;
203203
case 's':
204204
output_file_snr = strtof(argv[optind], NULL);

lib/examples/pdsch_ue.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,8 @@ void parse_args(prog_args_t* args, int argc, char** argv)
286286
args->disable_plots_except_constellation = true;
287287
break;
288288
case 'v':
289-
srsran_verbose++;
290-
args->verbose = srsran_verbose;
289+
increase_srsran_verbose_level();
290+
args->verbose = get_srsran_verbose_level();
291291
break;
292292
case 'Z':
293293
args->decimate = (int)strtol(argv[optind], NULL, 10);
@@ -699,16 +699,16 @@ int main(int argc, char** argv)
699699
to.tv_usec = 0;
700700

701701
/* Set default verbose level */
702-
srsran_verbose = prog_args.verbose;
703-
int n = select(1, &set, NULL, NULL, &to);
702+
set_srsran_verbose_level(prog_args.verbose);
703+
int n = select(1, &set, NULL, NULL, &to);
704704
if (n == 1) {
705705
/* If a new line is detected set verbose level to Debug */
706706
if (fgets(input, sizeof(input), stdin)) {
707-
srsran_verbose = SRSRAN_VERBOSE_DEBUG;
708-
pkt_errors = 0;
709-
pkt_total = 0;
710-
nof_detected = 0;
711-
nof_trials = 0;
707+
set_srsran_verbose_level(SRSRAN_VERBOSE_DEBUG);
708+
pkt_errors = 0;
709+
pkt_total = 0;
710+
nof_detected = 0;
711+
nof_trials = 0;
712712
}
713713
}
714714

lib/examples/pssch_ue.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ void parse_args(prog_args_t* args, int argc, char** argv)
188188
args->nof_rx_antennas = (int32_t)strtol(argv[optind], NULL, 10);
189189
break;
190190
case 'v':
191-
srsran_verbose++;
191+
increase_srsran_verbose_level();
192192
break;
193193
case 'w':
194194
args->disable_plots = true;
@@ -341,7 +341,7 @@ int main(int argc, char** argv)
341341
// PSCCH Channel estimation
342342
srsran_chest_sl_cfg_t pscch_chest_sl_cfg = {};
343343
srsran_chest_sl_t pscch_chest = {};
344-
if (srsran_chest_sl_init(&pscch_chest, SRSRAN_SIDELINK_PSCCH, cell_sl, sl_comm_resource_pool) != SRSRAN_SUCCESS) {
344+
if (srsran_chest_sl_init(&pscch_chest, SRSRAN_SIDELINK_PSCCH, cell_sl, &sl_comm_resource_pool) != SRSRAN_SUCCESS) {
345345
ERROR("Error in chest PSCCH init");
346346
return SRSRAN_ERROR;
347347
}
@@ -353,7 +353,7 @@ int main(int argc, char** argv)
353353

354354
srsran_chest_sl_cfg_t pssch_chest_sl_cfg = {};
355355
srsran_chest_sl_t pssch_chest = {};
356-
if (srsran_chest_sl_init(&pssch_chest, SRSRAN_SIDELINK_PSSCH, cell_sl, sl_comm_resource_pool) != SRSRAN_SUCCESS) {
356+
if (srsran_chest_sl_init(&pssch_chest, SRSRAN_SIDELINK_PSSCH, cell_sl, &sl_comm_resource_pool) != SRSRAN_SUCCESS) {
357357
ERROR("Error in chest PSSCH init");
358358
return SRSRAN_ERROR;
359359
}

lib/examples/synch_file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ void parse_args(int argc, char** argv)
8383
force_cfo = strtof(argv[optind], NULL);
8484
break;
8585
case 'v':
86-
srsran_verbose++;
86+
increase_srsran_verbose_level();
8787
break;
8888
default:
8989
usage(argv[0]);

0 commit comments

Comments
 (0)