... | ... | @@ -18,6 +18,9 @@ |
|
|
2. [Prepare the EPC](#2-prepare-the-epc)
|
|
|
3. [Retrieve the OAI eNB-UE source code](#3-retrieve-the-oai-enb-ue-source-code)
|
|
|
4. [Setup of the USIM information in UE folder](#4-setup-of-the-usim-information-in-ue-folder)
|
|
|
5. [Setup of the Configuration files](#5-setup-of-the-configuration-files)
|
|
|
1. [The eNB Configuration file](#51-the-enb-configuration-file)
|
|
|
2. [The UE Configuration file](#52-the-ue-configuration-file)
|
|
|
|
|
|
# 1. Environment #
|
|
|
|
... | ... | @@ -65,7 +68,7 @@ Edit the USIM information within this file in order to match the HSS database. T |
|
|
* OPC of this file and OPC of users table of HSS database **SHALL** be the same.
|
|
|
* USIM_API_K of this file and the key of users table of HSS database **SHALL** be the same.
|
|
|
|
|
|
When testing multiple UEs, it is necessary to add other UEs information like described below. Only UE0 (first UE) information is written in the original file.
|
|
|
When testing multiple UEs, it is necessary to add other UEs information like described below for 2 Users. Only UE0 (first UE) information is written in the original file.
|
|
|
|
|
|
```
|
|
|
UE0:
|
... | ... | @@ -85,7 +88,8 @@ UE0: |
|
|
};
|
|
|
...
|
|
|
};
|
|
|
UE1:
|
|
|
// Copy the UE0 and edit
|
|
|
UE1: // <- Edit here
|
|
|
{
|
|
|
USER: {
|
|
|
IMEI="356113022094149";
|
... | ... | @@ -101,7 +105,104 @@ UE1: |
|
|
MSISDN="33611123456";
|
|
|
};
|
|
|
...
|
|
|
}
|
|
|
};
|
|
|
```
|
|
|
|
|
|
You can repeat the operation for as many users you want to test with.
|
|
|
|
|
|
# 5. Setup of the Configuration files #
|
|
|
|
|
|
## 5.1. The eNB Configuration file ##
|
|
|
|
|
|
```bash
|
|
|
$ ssh sudousername@machineA
|
|
|
$ cd enb_folder
|
|
|
# Edit ci-scripts/conf_files/rcc.band7.tm1.nfapi.conf with your preferred editor
|
|
|
```
|
|
|
|
|
|
First verify the nFAPI interface setup on the 2nd loopback interface.
|
|
|
|
|
|
```
|
|
|
MACRLCs = (
|
|
|
{
|
|
|
num_cc = 1;
|
|
|
local_s_if_name = "lo:"; // <-- HERE
|
|
|
remote_s_address = "127.0.0.1"; // <-- HERE
|
|
|
local_s_address = "127.0.0.2"; // <-- HERE
|
|
|
local_s_portc = 50001;
|
|
|
remote_s_portc = 50000;
|
|
|
local_s_portd = 50011;
|
|
|
remote_s_portd = 50010;
|
|
|
tr_s_preference = "nfapi";
|
|
|
tr_n_preference = "local_RRC";
|
|
|
}
|
|
|
);
|
|
|
```
|
|
|
|
|
|
If you are testing more than 16 UEs, a proper setting on the RUs is necessary. **Note that this part is NOT present in the original configuration file**.
|
|
|
|
|
|
```
|
|
|
RUs = (
|
|
|
{
|
|
|
local_rf = "yes"
|
|
|
nb_tx = 1
|
|
|
nb_rx = 1
|
|
|
att_tx = 20
|
|
|
att_rx = 0;
|
|
|
bands = [38];
|
|
|
max_pdschReferenceSignalPower = -23;
|
|
|
max_rxgain = 116;
|
|
|
eNB_instances = [0];
|
|
|
}
|
|
|
);
|
|
|
```
|
|
|
|
|
|
Last, the S1 interface shall be properly set.
|
|
|
|
|
|
```
|
|
|
////////// MME parameters:
|
|
|
mme_ip_address = ( { ipv4 = "CI_MME_IP_ADDR"; // replace with 192.168.10.20
|
|
|
ipv6 = "192:168:30::17";
|
|
|
active = "yes";
|
|
|
preference = "ipv4";
|
|
|
}
|
|
|
);
|
|
|
|
|
|
NETWORK_INTERFACES :
|
|
|
{
|
|
|
ENB_INTERFACE_NAME_FOR_S1_MME = "ens3"; // replace with the proper interface name
|
|
|
ENB_IPV4_ADDRESS_FOR_S1_MME = "CI_ENB_IP_ADDR"; // replace with 192.168.10.10
|
|
|
ENB_INTERFACE_NAME_FOR_S1U = "ens3"; // replace with the proper interface name
|
|
|
ENB_IPV4_ADDRESS_FOR_S1U = "CI_ENB_IP_ADDR"; // replace with 192.168.10.10
|
|
|
ENB_PORT_FOR_S1U = 2152; # Spec 2152
|
|
|
ENB_IPV4_ADDRESS_FOR_X2C = "CI_ENB_IP_ADDR"; // replace with 192.168.10.10
|
|
|
ENB_PORT_FOR_X2C = 36422; # Spec 36422
|
|
|
|
|
|
};
|
|
|
|
|
|
## 5.2. The UE Configuration file ##
|
|
|
|
|
|
```bash
|
|
|
$ ssh sudousername@machineA
|
|
|
$ cd enb_folder
|
|
|
# Edit ci-scripts/conf_files/ue.nfapi.conf with your preferred editor
|
|
|
```
|
|
|
|
|
|
Verify the nFAPI interface setup on the loopback interface.
|
|
|
|
|
|
```
|
|
|
L1s = (
|
|
|
{
|
|
|
num_cc = 1;
|
|
|
tr_n_preference = "nfapi";
|
|
|
local_n_if_name = "lo"; // <- HERE
|
|
|
remote_n_address = "127.0.0.2"; // <- HERE
|
|
|
local_n_address = "127.0.0.1"; // <- HERE
|
|
|
local_n_portc = 50000;
|
|
|
remote_n_portc = 50001;
|
|
|
local_n_portd = 50010;
|
|
|
remote_n_portd = 50011;
|
|
|
}
|
|
|
);
|
|
|
```
|
|
|
|
|
|
``` |
|
|
\ No newline at end of file |