Remove most of oaisim references: does not exist anymore
This commit is contained in:
@@ -164,9 +164,6 @@ clean_all_files() {
|
|||||||
set_openair_env
|
set_openair_env
|
||||||
dir=$OPENAIR_DIR/cmake_targets
|
dir=$OPENAIR_DIR/cmake_targets
|
||||||
rm -rf $dir/ran_build $dir/ran_build_noLOG
|
rm -rf $dir/ran_build $dir/ran_build_noLOG
|
||||||
rm -rf $dir/lte-simulators/build
|
|
||||||
rm -rf $dir/oaisim_build_oai/build $dir/oaisim_build_oai/CMakeLists.txt
|
|
||||||
rm -rf $dir/autotests/bin $dir/autotests/log $dir/autotests/*/build
|
|
||||||
}
|
}
|
||||||
|
|
||||||
############################################
|
############################################
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ Signals may have two types:
|
|||||||
- Variables to dump the state of a variable (range 0..2^64 - 1).
|
- Variables to dump the state of a variable (range 0..2^64 - 1).
|
||||||
- Functions to log function usage (implies two call to VCD API: IN and OUT)
|
- Functions to log function usage (implies two call to VCD API: IN and OUT)
|
||||||
|
|
||||||
This module is always built in, but is only used when -V oaisim option is added.
|
|
||||||
The VCD file generated is called openair_vcd_dump.vcd and is located in the execution folder.
|
The VCD file generated is called openair_vcd_dump.vcd and is located in the execution folder.
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
|
|||||||
@@ -56,9 +56,7 @@ softmodem to wait for a tracer. The default port is 2021.
|
|||||||
The option `--T_dont_fork` allows one to use gdb to debug problems
|
The option `--T_dont_fork` allows one to use gdb to debug problems
|
||||||
with the softmodem. Note that you then may have some "zombie"
|
with the softmodem. Note that you then may have some "zombie"
|
||||||
processes after crashes, in which case you can run
|
processes after crashes, in which case you can run
|
||||||
`sudo killall -9 lte-softmodem` to get rid of them (`lte-softmodem`
|
`sudo killall -9 lte-softmodem` to get rid of them.
|
||||||
to be replaced by the program you trace, like `lte-softmodem-nos1`
|
|
||||||
or `oaisim`).
|
|
||||||
|
|
||||||
The option `--T_stdout` also accepts values 0 (to disable output
|
The option `--T_stdout` also accepts values 0 (to disable output
|
||||||
on the terminal and only use the T tracer) and 1 (to disable
|
on the terminal and only use the T tracer) and 1 (to disable
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ to activate/deactivate specific traces):
|
|||||||
./record -d ../T_messages.txt -o record.raw -ON -off VCD -off HEAVY -off LEGACY_GROUP_TRACE -off LEGACY_GROUP_DEBUG
|
./record -d ../T_messages.txt -o record.raw -ON -off VCD -off HEAVY -off LEGACY_GROUP_TRACE -off LEGACY_GROUP_DEBUG
|
||||||
```
|
```
|
||||||
|
|
||||||
And then you run the program to trace (`lte-softmodem`, `oaisim`, whatever)
|
And then you run the program to trace (`lte-softmodem`, `nr-softmodem`, whatever)
|
||||||
as explained in [basic usage](./basic.md).
|
as explained in [basic usage](./basic.md).
|
||||||
|
|
||||||
To stop the recording, you simply press `control+c` to end `record`.
|
To stop the recording, you simply press `control+c` to end `record`.
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ First, read the [basic usage](./basic.md) to compile things.
|
|||||||
Then, read [record](./record.md) to know how to record a trace.
|
Then, read [record](./record.md) to know how to record a trace.
|
||||||
|
|
||||||
To replay, you use the `replay` program. It will act
|
To replay, you use the `replay` program. It will act
|
||||||
as a *tracee* (`lte-softmodem`, `oaisim`, etc.).
|
as a *tracee* (`lte-softmodem`, `nr-softmodem`, etc.).
|
||||||
|
|
||||||
Then you use your usual tracer, eg. `enb` or `textlog`.
|
Then you use your usual tracer, eg. `enb` or `textlog`.
|
||||||
|
|
||||||
|
|||||||
+3
-7
@@ -4,12 +4,8 @@
|
|||||||
Rather, you are probably looking for the
|
Rather, you are probably looking for the
|
||||||
[RFsimulator](../radio/rfsimulator/README.md)!**
|
[RFsimulator](../radio/rfsimulator/README.md)!**
|
||||||
|
|
||||||
oaisim has been scraped and replaced by the same programs that are used for the
|
`lte-softmodem` and `lte-uesoftmodem` can use the IF4p5 fronthaul protocol to
|
||||||
real-time operation, `lte-softmodem` and `lte-uesoftmodem`. This uses the IF4p5
|
communicate with each other.
|
||||||
fronthaul protocol to achieve the communication.
|
|
||||||
|
|
||||||
> Context: oaisim used to be a simulation mode inside OAI to emulate an eNB and
|
|
||||||
multiple UEs.
|
|
||||||
|
|
||||||
[[_TOC_]]
|
[[_TOC_]]
|
||||||
|
|
||||||
@@ -50,7 +46,7 @@ $ cd ../ran_build/build
|
|||||||
$ sudo ./lte-uesoftmodem -O XXX.conf -r 25 --siml1 --noS1
|
$ sudo ./lte-uesoftmodem -O XXX.conf -r 25 --siml1 --noS1
|
||||||
```
|
```
|
||||||
|
|
||||||
That should give you equivalent functionality to what you had with oaisim including noise and RF channel emulation (path loss / fading, etc.). You should also be able to run multiple UEs.
|
That should give you functionality to do noise and RF channel emulation (path loss / fading, etc.). You should also be able to run multiple UEs.
|
||||||
|
|
||||||
## How to ping an eNB from a UE and vice versa (with the noS1 option)
|
## How to ping an eNB from a UE and vice versa (with the noS1 option)
|
||||||
|
|
||||||
|
|||||||
@@ -393,7 +393,6 @@ static void _nas_clean(user_api_id_t *user_api_id, int net_fd)
|
|||||||
|
|
||||||
LOG_TRACE (INFO, "UE-MAIN - Perform EMM and ESM cleanup");
|
LOG_TRACE (INFO, "UE-MAIN - Perform EMM and ESM cleanup");
|
||||||
// FIXME nas_network_cleanup depends on nas_user_t
|
// FIXME nas_network_cleanup depends on nas_user_t
|
||||||
// Why this program should interfere like that with oaisim ?
|
|
||||||
//nas_network_cleanup ();
|
//nas_network_cleanup ();
|
||||||
|
|
||||||
LOG_TRACE (INFO, "UE-MAIN - "
|
LOG_TRACE (INFO, "UE-MAIN - "
|
||||||
|
|||||||
Reference in New Issue
Block a user