blob: ff51bfd4d26e72797173d2f44432c1fe57eb86f6 [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 Puschmann52fb33c2020-09-04 14:37:37 +020039 //subframe = [1, 11]; // vector of subframe indices allowed for SR transmissions
Andre Puschmann4d35ea22020-04-01 12:39:27 +020040
41 // number of PRBs on each extreme used for SR (total prb is twice this number)
Andre Puschmann4d35ea22020-04-01 12:39:27 +020042 nof_prb = 1;
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010043 };
44 cqi_report_cnfg =
Andre Puschmann4d35ea22020-04-01 12:39:27 +020045 {
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010046 mode = "periodic";
Andre Puschmann4d35ea22020-04-01 12:39:27 +020047 simultaneousAckCQI = true;
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010048 period = 40; // in ms
Andre Puschmann52fb33c2020-09-04 14:37:37 +020049 //subframe = [0, 10, 20, 30];
Andre Puschmann4d35ea22020-04-01 12:39:27 +020050 nof_prb = 1;
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010051 m_ri = 8; // RI period in CQI period
52 };
53};
54
55cell_list =
56(
Pau Espin Pedrol96d64ef2020-04-20 12:16:23 +020057%for cell in enb.cell_list:
58 ${',' if loop.index != 0 else ''}
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010059 {
Andre Puschmann549826d2020-04-21 21:14:30 +020060 rf_port = ${cell.rf_port};
Pau Espin Pedrol96d64ef2020-04-20 12:16:23 +020061 cell_id = ${cell.cell_id};
Andre Puschmanna7fd3942020-11-06 16:24:38 +010062 tac = ${cell.tac};
63 pci = ${cell.pci};
64 root_seq_idx = ${cell.root_seq_idx};
Pau Espin Pedrol96d64ef2020-04-20 12:16:23 +020065 dl_earfcn = ${cell.dl_earfcn};
Andre Puschmann3ffea802020-03-24 12:09:25 +010066 //ul_earfcn = 20850;
Pau Espin Pedrol10c64fe2020-10-09 15:58:42 +020067 ho_active = true;
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010068
69 // CA cells
70 scell_list = (
Pau Espin Pedrol96d64ef2020-04-20 12:16:23 +020071%for scell_id in cell.scell_list:
72 ${',' if loop.index != 0 else ''}
73 {
74 cell_id = ${scell_id};
75 cross_carrier_scheduling = false;
76 scheduling_cell_id = ${cell.cell_id};
77 ul_allowed = true;
78 }
79%endfor
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010080 )
81
82 // Cells available for handover
83 meas_cell_list =
84 (
Pau Espin Pedrol96d64ef2020-04-20 12:16:23 +020085%for ncell in enb.cell_list:
86 <% loop.my_num_items = 0 if loop.index == 0 else loop.my_num_items %>
87%if ncell.cell_id in cell.ncell_list:
88 ${',' if loop.my_num_items != 0 else ''}
89 <% loop.my_num_items += 1 %>
90 {
Pau Espin Pedrol9ff1eab2020-10-09 16:54:27 +020091 eci = ${hex((int(enb.id)<<8) + int(ncell.cell_id))};
Pau Espin Pedrol96d64ef2020-04-20 12:16:23 +020092 dl_earfcn = ${ncell.dl_earfcn};
93 pci = ${ncell.pci};
94 }
95%endif
96%endfor
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010097 );
98
99 // ReportCfg (only A3 supported)
100 meas_report_desc = {
101 a3_report_type = "RSRP";
102 a3_offset = 6;
103 a3_hysteresis = 0;
104 a3_time_to_trigger = 480;
105 rsrq_config = 4;
106 };
107 }
Pau Espin Pedrol96d64ef2020-04-20 12:16:23 +0200108%endfor
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +0100109);