mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-13 04:30:28 +00:00
Cleanup
This commit is contained in:
@@ -198,55 +198,9 @@ UE on machine 2:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
As of February 2020, all 5G NR development is part of the develop branch (the branch develop-nr is no longer maintained). This also means that all new development will be merged into there once it passes all the CI.
|
|
||||||
|
|
||||||
## NSA setup with COTS UE
|
|
||||||
|
|
||||||
This setup requires an EPC, an OAI eNB and gNB, and a COTS Phone. A dedicated page describe the setup can be found [here](https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/home/gNB-COTS-UE-testing).
|
|
||||||
|
|
||||||
### Launch gNB
|
|
||||||
|
|
||||||
```bash sudo ./nr-softmodem -O ../../../targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpn300.conf```
|
|
||||||
|
|
||||||
### Launch eNB
|
|
||||||
|
|
||||||
```bash sudo ./lte-softmodem -O ../../../targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.50PRB.usrpb210.conf```
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## phy-test setup with OAI UE
|
|
||||||
|
|
||||||
The OAI UE can also be used in front of a OAI gNB without the support of eNB or EPC. In this case both gNB and eNB need to be run with the --phy-test flag. At the gNB this flag does the following
|
|
||||||
- it reads the RRC configuration from the configuration file
|
|
||||||
- it encodes the RRCConfiguration and the RBconfig message and stores them in the binary files rbconfig.raw and reconfig.raw
|
|
||||||
- the MAC uses a pre-configured allocation of PDSCH and PUSCH with randomly generated payload
|
|
||||||
|
|
||||||
At the UE the --phy-test flag will
|
|
||||||
- read the binary files rbconfig.raw and reconfig.raw from the current directory (a different directory can be specified with the flag --rrc_config_path) and process them.
|
|
||||||
|
|
||||||
|
|
||||||
### Launch gNB
|
|
||||||
|
|
||||||
```bash sudo ./nr-softmodem -O ../../../targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpn300.conf --phy-test```
|
|
||||||
|
|
||||||
### Launch UE in another window
|
|
||||||
|
|
||||||
```bash sudo ./nr-uesoftmodem --phy-test [--rrc_config_path ../../../ci-scripts/rrc-files]```
|
|
||||||
|
|
||||||
Some other useful paramters of the UE are
|
|
||||||
|
|
||||||
- --ue-fo-compensation: enables the frequency offset compenstation at the UE. This is useful when running over the air and/or without an external clock/time source
|
|
||||||
- --usrp-args: this is the equivalend paramter of sdr_addrs field in the gNB config file and can be used to identify the USRP and set some basic paramters (like the clock source)
|
|
||||||
- --clock-source: sets the clock-source (internal or external).
|
|
||||||
- --time-source: sets the time-source (internal or external).
|
|
||||||
|
|
||||||
|
|
||||||
## noS1 setup with OAI UE
|
|
||||||
|
|
||||||
Instead of randomly generated payload, in the phy-test mode we can also inject/receive user-plane traffic over a TUN interface. This is the so-called noS1 mode.
|
|
||||||
|
|
||||||
This setup is described in the [rfsimulator page](../targets/ARCH/rfsimulator/README.md#5g-case). In theory this should also work with the real hardware target although this has yet to be tested.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[oai wiki home](https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/home)
|
[oai wiki home](https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/home)
|
||||||
|
|||||||
@@ -1,38 +1,2 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
### 14/06/20
|
|
||||||
* we are not clear on how the parameters are extracted from the config file
|
|
||||||
* in ssc struct
|
|
||||||
* for some values it is okay and for others it is zero (in `config_request`)
|
|
||||||
* This causes Assertion Failures leading to termination on PNF side.
|
|
||||||
|
|
||||||
### 15/06/20
|
|
||||||
* The values to config request are assigned in: `config_common()` in `config.c`
|
|
||||||
* need to add lines for `cfg->nfapi_config`
|
|
||||||
* the config request unpacked on pnf side still has some zero values, which causes assertional failure in from_nrarfcn()
|
|
||||||
|
|
||||||
### 16/06/20
|
|
||||||
* Config request is recived and unpacked correctly
|
|
||||||
* Regarding config response
|
|
||||||
* we are confused about its' struct definition
|
|
||||||
* it says list of TLVs in its entirety
|
|
||||||
* and we need to dyanmically insert the invalid TLVs after checking in a categorical fashion
|
|
||||||
* Need to think of a data structure to enable this feature.
|
|
||||||
```struct{
|
|
||||||
list of uint8_t tlvs
|
|
||||||
list of uint16_t tlvs
|
|
||||||
list of uint32_t tlvs
|
|
||||||
}list of tlvs
|
|
||||||
```
|
|
||||||
* Need the `N_RB` value to be non-zero and obtained from the config file. (carrier config grid size)
|
|
||||||
`int N_RB = gNB_config->carrier_config.dl_grid_size[gNB_config->ssb_config.scs_common.value].value;`
|
|
||||||
* how is this `gNB_config` assigned its values?
|
|
||||||
|
|
||||||
### 19/06/20
|
|
||||||
* `ret = openair0_device_load(&ru->rfdevice,&ru->openair0_cfg);` sloc: 1428 in `nr-ru.c`
|
|
||||||
* the `ru->rfdevice` has all members zero or null.
|
|
||||||
* This issue was solved by adding `sdr_addrs` to config file of PNF.
|
|
||||||
|
|
||||||
* `if (cfg->tdd_table.max_tdd_periodicity_list[nr_tti].max_num_of_symbol_per_slot_list[symbol_count].slot_config.value==1`
|
|
||||||
* throws segmentation error
|
|
||||||
* `max_tdd_periodicity_list` is not assigned memory
|
|
||||||
|
|||||||
29
nfapi/oai_integration/.vscode/launch.json
vendored
29
nfapi/oai_integration/.vscode/launch.json
vendored
@@ -1,29 +0,0 @@
|
|||||||
{
|
|
||||||
// Use IntelliSense to learn about possible attributes.
|
|
||||||
// Hover to view descriptions of existing attributes.
|
|
||||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
||||||
"version": "0.2.0",
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
"name": "gcc - Build and debug active file",
|
|
||||||
"type": "cppdbg",
|
|
||||||
"request": "launch",
|
|
||||||
"program": "${fileDirname}/${fileBasenameNoExtension}",
|
|
||||||
"args": [],
|
|
||||||
"stopAtEntry": false,
|
|
||||||
"cwd": "${workspaceFolder}",
|
|
||||||
"environment": [],
|
|
||||||
"externalConsole": false,
|
|
||||||
"MIMode": "gdb",
|
|
||||||
"setupCommands": [
|
|
||||||
{
|
|
||||||
"description": "Enable pretty-printing for gdb",
|
|
||||||
"text": "-enable-pretty-printing",
|
|
||||||
"ignoreFailures": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"preLaunchTask": "gcc build active file",
|
|
||||||
"miDebuggerPath": "/usr/bin/gdb"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
23
nfapi/oai_integration/.vscode/tasks.json
vendored
23
nfapi/oai_integration/.vscode/tasks.json
vendored
@@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
"version": "2.0.0",
|
|
||||||
"tasks": [
|
|
||||||
{
|
|
||||||
"type": "shell",
|
|
||||||
"label": "C/C++: gcc build active file",
|
|
||||||
"command": "/usr/bin/gcc",
|
|
||||||
"args": [
|
|
||||||
"-g",
|
|
||||||
"${file}",
|
|
||||||
"-o",
|
|
||||||
"${fileDirname}/${fileBasenameNoExtension}"
|
|
||||||
],
|
|
||||||
"options": {
|
|
||||||
"cwd": "/usr/bin"
|
|
||||||
},
|
|
||||||
"problemMatcher": [
|
|
||||||
"$gcc"
|
|
||||||
],
|
|
||||||
"group": "build"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user