Skip to content

Commit dc38f1e

Browse files
andrepuschmanncodebot
authored andcommitted
gnb: add basic config files
one tdd for the b200 one fdd for the n310
1 parent 4ee1e91 commit dc38f1e

File tree

2 files changed

+62
-0
lines changed

2 files changed

+62
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
amf:
2+
addr: 127.0.1.100 # The address or hostname of the AMF.
3+
bind_addr: 127.0.0.1 # A local IP that the gNB binds to for traffic from the AMF.
4+
5+
rf_driver:
6+
device_driver: uhd # The RF driver name.
7+
device_args: type=b200 # Optionally pass arguments to the selected RF driver.
8+
clock: # Specify the clock source used by the RF.
9+
sync: # Specify the sync source used by the RF.
10+
srate: 11.52 # RF sample rate might need to be adjusted according to selected bandwidth.
11+
tx_gain: 50 # Transmit gain of the RF might need to adjusted to the given situation.
12+
rx_gain: 60 # Receive gain of the RF might need to adjusted to the given situation.
13+
14+
common_cell:
15+
dl_arfcn: 632628 # ARFCN of the downlink carrier (center frequency).
16+
band: 78 # The NR band.
17+
channel_bandwidth_MHz: 10 # Bandwith in MHz. Number of PRBs will be automatically derived.
18+
common_scs: 30 # Subcarrier spacing in kHz used for data.
19+
plmn: "00101" # PLMN broadcasted by the gNB.
20+
tac: 7 # Tracking area code (needs to match the core configuration).
21+
pci: 1 # Physical cell ID.
22+
23+
log:
24+
filename: /tmp/gnb.log # Path of the log file.
25+
all_level: warning # Logging level applied to all layers.
26+
27+
pcap:
28+
mac_enable: false # Set to true to enable MAC-layer PCAPs.
29+
mac_filename: /tmp/gnb_mac.pcap # Path where the MAC PCAP is stored.
30+
ngap_enable: false # Set to true to enable NGAP PCAPs.
31+
ngap_filename: /tmp/gnb_ngap.pcap # Path where the NGAP PCAP is stored.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
amf:
2+
addr: 127.0.1.100 # The address or hostname of the AMF.
3+
bind_addr: 127.0.0.1 # A local IP that the gNB binds to for traffic from the AMF.
4+
5+
rf_driver:
6+
device_driver: uhd # The RF driver name.
7+
device_args: type=n3xx # Optionally pass arguments to the selected RF driver.
8+
clock: gpsdo # Specify the clock source used by the RF.
9+
sync: gpsdo # Specify the sync source used by the RF.
10+
srate: 30.72 # RF sample rate might need to be adjusted according to selected bandwidth.
11+
tx_gain: 35 # Transmit gain of the RF might need to adjusted to the given situation.
12+
rx_gain: 60 # Receive gain of the RF might need to adjusted to the given situation.
13+
14+
common_cell:
15+
dl_arfcn: 368640 # ARFCN of the downlink carrier (center frequency).
16+
band: 3 # The NR band.
17+
channel_bandwidth_MHz: 20 # Bandwith in MHz. Number of PRBs will be automatically derived.
18+
common_scs: 15 # Subcarrier spacing in kHz used for data.
19+
plmn: "00101" # PLMN broadcasted by the gNB.
20+
tac: 7 # Tracking area code (needs to match the core configuration).
21+
pci: 1 # Physical cell ID.
22+
23+
log:
24+
filename: /tmp/gnb.log # Path of the log file.
25+
all_level: warning # Logging level applied to all layers.
26+
27+
pcap:
28+
mac_enable: false # Set to true to enable MAC-layer PCAPs.
29+
mac_filename: /tmp/gnb_mac.pcap # Path where the MAC PCAP is stored.
30+
ngap_enable: false # Set to true to enable NGAP PCAPs.
31+
ngap_filename: /tmp/gnb_ngap.pcap # Path where the NGAP PCAP is stored.

0 commit comments

Comments
 (0)