blob: bdbe741d4b1cf452ce5b0c19fb5917c99ed73338 [file] [log] [blame]
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +01001mac_cnfg =
2{
3 phr_cnfg =
4 {
5 dl_pathloss_change = "dB3"; // Valid: 1, 3, 6 or INFINITY
6 periodic_phr_timer = 50;
7 prohibit_phr_timer = 0;
8 };
9 ulsch_cnfg =
10 {
11 max_harq_tx = 4;
12 periodic_bsr_timer = 20; // in ms
13 retx_bsr_timer = 320; // in ms
14 };
15
16 time_alignment_timer = -1; // -1 is infinity
17};
18
19phy_cnfg =
20{
21 phich_cnfg =
22 {
23 duration = "Normal";
24 resources = "1/6";
25 };
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(
65 {
66 // rf_port = 0;
Pau Espin Pedrold2e5aa52020-03-09 11:40:51 +010067 cell_id = 0x01;
68 tac = 0x0001;
69 pci = 1;
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010070 // root_seq_idx = 204;
Andre Puschmann3ffea802020-03-24 12:09:25 +010071 dl_earfcn = 2850;
72 //ul_earfcn = 20850;
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010073 ho_active = false;
74
75 // CA cells
76 scell_list = (
77 {cell_id = 0x02; cross_carrier_scheduling = false; scheduling_cell_id = 0x02; ul_allowed = true}
78 )
79
80 // Cells available for handover
81 meas_cell_list =
82 (
83 {
84 eci = 0x19C02;
85 dl_earfcn = 2850;
86 pci = 2;
87 }
88 );
89
90 // ReportCfg (only A3 supported)
91 meas_report_desc = {
92 a3_report_type = "RSRP";
93 a3_offset = 6;
94 a3_hysteresis = 0;
95 a3_time_to_trigger = 480;
96 rsrq_config = 4;
97 };
98 }
Andre Puschmann82b88902020-03-24 10:04:48 +010099% if enb.get('num_cells') == '2':
100 ,
101 {
102 rf_port = 1;
103 cell_id = 0x02;
104 tac = 0x0002;
105 pci = 2;
106 root_seq_idx = 205;
Andre Puschmann3ffea802020-03-24 12:09:25 +0100107 dl_earfcn = 3050;
108 //ul_earfcn = 21050;
Andre Puschmann82b88902020-03-24 10:04:48 +0100109 ho_active = false;
110
111 // CA cells
112 scell_list = (
113 {cell_id = 0x01; cross_carrier_scheduling = false; scheduling_cell_id = 0x01; ul_allowed = true}
114 )
115
116 // Cells available for handover
117 meas_cell_list =
118 (
119 {
120 eci = 0x19C02;
121 dl_earfcn = 2850;
122 pci = 1;
123 }
124 );
125
126 // ReportCfg (only A3 supported)
127 meas_report_desc = {
128 a3_report_type = "RSRP";
129 a3_offset = 6;
130 a3_hysteresis = 0;
131 a3_time_to_trigger = 480;
132 rsrq_config = 4;
133 };
134 }
135% endif
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +0100136 // Add here more cells
137);