Skip to content

Commit c020f0a

Browse files
committed
ofh: update gnb config for the foxconn ru
1 parent 5b7f4e9 commit c020f0a

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

configs/gnb_ru_rpqn4800e_tdd_n78_20mhz.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,38 @@ ru_ofh:
1414
t1a_min_cp_ul: 250 # Minimum T1a on Control-Plane for Uplink in microseconds.
1515
t1a_max_up: 250 # Maximum T1a on User-Plane in microseconds.
1616
t1a_min_up: 80 # Minimum T1a on User-Plane in microseconds.
17-
is_prach_cp_enabled: false # Configures if Control-Plane messages should be used to receive PRACH messages.
17+
is_prach_cp_enabled: true # Configures if Control-Plane messages should be used to receive PRACH messages.
1818
compr_method_ul: bfp # Uplink compression method.
1919
compr_bitwidth_ul: 9 # Uplink IQ samples bitwidth after compression.
2020
compr_method_dl: bfp # Downlink compression method.
2121
compr_bitwidth_dl: 9 # Downlink IQ samples bitwidth after compression.
22-
iq_scaling: 0.002 # IQ samples scaling factor applied before compression, should be a positive value smaller than 1.
22+
compr_method_prach: bfp # PRACH compression method.
23+
compr_bitwidth_prach: 9 # PRACH IQ samples bitwidth after compression.
24+
enable_ul_static_compr_hdr: true # Configures if the compression header is present for uplink User-Plane messages (false) or not present (true).
25+
enable_dl_static_compr_hdr: true # Configures if the compression header is present for downlink User-Plane messages (false) or not present (true).
26+
iq_scaling: 0.025 # IQ samples scaling factor applied before compression, should be a positive value smaller than 1.
2327
cells:
2428
- network_interface: enp1s0f1 # Ethernet interface name used to communicate with the RU.
2529
ru_mac_addr: 6c:ad:ad:00:08:c4 # RU MAC address.
2630
du_mac_addr: 80:61:5f:0d:df:ab # DU MAC address.
2731
vlan_tag: 2 # VLAN tag value.
28-
prach_port_id: 4 # PRACH eAxC port value.
29-
dl_port_id: 0 # Downlink eAxC port values.
30-
ul_port_id: 0 # Uplink eAxC port values.
32+
prach_port_id: [4, 5, 6, 7] # PRACH eAxC port values.
33+
dl_port_id: [1] # Downlink eAxC port values.
34+
ul_port_id: [0, 1, 2, 3] # Uplink eAxC port values.
3135

3236
cell_cfg:
33-
dl_arfcn: 640000 # ARFCN of the downlink carrier (center frequency).
37+
dl_arfcn: 637336 # ARFCN of the downlink carrier (center frequency).
3438
band: 78 # The NR band.
3539
channel_bandwidth_MHz: 20 # Bandwith in MHz. Number of PRBs will be automatically derived.
3640
common_scs: 30 # Subcarrier spacing in kHz used for data.
3741
plmn: "00101" # PLMN broadcasted by the gNB.
3842
tac: 7 # Tracking area code (needs to match the core configuration).
3943
pci: 1 # Physical cell ID.
4044
prach:
41-
prach_config_index: 7 # PRACH configuration index.
45+
prach_config_index: 159 # PRACH configuration index.
4246
prach_root_sequence_index: 1 # PRACH root sequence index.
4347
zero_correlation_zone: 0 # Zero correlation zone.
44-
prach_frequency_start: 0 # Offset in PRBs of lowest PRACH transmission occasion in frequency domain respective to PRB 0.
48+
prach_frequency_start: 12 # Offset in PRBs of lowest PRACH transmission occasion in frequency domain respective to PRB 0.
4549

4650
log:
4751
filename: /tmp/gnb.log # Path of the log file.

lib/ofh/ofh_factories.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ static transmitter_config generate_transmitter_config(const sector_configuration
244244
tx_config.ru_working_bw = sector_cfg.ru_operating_bw;
245245
tx_config.ul_compr_params = sector_cfg.ul_compression_params;
246246
tx_config.dl_compr_params = sector_cfg.dl_compression_params;
247+
tx_config.prach_compr_params = sector_cfg.prach_compression_params;
247248
tx_config.is_downlink_static_comp_hdr_enabled = sector_cfg.is_downlink_static_comp_hdr_enabled;
248249

249250
tx_config.ru_working_bw = sector_cfg.ru_operating_bw;

0 commit comments

Comments
 (0)