UE cmd line info: print threequarter-sampling param if used, add doc
This commit is contained in:
+4
-1
@@ -103,12 +103,15 @@ Command line parameters for UE in `--sa` mode:
|
||||
- `--ssb` : SSB start subcarrier (default value 516)
|
||||
|
||||
**Optional parameters**:
|
||||
- `-E`: use three-quarter sampling for split 8 sample rate. Required for
|
||||
certain radios (e.g., 40MHz with B210). If used on the gNB, it is a good idea
|
||||
to use for the UE as well (and vice versa).
|
||||
- `--ue-scan-carrier` : scan for cells in current bandwidth. This option can be used if the SSB position of the gNB is unknown. If multiple cells are detected, the UE will try to connect to the first cell. By default, this option is disabled and the UE attempts to only decode SSB given by `--ssb`.
|
||||
|
||||
To simplify the configuration for the user testing OAI UE with OAI gNB, the latter prints the following LOG that guides the user to correctly set some of the UE command line parameters.
|
||||
|
||||
```
|
||||
[PHY] Command line parameters for the UE: -C 3319680000 -r 106 --numerology 1 --ssb 516
|
||||
[PHY] Command line parameters for OAI UE: -C 3319680000 -r 106 --numerology 1 --ssb 516
|
||||
```
|
||||
|
||||
You can run this, using USRPs, on two separate machines:
|
||||
|
||||
@@ -81,19 +81,21 @@ void nr_common_signal_procedures(PHY_VARS_gNB *gNB,int frame,int slot, nfapi_nr_
|
||||
fp->print_ue_help_cmdline_log = false;
|
||||
if (fp->dl_CarrierFreq != fp->ul_CarrierFreq)
|
||||
LOG_A(PHY,
|
||||
"Command line parameters for the UE: -C %lu --CO %ld -r %d --numerology %d --ssb %d\n",
|
||||
"Command line parameters for OAI UE: -C %lu --CO %ld -r %d --numerology %d --ssb %d %s\n",
|
||||
fp->dl_CarrierFreq,
|
||||
fp->ul_CarrierFreq - fp->dl_CarrierFreq,
|
||||
fp->N_RB_DL,
|
||||
scs,
|
||||
fp->ssb_start_subcarrier);
|
||||
fp->ssb_start_subcarrier,
|
||||
fp->threequarter_fs ? "-E" : "");
|
||||
else
|
||||
LOG_A(PHY,
|
||||
"Command line parameters for the UE: -C %lu -r %d --numerology %d --ssb %d\n",
|
||||
"Command line parameters for OAI UE: -C %lu -r %d --numerology %d --ssb %d %s\n",
|
||||
fp->dl_CarrierFreq,
|
||||
fp->N_RB_DL,
|
||||
scs,
|
||||
fp->ssb_start_subcarrier);
|
||||
fp->ssb_start_subcarrier,
|
||||
fp->threequarter_fs ? "-E" : "");
|
||||
}
|
||||
LOG_D(PHY,
|
||||
"ssbOffsetPointA %d SSB SsbSubcarrierOffset %d prb_offset %d sc_offset %d scs %d ssb_start_subcarrier %d\n",
|
||||
|
||||
Reference in New Issue
Block a user