blob: 8d261fa3ce5f1560a497cb7531e54862139d4f14 [file] [log] [blame]
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +01001mac_cnfg =
2{
Pau Espin Pedrolca89bb32020-04-20 12:16:39 +02003 phr_cnfg =
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +01004 {
5 dl_pathloss_change = "dB3"; // Valid: 1, 3, 6 or INFINITY
6 periodic_phr_timer = 50;
7 prohibit_phr_timer = 0;
8 };
Pau Espin Pedrolca89bb32020-04-20 12:16:39 +02009 ulsch_cnfg =
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010010 {
11 max_harq_tx = 4;
12 periodic_bsr_timer = 20; // in ms
13 retx_bsr_timer = 320; // in ms
14 };
Pau Espin Pedrolca89bb32020-04-20 12:16:39 +020015
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010016 time_alignment_timer = -1; // -1 is infinity
17};
18
19phy_cnfg =
20{
Pau Espin Pedrolca89bb32020-04-20 12:16:39 +020021 phich_cnfg =
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010022 {
23 duration = "Normal";
Pau Espin Pedrolca89bb32020-04-20 12:16:39 +020024 resources = "1/6";
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010025 };
26
27 pusch_cnfg_ded =
28 {
29 beta_offset_ack_idx = 6;
30 beta_offset_ri_idx = 6;
31 beta_offset_cqi_idx = 6;
32 };
Andre Puschmann4d35ea22020-04-01 12:39:27 +020033
34 // PUCCH-SR resources are scheduled on time-frequeny domain first, then multiplexed in the same resource.
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010035 sched_request_cnfg =
36 {
37 dsr_trans_max = 64;
38 period = 20; // in ms
Andre Puschmann4d35ea22020-04-01 12:39:27 +020039 subframe = [1]; // vector of subframe indices allowed for SR transmissions
40
41 // number of PRBs on each extreme used for SR (total prb is twice this number)
42% if int(enb['num_prb']) <= 6:
43 nof_prb = 1;
44% else:
45 nof_prb = 2;
46% endif
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010047 };
48 cqi_report_cnfg =
Andre Puschmann4d35ea22020-04-01 12:39:27 +020049 {
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010050 mode = "periodic";
Andre Puschmann4d35ea22020-04-01 12:39:27 +020051 simultaneousAckCQI = true;
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010052 period = 40; // in ms
53 subframe = [0];
Andre Puschmann4d35ea22020-04-01 12:39:27 +020054% if int(enb['num_prb']) <= 6:
55 nof_prb = 1;
56% else:
57 nof_prb = 2;
58% endif
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010059 m_ri = 8; // RI period in CQI period
60 };
61};
62
63cell_list =
64(
Pau Espin Pedrol96d64ef2020-04-20 12:16:23 +020065%for cell in enb.cell_list:
66 ${',' if loop.index != 0 else ''}
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010067 {
Pau Espin Pedrol96d64ef2020-04-20 12:16:23 +020068 // rf_port = 0; Not yet implemented!
69 cell_id = ${cell.cell_id};
Pau Espin Pedrold2e5aa52020-03-09 11:40:51 +010070 tac = 0x0001;
Pau Espin Pedrol96d64ef2020-04-20 12:16:23 +020071 pci = ${loop.index + 1};
72 root_seq_idx = ${loop.index + 204};
73 dl_earfcn = ${cell.dl_earfcn};
Andre Puschmann3ffea802020-03-24 12:09:25 +010074 //ul_earfcn = 20850;
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010075 ho_active = false;
76
77 // CA cells
78 scell_list = (
Pau Espin Pedrol96d64ef2020-04-20 12:16:23 +020079%for scell_id in cell.scell_list:
80 ${',' if loop.index != 0 else ''}
81 {
82 cell_id = ${scell_id};
83 cross_carrier_scheduling = false;
84 scheduling_cell_id = ${cell.cell_id};
85 ul_allowed = true;
86 }
87%endfor
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010088 )
89
90 // Cells available for handover
91 meas_cell_list =
92 (
Pau Espin Pedrol96d64ef2020-04-20 12:16:23 +020093%for ncell in enb.cell_list:
94 <% loop.my_num_items = 0 if loop.index == 0 else loop.my_num_items %>
95%if ncell.cell_id in cell.ncell_list:
96 ${',' if loop.my_num_items != 0 else ''}
97 <% loop.my_num_items += 1 %>
98 {
99 eci = ${ncell.cell_id};
100 dl_earfcn = ${ncell.dl_earfcn};
101 pci = ${ncell.pci};
102 }
103%endif
104%endfor
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +0100105 );
106
107 // ReportCfg (only A3 supported)
108 meas_report_desc = {
109 a3_report_type = "RSRP";
110 a3_offset = 6;
111 a3_hysteresis = 0;
112 a3_time_to_trigger = 480;
113 rsrq_config = 4;
114 };
115 }
Pau Espin Pedrol96d64ef2020-04-20 12:16:23 +0200116%endfor
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +0100117);