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 | 52fb33c | 2020-09-04 14:37:37 +0200 | [diff] [blame] | 39 | //subframe = [1, 11]; // 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) |
Andre Puschmann | 4d35ea2 | 2020-04-01 12:39:27 +0200 | [diff] [blame] | 42 | nof_prb = 1; |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 43 | }; |
| 44 | cqi_report_cnfg = |
Andre Puschmann | 4d35ea2 | 2020-04-01 12:39:27 +0200 | [diff] [blame] | 45 | { |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 46 | mode = "periodic"; |
Andre Puschmann | 4d35ea2 | 2020-04-01 12:39:27 +0200 | [diff] [blame] | 47 | simultaneousAckCQI = true; |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 48 | period = 40; // in ms |
Andre Puschmann | 52fb33c | 2020-09-04 14:37:37 +0200 | [diff] [blame] | 49 | //subframe = [0, 10, 20, 30]; |
Andre Puschmann | 4d35ea2 | 2020-04-01 12:39:27 +0200 | [diff] [blame] | 50 | nof_prb = 1; |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 51 | m_ri = 8; // RI period in CQI period |
| 52 | }; |
| 53 | }; |
| 54 | |
| 55 | cell_list = |
| 56 | ( |
Pau Espin Pedrol | 96d64ef | 2020-04-20 12:16:23 +0200 | [diff] [blame] | 57 | %for cell in enb.cell_list: |
| 58 | ${',' if loop.index != 0 else ''} |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 59 | { |
Andre Puschmann | 549826d | 2020-04-21 21:14:30 +0200 | [diff] [blame] | 60 | rf_port = ${cell.rf_port}; |
Pau Espin Pedrol | 96d64ef | 2020-04-20 12:16:23 +0200 | [diff] [blame] | 61 | cell_id = ${cell.cell_id}; |
Andre Puschmann | a7fd394 | 2020-11-06 16:24:38 +0100 | [diff] [blame] | 62 | tac = ${cell.tac}; |
| 63 | pci = ${cell.pci}; |
| 64 | root_seq_idx = ${cell.root_seq_idx}; |
Pau Espin Pedrol | 96d64ef | 2020-04-20 12:16:23 +0200 | [diff] [blame] | 65 | dl_earfcn = ${cell.dl_earfcn}; |
Andre Puschmann | 3ffea80 | 2020-03-24 12:09:25 +0100 | [diff] [blame] | 66 | //ul_earfcn = 20850; |
Pau Espin Pedrol | 10c64fe | 2020-10-09 15:58:42 +0200 | [diff] [blame] | 67 | ho_active = true; |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 68 | |
| 69 | // CA cells |
| 70 | scell_list = ( |
Pau Espin Pedrol | 96d64ef | 2020-04-20 12:16:23 +0200 | [diff] [blame] | 71 | %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 Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 80 | ) |
| 81 | |
| 82 | // Cells available for handover |
| 83 | meas_cell_list = |
| 84 | ( |
Pau Espin Pedrol | ef7256a | 2020-11-09 18:52:05 +0100 | [diff] [blame] | 85 | %for ncell in cell.ncell_list: |
| 86 | ${',' if loop.index != 0 else ''} |
Pau Espin Pedrol | 96d64ef | 2020-04-20 12:16:23 +0200 | [diff] [blame] | 87 | { |
Pau Espin Pedrol | ef7256a | 2020-11-09 18:52:05 +0100 | [diff] [blame] | 88 | eci = ${hex((int(ncell.enb_id)<<8) + int(ncell.cell_id))}; |
Pau Espin Pedrol | 96d64ef | 2020-04-20 12:16:23 +0200 | [diff] [blame] | 89 | dl_earfcn = ${ncell.dl_earfcn}; |
| 90 | pci = ${ncell.pci}; |
| 91 | } |
Pau Espin Pedrol | 96d64ef | 2020-04-20 12:16:23 +0200 | [diff] [blame] | 92 | %endfor |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 93 | ); |
| 94 | |
| 95 | // ReportCfg (only A3 supported) |
| 96 | meas_report_desc = { |
| 97 | a3_report_type = "RSRP"; |
| 98 | a3_offset = 6; |
| 99 | a3_hysteresis = 0; |
| 100 | a3_time_to_trigger = 480; |
| 101 | rsrq_config = 4; |
| 102 | }; |
| 103 | } |
Pau Espin Pedrol | 96d64ef | 2020-04-20 12:16:23 +0200 | [diff] [blame] | 104 | %endfor |
Pau Espin Pedrol | c8b0f93 | 2020-02-11 17:45:26 +0100 | [diff] [blame] | 105 | ); |