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 | 4d35ea2 | 2020-04-01 12:39:27 +0200 | [diff] [blame] | 39 | 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 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 |
| 53 | subframe = [0]; |
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 | ( |
| 65 | { |
| 66 | // rf_port = 0; |
Pau Espin Pedrol | d2e5aa5 | 2020-03-09 11:40:51 +0100 | [diff] [blame] | 67 | cell_id = 0x01; |
| 68 | tac = 0x0001; |
| 69 | pci = 1; |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 70 | // root_seq_idx = 204; |
Andre Puschmann | 3ffea80 | 2020-03-24 12:09:25 +0100 | [diff] [blame] | 71 | dl_earfcn = 2850; |
| 72 | //ul_earfcn = 20850; |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 73 | 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 Puschmann | 82b8890 | 2020-03-24 10:04:48 +0100 | [diff] [blame] | 99 | % 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 Puschmann | 3ffea80 | 2020-03-24 12:09:25 +0100 | [diff] [blame] | 107 | dl_earfcn = 3050; |
| 108 | //ul_earfcn = 21050; |
Andre Puschmann | 82b8890 | 2020-03-24 10:04:48 +0100 | [diff] [blame] | 109 | 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 Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 136 | // Add here more cells |
| 137 | ); |