Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
c3931c9f
Commit
c3931c9f
authored
Jul 13, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/fixes-ci-ue' into integration_2023_w28
parents
a0c2c5d1
ec3acac9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
57 deletions
+5
-57
executables/nr-ue.c
executables/nr-ue.c
+0
-23
openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c
openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c
+5
-30
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
+0
-4
No files found.
executables/nr-ue.c
View file @
c3931c9f
...
@@ -874,16 +874,6 @@ void *UE_thread(void *arg) {
...
@@ -874,16 +874,6 @@ void *UE_thread(void *arg) {
curMsg
.
proc
.
rx_slot_type
=
nr_ue_slot_select
(
cfg
,
curMsg
.
proc
.
frame_rx
,
curMsg
.
proc
.
nr_slot_rx
);
curMsg
.
proc
.
rx_slot_type
=
nr_ue_slot_select
(
cfg
,
curMsg
.
proc
.
frame_rx
,
curMsg
.
proc
.
nr_slot_rx
);
curMsg
.
proc
.
tx_slot_type
=
nr_ue_slot_select
(
cfg
,
curMsg
.
proc
.
frame_tx
,
curMsg
.
proc
.
nr_slot_tx
);
curMsg
.
proc
.
tx_slot_type
=
nr_ue_slot_select
(
cfg
,
curMsg
.
proc
.
frame_tx
,
curMsg
.
proc
.
nr_slot_tx
);
curMsg
.
proc
.
decoded_frame_rx
=-
1
;
curMsg
.
proc
.
decoded_frame_rx
=-
1
;
//LOG_I(PHY,"Process slot %d total gain %d\n", slot_nr, UE->rx_total_gain_dB);
#ifdef OAI_ADRV9371_ZC706
/*uint32_t total_gain_dB_prev = 0;
if (total_gain_dB_prev != UE->rx_total_gain_dB) {
total_gain_dB_prev = UE->rx_total_gain_dB;
openair0_cfg[0].rx_gain[0] = UE->rx_total_gain_dB;
UE->rfdevice.trx_set_gains_func(&UE->rfdevice,&openair0_cfg[0]);
}*/
#endif
int
firstSymSamp
=
get_firstSymSamp
(
slot_nr
,
&
UE
->
frame_parms
);
int
firstSymSamp
=
get_firstSymSamp
(
slot_nr
,
&
UE
->
frame_parms
);
for
(
int
i
=
0
;
i
<
UE
->
frame_parms
.
nb_antennas_rx
;
i
++
)
for
(
int
i
=
0
;
i
<
UE
->
frame_parms
.
nb_antennas_rx
;
i
++
)
...
@@ -1008,16 +998,3 @@ void init_NR_UE_threads(int nb_inst) {
...
@@ -1008,16 +998,3 @@ void init_NR_UE_threads(int nb_inst) {
}
}
}
}
}
}
/* HACK: this function is needed to compile the UE
* fix it somehow
*/
int
find_dlsch
(
uint16_t
rnti
,
PHY_VARS_eNB
*
eNB
,
find_type_t
type
)
{
printf
(
"you cannot read this
\n
"
);
abort
();
}
void
multicast_link_write_sock
(
int
groupP
,
char
*
dataP
,
uint32_t
sizeP
)
{}
openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c
View file @
c3931c9f
...
@@ -423,13 +423,11 @@ int nr_initial_sync(UE_nr_rxtx_proc_t *proc,
...
@@ -423,13 +423,11 @@ int nr_initial_sync(UE_nr_rxtx_proc_t *proc,
}
}
LOG_I
(
PHY
,
#if defined(OAI_USRP) || defined(OAI_BLADERF) || defined(OAI_LMSSDR) || defined(OAI_ADRV9371_ZC706)
"[UE %d] Measured Carrier Frequency %.0f Hz (offset %d Hz)
\n
"
,
LOG_I
(
PHY
,
"[UE %d] Measured Carrier Frequency %.0f Hz (offset %d Hz)
\n
"
,
ue
->
Mod_id
,
ue
->
Mod_id
,
openair0_cfg
[
0
].
rx_freq
[
0
]
+
ue
->
common_vars
.
freq_offset
,
openair0_cfg
[
0
].
rx_freq
[
0
]
+
ue
->
common_vars
.
freq_offset
,
ue
->
common_vars
.
freq_offset
);
ue
->
common_vars
.
freq_offset
);
#endif
}
else
{
}
else
{
#ifdef DEBUG_INITIAL_SYNC
#ifdef DEBUG_INITIAL_SYNC
LOG_I
(
PHY
,
"[UE%d] Initial sync : PBCH not ok
\n
"
,
ue
->
Mod_id
);
LOG_I
(
PHY
,
"[UE%d] Initial sync : PBCH not ok
\n
"
,
ue
->
Mod_id
);
...
@@ -465,29 +463,6 @@ int nr_initial_sync(UE_nr_rxtx_proc_t *proc,
...
@@ -465,29 +463,6 @@ int nr_initial_sync(UE_nr_rxtx_proc_t *proc,
LOG_I
(
PHY
,
"[UE%d] Initial sync : Estimated power: %d dB
\n
"
,
ue
->
Mod_id
,
ue
->
measurements
.
rx_power_avg_dB
[
0
]
);
LOG_I
(
PHY
,
"[UE%d] Initial sync : Estimated power: %d dB
\n
"
,
ue
->
Mod_id
,
ue
->
measurements
.
rx_power_avg_dB
[
0
]
);
#endif
#endif
#ifndef OAI_USRP
#ifndef OAI_BLADERF
#ifndef OAI_LMSSDR
#ifndef OAI_ADRV9371_ZC706
//phy_adjust_gain(ue,ue->measurements.rx_power_avg_dB[0],0);
#endif
#endif
#endif
#endif
}
else
{
#ifndef OAI_USRP
#ifndef OAI_BLADERF
#ifndef OAI_LMSSDR
#ifndef OAI_ADRV9371_ZC706
//phy_adjust_gain(ue,dB_fixed(ue->measurements.rssi),0);
#endif
#endif
#endif
#endif
}
}
if
(
ue
->
target_Nid_cell
!=
-
1
)
{
if
(
ue
->
target_Nid_cell
!=
-
1
)
{
...
...
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
View file @
c3931c9f
...
@@ -74,10 +74,6 @@ fifo_dump_emos_UE emos_dump_UE;
...
@@ -74,10 +74,6 @@ fifo_dump_emos_UE emos_dump_UE;
#include "intertask_interface.h"
#include "intertask_interface.h"
#include "T.h"
#include "T.h"
#if defined(OAI_USRP) || defined(OAI_BLADERF) || defined(OAI_LMSSDR) || defined(OAI_ADRV9371_ZC706)
extern
uint64_t
downlink_frequency
[
MAX_NUM_CCs
][
4
];
#endif
unsigned
int
gain_table
[
31
]
=
{
100
,
112
,
126
,
141
,
158
,
178
,
200
,
224
,
251
,
282
,
316
,
359
,
398
,
447
,
501
,
562
,
631
,
708
,
794
,
891
,
1000
,
1122
,
1258
,
1412
,
1585
,
1778
,
1995
,
2239
,
2512
,
2818
,
3162
};
unsigned
int
gain_table
[
31
]
=
{
100
,
112
,
126
,
141
,
158
,
178
,
200
,
224
,
251
,
282
,
316
,
359
,
398
,
447
,
501
,
562
,
631
,
708
,
794
,
891
,
1000
,
1122
,
1258
,
1412
,
1585
,
1778
,
1995
,
2239
,
2512
,
2818
,
3162
};
void
nr_fill_dl_indication
(
nr_downlink_indication_t
*
dl_ind
,
void
nr_fill_dl_indication
(
nr_downlink_indication_t
*
dl_ind
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment