From 71d91b0542a496d3f2b0641fbfbc3d334ea57b1c Mon Sep 17 00:00:00 2001
From: Romain Beurdouche <romain.beurdouche@eurecom.fr>
Date: Tue, 19 Nov 2024 09:11:02 +0100
Subject: [PATCH] Add notes around sample SA gNB and nrUE commands in most
 basic tutorials 'NR_SA_Tutorial_COTS_UE.md' and 'NR_SA_Tutorial_OAI_nrUE.md'.
 The notes mention that for versions previous to 2024.w45, the --sa argument
 should be added to run in SA mode.

---
 doc/NR_SA_Tutorial_COTS_UE.md  |  4 ++++
 doc/NR_SA_Tutorial_OAI_nrUE.md | 13 +++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/doc/NR_SA_Tutorial_COTS_UE.md b/doc/NR_SA_Tutorial_COTS_UE.md
index 41bce3ecf28..14012339ab9 100644
--- a/doc/NR_SA_Tutorial_COTS_UE.md
+++ b/doc/NR_SA_Tutorial_COTS_UE.md
@@ -103,6 +103,10 @@ docker compose up -d
 
 ## 4.2 Run OAI gNB
 
+**Note:** From tag `2024.w45`, OAI gNB runs by default in standalone (SA) mode.  
+In earlier versions the default mode was non-standalone (NSA).  
+If you are using an earlier version than `2024.w45`, you should add the `--sa` argument to the sample commands below to obtain a correct behavior.
+
 ### USRP B210
 ```bash
 cd ~/openairinterface5g/cmake_targets/ran_build/build
diff --git a/doc/NR_SA_Tutorial_OAI_nrUE.md b/doc/NR_SA_Tutorial_OAI_nrUE.md
index 34f36c6bf6d..70a981174c3 100644
--- a/doc/NR_SA_Tutorial_OAI_nrUE.md
+++ b/doc/NR_SA_Tutorial_OAI_nrUE.md
@@ -94,6 +94,10 @@ docker compose up -d
 
 ## 4.2 Run OAI gNB
 
+**Note:** From tag `2024.w45`, OAI gNB runs by default in standalone (SA) mode.  
+In earlier versions the default mode was non-standalone (NSA).  
+If you are using an earlier version than `2024.w45`, you should add the `--sa` argument to the sample commands below to obtain a correct behavior.
+
 ### USRP B210
 ```bash
 cd ~/openairinterface5g/cmake_targets/ran_build/build
@@ -126,6 +130,11 @@ sudo ./nr-softmodem -O ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band
 # 5. OAI UE
 
 ## 5.1 Run OAI nrUE
+
+**Note:** From tag `2024.w45`, OAI nrUE runs by default in standalone (SA) mode.  
+In earlier versions the default mode was non-standalone (NSA).  
+If you are using an earlier version than `2024.w45`, you should add the `--sa` argument to the sample commands below to obtain a correct behavior.
+
 ### USRP B210
 Important notes:
 - This should be run in a second Ubuntu 22.04 host, other than gNB
@@ -194,6 +203,10 @@ The CL option `--uicc0.imsi`  can override the IMSI value in the configuration f
 
 More details available at [ci-scripts/yaml_files/5g_rfsimulator/README.md](../ci-scripts/yaml_files/5g_rfsimulator/README.md).
 
+**Note:** From tag `2024.w45`, OAI nrUE runs by default in standalone (SA) mode.  
+In earlier versions the default mode was non-standalone (NSA).  
+If you are using an earlier version than `2024.w45`, you should add the `--sa` argument to the sample commands above to obtain a correct behavior.
+
 ## 5.2 End-to-end connectivity test
 - Ping test from the UE host to the CN5G
 ```bash
-- 
GitLab