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
wangjie
OpenXG-RAN
Commits
33dc5772
Commit
33dc5772
authored
Dec 09, 2020
by
cig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleaning up references to LTE in some NR UE functions
- replaced eNB naming with gNB
parent
d23a7e83
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
432 additions
and
427 deletions
+432
-427
openair1/PHY/INIT/nr_init_ue.c
openair1/PHY/INIT/nr_init_ue.c
+101
-101
openair1/PHY/NR_UE_ESTIMATION/nr_ue_measurements.c
openair1/PHY/NR_UE_ESTIMATION/nr_ue_measurements.c
+4
-4
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
+322
-317
openair1/PHY/defs_nr_UE.h
openair1/PHY/defs_nr_UE.h
+2
-2
openair1/SCHED_NR_UE/pucch_uci_ue_nr.c
openair1/SCHED_NR_UE/pucch_uci_ue_nr.c
+1
-1
openair1/SIMULATION/NR_UE_PHY/unit_tests/src/pucch_uci_test.c
...air1/SIMULATION/NR_UE_PHY/unit_tests/src/pucch_uci_test.c
+2
-2
No files found.
openair1/PHY/INIT/nr_init_ue.c
View file @
33dc5772
This diff is collapsed.
Click to expand it.
openair1/PHY/NR_UE_ESTIMATION/nr_ue_measurements.c
View file @
33dc5772
...
...
@@ -108,7 +108,7 @@ void nr_ue_measurements(PHY_VARS_NR_UE *ue,
ue
->
measurements
.
nb_antennas_rx
=
frame_parms
->
nb_antennas_rx
;
// signal measurements
for
(
gNB_id
=
0
;
gNB_id
<
ue
->
n_connected_
e
NB
;
gNB_id
++
){
for
(
gNB_id
=
0
;
gNB_id
<
ue
->
n_connected_
g
NB
;
gNB_id
++
){
ue
->
measurements
.
rx_power_tot
[
gNB_id
]
=
0
;
...
...
@@ -140,7 +140,7 @@ void nr_ue_measurements(PHY_VARS_NR_UE *ue,
// filter to remove jitter
if
(
ue
->
init_averaging
==
0
)
{
for
(
gNB_id
=
0
;
gNB_id
<
ue
->
n_connected_
e
NB
;
gNB_id
++
)
for
(
gNB_id
=
0
;
gNB_id
<
ue
->
n_connected_
g
NB
;
gNB_id
++
)
ue
->
measurements
.
rx_power_avg
[
gNB_id
]
=
(
int
)(((
k1
*
((
long
long
int
)(
ue
->
measurements
.
rx_power_avg
[
gNB_id
])))
+
(
k2
*
((
long
long
int
)(
ue
->
measurements
.
rx_power_tot
[
gNB_id
]))))
>>
10
);
ue
->
measurements
.
n0_power_avg
=
(
int
)(((
k1
*
((
long
long
int
)
(
ue
->
measurements
.
n0_power_avg
)))
+
(
k2
*
((
long
long
int
)
(
ue
->
measurements
.
n0_power_tot
))))
>>
10
);
...
...
@@ -149,7 +149,7 @@ void nr_ue_measurements(PHY_VARS_NR_UE *ue,
}
else
{
for
(
gNB_id
=
0
;
gNB_id
<
ue
->
n_connected_
e
NB
;
gNB_id
++
)
for
(
gNB_id
=
0
;
gNB_id
<
ue
->
n_connected_
g
NB
;
gNB_id
++
)
ue
->
measurements
.
rx_power_avg
[
gNB_id
]
=
ue
->
measurements
.
rx_power_tot
[
gNB_id
];
ue
->
measurements
.
n0_power_avg
=
ue
->
measurements
.
n0_power_tot
;
...
...
@@ -157,7 +157,7 @@ void nr_ue_measurements(PHY_VARS_NR_UE *ue,
}
for
(
gNB_id
=
0
;
gNB_id
<
ue
->
n_connected_
e
NB
;
gNB_id
++
)
{
for
(
gNB_id
=
0
;
gNB_id
<
ue
->
n_connected_
g
NB
;
gNB_id
++
)
{
ue
->
measurements
.
rx_power_avg_dB
[
gNB_id
]
=
dB_fixed
(
ue
->
measurements
.
rx_power_avg
[
gNB_id
]);
ue
->
measurements
.
wideband_cqi_tot
[
gNB_id
]
=
dB_fixed2
(
ue
->
measurements
.
rx_power_tot
[
gNB_id
],
ue
->
measurements
.
n0_power_tot
);
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
View file @
33dc5772
This diff is collapsed.
Click to expand it.
openair1/PHY/defs_nr_UE.h
View file @
33dc5772
...
...
@@ -832,8 +832,8 @@ typedef struct {
int
tx_total_RE
[
NR_MAX_SLOTS_PER_FRAME
];
/// \brief Maximum transmit power
int8_t
tx_power_max_dBm
;
/// \brief Number of
e
NB seen by UE
uint8_t
n_connected_
e
NB
;
/// \brief Number of
g
NB seen by UE
uint8_t
n_connected_
g
NB
;
/// \brief indicator that Handover procedure has been initiated
uint8_t
ho_initiated
;
/// \brief indicator that Handover procedure has been triggered
...
...
openair1/SCHED_NR_UE/pucch_uci_ue_nr.c
View file @
33dc5772
...
...
@@ -762,7 +762,7 @@ uint8_t get_downlink_ack(PHY_VARS_NR_UE *ue, uint8_t gNB_id, UE_nr_rxtx_proc_t
number_of_code_word
=
1
;
}
if
(
ue
->
n_connected_
e
NB
>
1
)
{
if
(
ue
->
n_connected_
g
NB
>
1
)
{
LOG_E
(
PHY
,
"PUCCH ACK feedback is not implemented for mutiple gNB cells : at line %d in function %s of file %s
\n
"
,
LINE_FILE
,
__func__
,
FILE_NAME
);
return
(
0
);
}
...
...
openair1/SIMULATION/NR_UE_PHY/unit_tests/src/pucch_uci_test.c
View file @
33dc5772
...
...
@@ -232,7 +232,7 @@ int test_pucch_basic_error(PHY_VARS_NR_UE *ue, int gNB_id, UE_nr_rxtx_proc_t *pr
v_return
=
-
1
;
}
ue
->
n_connected_
e
NB
=
2
;
ue
->
n_connected_
g
NB
=
2
;
printf
(
"
\n
=> Test : Error due to PUCCH format with multiple cells not already implemented
\n
"
);
...
...
@@ -240,7 +240,7 @@ int test_pucch_basic_error(PHY_VARS_NR_UE *ue, int gNB_id, UE_nr_rxtx_proc_t *pr
v_return
=
-
1
;
}
ue
->
n_connected_
e
NB
=
1
;
ue
->
n_connected_
g
NB
=
1
;
return
(
v_return
);
}
...
...
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