TESTING_GNB_W_COTS_UE.md 2.64 KB
Newer Older
Remi Hardy's avatar
Remi Hardy committed
1 2
DISCLAIMER : This page is under complete review and update, thanks for your patience

Remi Hardy's avatar
Remi Hardy committed
3 4 5 6 7 8 9
## Configuration Overview:

* Non Standalone (NSA) configuration  : initial Control Plane established between UE and RAN eNB, then User Plane established between UE and gNB, Core network is 4G based supporting rel 15

* Commercial UE: Oppo Reno 5G
* OAI Software Defined gNB and eNB
* eNB RF front end: USRP (ETTUS) B200 Mini or B210
Remi Hardy's avatar
Remi Hardy committed
10
* gNB RF front end: USRP (ETTUS) B200 Mini or B210 (N310 will be needed for MIMO and wider BW's)
Remi Hardy's avatar
Remi Hardy committed
11 12 13 14 15 16 17 18 19 20 21
* 5G TDD duplexing mode
* 5G FR1 Band n78 (3.5 GHz)
* BW: 40MHz
* Antenna scheme: SISO

## SW Repository / Branch

https://gitlab.eurecom.fr/oai/openairinterface5g/tree/develop

## Architecture Setup

Remi Hardy's avatar
Remi Hardy committed
22
The scheme below depicts our typical setup:
Remi Hardy's avatar
Remi Hardy committed
23

Remi Hardy's avatar
Remi Hardy committed
24
![image info](./testing_gnb_w_cots_ue_resources/oai_fr1_setup.jpg)
Remi Hardy's avatar
Remi Hardy committed
25 26


Remi Hardy's avatar
Remi Hardy committed
27
## Build / Install
Remi Hardy's avatar
Remi Hardy committed
28 29 30 31

General guidelines for building :
See https://gitlab.eurecom.fr/oai/openairinterface5g/blob/develop/doc/BUILD.md#building-ues-enodeb-and-gnodeb-executables

Remi Hardy's avatar
Remi Hardy committed
32
- **EPC**
Remi Hardy's avatar
Remi Hardy committed
33 34 35 36

for reference:
https://github.com/OPENAIRINTERFACE/openair-epc-fed/blob/master-documentation/docs/DEPLOY_HOME.md

Remi Hardy's avatar
Remi Hardy committed
37

Remi Hardy's avatar
Remi Hardy committed
38
```
Remi Hardy's avatar
Remi Hardy committed
39
sudo 
Remi Hardy's avatar
Remi Hardy committed
40 41
```

Remi Hardy's avatar
Remi Hardy committed
42
- **eNB**
Remi Hardy's avatar
Remi Hardy committed
43 44

```
Remi Hardy's avatar
Remi Hardy committed
45
sudo 
Remi Hardy's avatar
Remi Hardy committed
46 47
```

Remi Hardy's avatar
Remi Hardy committed
48
- **gNB**
Remi Hardy's avatar
Remi Hardy committed
49 50

```
Remi Hardy's avatar
Remi Hardy committed
51
sudo 
Remi Hardy's avatar
Remi Hardy committed
52 53
```

Remi Hardy's avatar
Remi Hardy committed
54 55
## Conf Files

Remi Hardy's avatar
Remi Hardy committed
56 57
where are the config files located
how to use them
Remi Hardy's avatar
Remi Hardy committed
58 59

## Run / Test
Remi Hardy's avatar
Remi Hardy committed
60

Remi Hardy's avatar
Remi Hardy committed
61 62

- **EPC** (on EPC host):
Remi Hardy's avatar
Remi Hardy committed
63 64

```
Remi Hardy's avatar
Remi Hardy committed
65
sudo 
Remi Hardy's avatar
Remi Hardy committed
66 67 68 69 70 71 72
```

Open another window and:

```
sudo bash
cd /opt/ltebox/tools
Remi Hardy's avatar
Remi Hardy committed
73

Remi Hardy's avatar
Remi Hardy committed
74 75 76 77 78
```

Note: when terminated the testing session, you shall stop the EPC by "./stop_ltebox"


Remi Hardy's avatar
Remi Hardy committed
79
- **eNB** (on the eNB host):
Remi Hardy's avatar
Remi Hardy committed
80 81 82 83 84 85 86

~/openairinterface5g/cmake_targets/ran_build/build$ sudo ./lte-softmodem -O ../../../targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.50PRB.usrpb210.conf (-E)


eNB is using branch NR_RRCConfiguration patched with enb.diff


Remi Hardy's avatar
Remi Hardy committed
87
- **gNB** (on the gNB host)
Remi Hardy's avatar
Remi Hardy committed
88 89 90 91 92 93

~/openairinterface5g/cmake_targets/ran_build/build$ sudo ./nr-softmodem -O ../../../targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpn300.conf (-E)

Note: gNB is using branch NR_RRC_PRACH_procedures patched with gnb.diff


Remi Hardy's avatar
Remi Hardy committed
94 95
## Test Case

Remi Hardy's avatar
Remi Hardy committed
96
Test case description  : UE attachement
Remi Hardy's avatar
Remi Hardy committed
97 98 99

## Expected Logs to check

Remi Hardy's avatar
Remi Hardy committed
100
what logs and where to check, to ensure that your setup works fine
Remi Hardy's avatar
Remi Hardy committed
101 102 103

## Required traces for debug

Remi Hardy's avatar
Remi Hardy committed
104
What info/traces/logs are needed for us to support the debug
Remi Hardy's avatar
Remi Hardy committed
105 106

## Status of the interoperability
Remi Hardy's avatar
Remi Hardy committed
107 108 109 110 111 112 113 114 115 116
- setup of the CP in 4G
- setup of the measurements in 5G
- Random access procedure initiation by the UE in the 5G cell
- msg1, msg2, msg3 correctly exchanged and decoded


[enb.conf](uploads/48bbbcc8016a33ce6d2faf62e3845005/enb.conf)
[enb.diff](uploads/9763bd6d18256612d007251bc371ca46/enb.diff)
[gnb.conf](uploads/59ae03deccb2186f544451034c297838/gnb.conf)
[gnb.diff](uploads/bb756b2b165cb70f89405d7a8c4c36a8/gnb.diff)