Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 1 | mac_cnfg = |
| 2 | { |
Pau Espin Pedrol | ca89bb3 | 2020-04-20 12:16:39 +0200 | [diff] [blame] | 3 | phr_cnfg = |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 4 | { |
| 5 | dl_pathloss_change = "dB3"; // Valid: 1, 3, 6 or INFINITY |
| 6 | periodic_phr_timer = 50; |
| 7 | prohibit_phr_timer = 0; |
| 8 | }; |
Pau Espin Pedrol | ca89bb3 | 2020-04-20 12:16:39 +0200 | [diff] [blame] | 9 | ulsch_cnfg = |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 10 | { |
| 11 | max_harq_tx = 4; |
| 12 | periodic_bsr_timer = 20; // in ms |
| 13 | retx_bsr_timer = 320; // in ms |
| 14 | }; |
Pau Espin Pedrol | ca89bb3 | 2020-04-20 12:16:39 +0200 | [diff] [blame] | 15 | |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 16 | time_alignment_timer = -1; // -1 is infinity |
| 17 | }; |
| 18 | |
| 19 | phy_cnfg = |
| 20 | { |
Pau Espin Pedrol | ca89bb3 | 2020-04-20 12:16:39 +0200 | [diff] [blame] | 21 | phich_cnfg = |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 22 | { |
| 23 | duration = "Normal"; |
Pau Espin Pedrol | ca89bb3 | 2020-04-20 12:16:39 +0200 | [diff] [blame] | 24 | resources = "1/6"; |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 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 Puschmann | 4d35ea2 | 2020-04-01 12:39:27 +0200 | [diff] [blame] | 33 | |
| 34 | // PUCCH-SR resources are scheduled on time-frequeny domain first, then multiplexed in the same resource. |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 35 | sched_request_cnfg = |
| 36 | { |
| 37 | dsr_trans_max = 64; |
| 38 | period = 20; // in ms |
Andre Puschmann | 96b17df | 2020-04-21 14:56:41 +0200 | [diff] [blame] | 39 | subframe = [1, 11, 21, 31]; // vector of subframe indices allowed for SR transmissions |
Andre Puschmann | 4d35ea2 | 2020-04-01 12:39:27 +0200 | [diff] [blame] | 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 Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 47 | }; |
| 48 | cqi_report_cnfg = |
Andre Puschmann | 4d35ea2 | 2020-04-01 12:39:27 +0200 | [diff] [blame] | 49 | { |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 50 | mode = "periodic"; |
Andre Puschmann | 4d35ea2 | 2020-04-01 12:39:27 +0200 | [diff] [blame] | 51 | simultaneousAckCQI = true; |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 52 | period = 40; // in ms |
Andre Puschmann | 96b17df | 2020-04-21 14:56:41 +0200 | [diff] [blame] | 53 | subframe = [0, 10, 20, 30]; |
Andre Puschmann | 4d35ea2 | 2020-04-01 12:39:27 +0200 | [diff] [blame] | 54 | % if int(enb['num_prb']) <= 6: |
| 55 | nof_prb = 1; |
| 56 | % else: |
| 57 | nof_prb = 2; |
| 58 | % endif |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 59 | m_ri = 8; // RI period in CQI period |
| 60 | }; |
| 61 | }; |
| 62 | |
| 63 | cell_list = |
| 64 | ( |
Pau Espin Pedrol | 96d64ef | 2020-04-20 12:16:23 +0200 | [diff] [blame] | 65 | %for cell in enb.cell_list: |
| 66 | ${',' if loop.index != 0 else ''} |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 67 | { |
Andre Puschmann | 549826d | 2020-04-21 21:14:30 +0200 | [diff] [blame] | 68 | rf_port = ${cell.rf_port}; |
Pau Espin Pedrol | 96d64ef | 2020-04-20 12:16:23 +0200 | [diff] [blame] | 69 | cell_id = ${cell.cell_id}; |
Pau Espin Pedrol | d2e5aa5 | 2020-03-09 11:40:51 +0100 | [diff] [blame] | 70 | tac = 0x0001; |
Pau Espin Pedrol | 96d64ef | 2020-04-20 12:16:23 +0200 | [diff] [blame] | 71 | pci = ${loop.index + 1}; |
| 72 | root_seq_idx = ${loop.index + 204}; |
| 73 | dl_earfcn = ${cell.dl_earfcn}; |
Andre Puschmann | 3ffea80 | 2020-03-24 12:09:25 +0100 | [diff] [blame] | 74 | //ul_earfcn = 20850; |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 75 | ho_active = false; |
| 76 | |
| 77 | // CA cells |
| 78 | scell_list = ( |
Pau Espin Pedrol | 96d64ef | 2020-04-20 12:16:23 +0200 | [diff] [blame] | 79 | %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 Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 88 | ) |
| 89 | |
| 90 | // Cells available for handover |
| 91 | meas_cell_list = |
| 92 | ( |
Pau Espin Pedrol | 96d64ef | 2020-04-20 12:16:23 +0200 | [diff] [blame] | 93 | %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 Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 105 | ); |
| 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 Pedrol | 96d64ef | 2020-04-20 12:16:23 +0200 | [diff] [blame] | 116 | %endfor |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 117 | ); |