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
Michael Black
OpenXG-RAN
Commits
7d1956b6
Commit
7d1956b6
authored
5 years ago
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/bugfix-ue-realtime' into develop_integration_2019_w21
parents
e40ec957
cbf1e1f7
Branches unavailable
2023.w22
2023.w21
2023.w20
2023.w19
2023.w18
2023.w18b
2023.w16
2023.w15
2023.w14
2023.w13
2023.w12
2023.w11
2023.w11b
2023.w10
2023.w10b
2023.w09
2023.w08
2023.w08b
2023.w07
2023.w06
2023.w05
2023.w03
2023.w02
2022.42
2022.41
2022.w51
2022.w50
2022.w49
2022.w48
2022.w47
2022.w46
2022.w45
2022.w43
2022.w42
2022.w42b
2022.w41
2022.w40
2022.w39
2022.w38
2022.w37
2022.w37b
2022.w36
2022.w35
2022.w33
2022.w32
2022.w31
2022.w31b
2022.w30
2022.w29
2022.w26
2022.w25
2022.w24
2022.w24b
2022.w23
2022.w22
2022.w21
2022.w20
2022.w19
2022.w18
2022.w17
2022.w15
2022.w15b
2022.w14a
2022.w13
2022.w13b
2022.w13a
2022.w12
2022.w10
2022.w09
2022.w09b
2022.w08
2022.w08b
2022.w07
2022.w07b
2022.w06
2022.w06a
2022.w05
2022.w05b
2022.w03_hotfix
2022.w03_b
2022.w02
2022.w01
2021.wk46
2021.wk14_a
2021.wk13_d
2021.wk13_c
2021.w51_c
2021.w51_a
2021.w50_a
2021.w49_b
2021.w49_a
2021.w48
2021.w47
2021.w46
2021.w46-powder
2021.w45
2021.w45_b
2021.w44
2021.w43
2021.w42
2021.w37
2021.w36
2021.w35
2021.w34
2021.w33
2021.w32
2021.w31
2021.w30
2021.w29
2021.w28
2021.w27
2021.w26
2021.w25
2021.w24
2021.w23
2021.w22
2021.w20
2021.w19
2021.w18_b
2021.w18_a
2021.w17_b
2021.w16
2021.w15
2021.w14
2021.w13_a
2021.w12
2021.w11
2021.w10
2021.w09
2021.w08
2021.w06
2021.w05
2021.w04
2021.w02
2020.w51_2
2020.w51
2020.w50
2020.w49
2020.w48_2
2020.w48
2020.w47
2020.w46_2
2020.w46
2020.w45_2
2020.w45
2020.w44
2020.w42_2
2020.w42
2020.w41
2020.w39
2020.w38
2020.w37
2020.w36
2020.w34
2020.w33
2020.w31
2020.w30
2020.w29
2020.w28
2020.w26
2020.w25
2020.w24
2020.w23
2020.w22
2020.w19
2020.w17
2020.w16
2020.w15
2020.w11
2020.w09
2020.w06
2020.w05
2020.w04
2020.w03
2019.w51
2019.w44
2019.w41
2019.w36
2019.w30
2019.w28
2019.w27
2019.w25
2019.w23
2019.w21
v1.2.2
v1.2.1
v1.2.0
v1.1.1
v1.1.0
setparam
nr-ip-over-lte-v.1.5
nr-ip-over-lte-v.1.4
nr-ip-over-lte-v.1.3
nr-ip-over-lte-v.1.2
nr-ip-over-lte-v.1.1
nr-ip-over-lte-v.1.0
flexran-eol
develop-nr-2020w03
develop-nr-2020w02
develop-nr-2019w51
develop-nr-2019w50
develop-nr-2019w48
develop-nr-2019w47
develop-nr-2019w45
develop-nr-2019w43
develop-nr-2019w42
develop-nr-2019w40
benetel_phase_rotation
benetel_gnb_rel_2.0
benetel_gnb_rel_1.0
benetel_enb_rel_2.0
benetel_enb_rel_1.0
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
17 deletions
+30
-17
ci-scripts/reportTestLocally.sh
ci-scripts/reportTestLocally.sh
+4
-4
ci-scripts/runTestOnVM.sh
ci-scripts/runTestOnVM.sh
+1
-1
ci-scripts/xml_files/enb_ue_usrp210_band7_test_05mhz_tm1.xml
ci-scripts/xml_files/enb_ue_usrp210_band7_test_05mhz_tm1.xml
+3
-3
ci-scripts/xml_files/enb_ue_usrp210_band7_test_05mhz_tm1_s1.xml
...ipts/xml_files/enb_ue_usrp210_band7_test_05mhz_tm1_s1.xml
+3
-3
targets/RT/USER/lte-ue.c
targets/RT/USER/lte-ue.c
+19
-6
No files found.
ci-scripts/reportTestLocally.sh
View file @
7d1956b6
...
@@ -508,26 +508,26 @@ function report_test {
...
@@ -508,26 +508,26 @@ function report_test {
NB_ENB_GOT_SYNC
=
`
egrep
-c
"got sync"
$ENB_LOG
`
NB_ENB_GOT_SYNC
=
`
egrep
-c
"got sync"
$ENB_LOG
`
NB_UE_GOT_SYNC
=
`
egrep
-c
"got sync"
$UE_LOG
`
NB_UE_GOT_SYNC
=
`
egrep
-c
"got sync"
$UE_LOG
`
NB_ENB_SYNCED_WITH_UE
=
`
egrep
-c
"Sending NFAPI_START_RESPONSE"
$UE_LOG
`
NB_ENB_SYNCED_WITH_UE
=
`
egrep
-c
"Sending NFAPI_START_RESPONSE"
$UE_LOG
`
if
[
$NB_ENB_GOT_SYNC
-
eq
1
]
&&
[
$NB_UE_GOT_SYNC
-eq
3
]
&&
[
$NB_ENB_SYNCED_WITH_UE
-eq
1
]
if
[
$NB_ENB_GOT_SYNC
-
gt
0
]
&&
[
$NB_UE_GOT_SYNC
-gt
2
]
&&
[
$NB_ENB_SYNCED_WITH_UE
-gt
0
]
then
then
echo
" <td bgcolor =
\"
green
\"
>OK</td>"
>>
./test_simulator_results.html
echo
" <td bgcolor =
\"
green
\"
>OK</td>"
>>
./test_simulator_results.html
else
else
echo
" <td bgcolor =
\"
red
\"
>KO</td>"
>>
./test_simulator_results.html
echo
" <td bgcolor =
\"
red
\"
>KO</td>"
>>
./test_simulator_results.html
fi
fi
echo
" <td><pre>"
>>
./test_simulator_results.html
echo
" <td><pre>"
>>
./test_simulator_results.html
if
[
$NB_ENB_GOT_SYNC
-
eq
1
]
if
[
$NB_ENB_GOT_SYNC
-
gt
0
]
then
then
echo
"<font color =
\"
blue
\"
>- eNB --> got sync</font>"
>>
./test_simulator_results.html
echo
"<font color =
\"
blue
\"
>- eNB --> got sync</font>"
>>
./test_simulator_results.html
else
else
echo
"<font color =
\"
red
\"
><b>- eNB NEVER got sync</b></font>"
>>
./test_simulator_results.html
echo
"<font color =
\"
red
\"
><b>- eNB NEVER got sync</b></font>"
>>
./test_simulator_results.html
fi
fi
if
[
$NB_UE_GOT_SYNC
-
eq
3
]
if
[
$NB_UE_GOT_SYNC
-
gt
2
]
then
then
echo
"<font color =
\"
blue
\"
>- UE --> got sync</font>"
>>
./test_simulator_results.html
echo
"<font color =
\"
blue
\"
>- UE --> got sync</font>"
>>
./test_simulator_results.html
else
else
echo
"<font color =
\"
red
\"
><b>- UE NEVER got sync</b></font>"
>>
./test_simulator_results.html
echo
"<font color =
\"
red
\"
><b>- UE NEVER got sync</b></font>"
>>
./test_simulator_results.html
fi
fi
if
[
$NB_ENB_SYNCED_WITH_UE
-
eq
1
]
if
[
$NB_ENB_SYNCED_WITH_UE
-
gt
0
]
then
then
echo
"<font color =
\"
blue
\"
>- UE attached to eNB</font>"
>>
./test_simulator_results.html
echo
"<font color =
\"
blue
\"
>- UE attached to eNB</font>"
>>
./test_simulator_results.html
else
else
...
...
This diff is collapsed.
Click to expand it.
ci-scripts/runTestOnVM.sh
View file @
7d1956b6
...
@@ -1279,7 +1279,7 @@ function run_test_on_vm {
...
@@ -1279,7 +1279,7 @@ function run_test_on_vm {
do
do
# Not Running in TDD-10MHz and TDD-20MHz : too unstable
# Not Running in TDD-10MHz and TDD-20MHz : too unstable
#if [[ $TMODE =~ .*tdd.* ]] && [[ $BW =~ .*10.* ]]; then continue; fi
#if [[ $TMODE =~ .*tdd.* ]] && [[ $BW =~ .*10.* ]]; then continue; fi
#
if [[ $TMODE =~ .*tdd.* ]] && [[ $BW =~ .*20.* ]]; then continue; fi
if
[[
$TMODE
=
~ .
*
tdd.
*
]]
&&
[[
$BW
=
~ .
*
20.
*
]]
;
then continue
;
fi
if
[[
$BW
=
~ .
*
05.
*
]]
;
then
PRB
=
25
;
fi
if
[[
$BW
=
~ .
*
05.
*
]]
;
then
PRB
=
25
;
fi
if
[[
$BW
=
~ .
*
10.
*
]]
;
then
PRB
=
50
;
fi
if
[[
$BW
=
~ .
*
10.
*
]]
;
then
PRB
=
50
;
fi
...
...
This diff is collapsed.
Click to expand it.
ci-scripts/xml_files/enb_ue_usrp210_band7_test_05mhz_tm1.xml
View file @
7d1956b6
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
<htmlTabIcon>
tasks
</htmlTabIcon>
<htmlTabIcon>
tasks
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
030201 090109
030201 090109
030101 000001 090101 000002 040501 040502 000001 040601 040641 040642 000001 090109 030201
030101 000001 090101 000002 040501 040502 000001 040601 0406
02 0406
41 040642 000001 090109 030201
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
...
@@ -93,8 +93,8 @@
...
@@ -93,8 +93,8 @@
<testCase
id=
"040602"
>
<testCase
id=
"040602"
>
<class>
Iperf
</class>
<class>
Iperf
</class>
<desc>
iperf (5MHz - DL/1
.2
Mbps/UDP)(30 sec)
</desc>
<desc>
iperf (5MHz - DL/1
4
Mbps/UDP)(30 sec)
</desc>
<iperf_args>
-c 10.0.1.2 -u -b 1
.2
M -t 30 -i 1 -fm -B 10.0.1.1
</iperf_args>
<iperf_args>
-c 10.0.1.2 -u -b 1
4
M -t 30 -i 1 -fm -B 10.0.1.1
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
</testCase>
</testCase>
...
...
This diff is collapsed.
Click to expand it.
ci-scripts/xml_files/enb_ue_usrp210_band7_test_05mhz_tm1_s1.xml
View file @
7d1956b6
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
<htmlTabIcon>
tasks
</htmlTabIcon>
<htmlTabIcon>
tasks
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
030201 090109
030201 090109
030102 000001 090102 000002 040503 000001 040603 040643 040644 000001 090109 030201
030102 000001 090102 000002 040503 000001 040603 0406
04 0406
43 040644 000001 090109 030201
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
...
@@ -80,8 +80,8 @@
...
@@ -80,8 +80,8 @@
<testCase
id=
"040604"
>
<testCase
id=
"040604"
>
<class>
Iperf
</class>
<class>
Iperf
</class>
<desc>
iperf (5MHz - DL/1
.2
Mbps/UDP)(30 sec)
</desc>
<desc>
iperf (5MHz - DL/1
4
Mbps/UDP)(30 sec)
</desc>
<iperf_args>
-
b 1.2
M -t 30 -i 1 -fm
</iperf_args>
<iperf_args>
-
u -b 14
M -t 30 -i 1 -fm
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
</testCase>
</testCase>
...
...
This diff is collapsed.
Click to expand it.
targets/RT/USER/lte-ue.c
View file @
7d1956b6
...
@@ -1503,6 +1503,7 @@ void *UE_thread(void *arg) {
...
@@ -1503,6 +1503,7 @@ void *UE_thread(void *arg) {
int
i
;
int
i
;
int
th_id
;
int
th_id
;
static
uint8_t
thread_idx
=
0
;
static
uint8_t
thread_idx
=
0
;
int
ret
;
cpu_set_t
cpuset
;
cpu_set_t
cpuset
;
CPU_ZERO
(
&
cpuset
);
CPU_ZERO
(
&
cpuset
);
...
@@ -1724,15 +1725,27 @@ void *UE_thread(void *arg) {
...
@@ -1724,15 +1725,27 @@ void *UE_thread(void *arg) {
}
}
pickTime
(
gotIQs
);
pickTime
(
gotIQs
);
struct
timespec
tv
=
{
0
};
tv
.
tv_nsec
=
10
*
1000
;
if
(
IS_SOFTMODEM_BASICSIM
||
IS_SOFTMODEM_RFSIM
)
/* no timeout in IS_SOFTMODEM_BASICSIM or IS_SOFTMODEM_RFSIM mode */
tv
.
tv_sec
=
INT_MAX
;
if
(
IS_SOFTMODEM_BASICSIM
||
IS_SOFTMODEM_RFSIM
)
{
ret
=
pthread_mutex_lock
(
&
proc
->
mutex_rxtx
);
}
else
{
struct
timespec
tv
;
if
(
clock_gettime
(
CLOCK_REALTIME
,
&
tv
)
!=
0
)
{
perror
(
"clock_gettime"
);
exit
(
1
);
}
tv
.
tv_nsec
+=
10
*
1000
;
if
(
tv
.
tv_nsec
>=
1000
*
1000
*
1000
)
{
tv
.
tv_sec
++
;
tv
.
tv_nsec
-=
1000
*
1000
*
1000
;
}
ret
=
pthread_mutex_timedlock
(
&
proc
->
mutex_rxtx
,
&
tv
);
}
// operate on thread sf mod 2
// operate on thread sf mod 2
if
(
pthread_mutex_timedlock
(
&
proc
->
mutex_rxtx
,
&
tv
)
!=
0
)
{
if
(
ret
!=
0
)
{
if
(
errno
==
ETIMEDOUT
)
{
if
(
ret
==
ETIMEDOUT
)
{
LOG_E
(
PHY
,
"Missed real time
\n
"
);
LOG_E
(
PHY
,
"Missed real time
\n
"
);
continue
;
continue
;
}
else
{
}
else
{
...
...
This diff is collapsed.
Click to expand it.
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