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
wangwenhui
OpenXG-RAN
Commits
d109ffa1
Commit
d109ffa1
authored
Nov 28, 2018
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/hotfix-RU-dft-initialization' into develop_integration_w48
parents
0d67854c
15314aeb
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
29 additions
and
22 deletions
+29
-22
ci-scripts/main.py
ci-scripts/main.py
+18
-1
ci-scripts/xml_files/if4p5_usrp210_band40.xml
ci-scripts/xml_files/if4p5_usrp210_band40.xml
+3
-5
ci-scripts/xml_files/if4p5_usrp210_band7.xml
ci-scripts/xml_files/if4p5_usrp210_band7.xml
+2
-5
openair1/PHY/INIT/init_top.c
openair1/PHY/INIT/init_top.c
+0
-5
openair1/PHY/INIT/lte_init_ru.c
openair1/PHY/INIT/lte_init_ru.c
+1
-0
openair1/PHY/INIT/lte_init_ue.c
openair1/PHY/INIT/lte_init_ue.c
+2
-1
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
+1
-2
openair2/LAYER2/MAC/mac.h
openair2/LAYER2/MAC/mac.h
+2
-3
No files found.
ci-scripts/main.py
View file @
d109ffa1
...
...
@@ -436,7 +436,7 @@ class SSHConnection():
self
.
copyout
(
self
.
eNBIPAddress
,
self
.
eNBUserName
,
self
.
eNBPassword
,
pcap_log_file
,
self
.
eNBSourceCodePath
+
'/cmake_targets/.'
)
sys
.
exit
(
1
)
else
:
self
.
command
(
'stdbuf -o0 cat enb_'
+
SSH
.
testCase_id
+
'.log | egrep --color=never -i "wait|sync"'
,
'\$'
,
4
)
self
.
command
(
'stdbuf -o0 cat enb_'
+
SSH
.
testCase_id
+
'.log | egrep --
text --
color=never -i "wait|sync"'
,
'\$'
,
4
)
if
rruCheck
:
result
=
re
.
search
(
'wait RUs'
,
str
(
self
.
ssh
.
before
))
else
:
...
...
@@ -1573,6 +1573,8 @@ class SSHConnection():
rrcReestablishRequest
=
0
rrcReestablishComplete
=
0
rrcReestablishReject
=
0
rlcDiscardBuffer
=
0
rachCanceledProcedure
=
0
uciStatMsgCount
=
0
pdcpFailure
=
0
ulschFailure
=
0
...
...
@@ -1625,6 +1627,12 @@ class SSHConnection():
result
=
re
.
search
(
'ULSCH in error in round'
,
str
(
line
))
if
result
is
not
None
:
ulschFailure
+=
1
result
=
re
.
search
(
'BAD all_segments_received'
,
str
(
line
))
if
result
is
not
None
:
rlcDiscardBuffer
+=
1
result
=
re
.
search
(
'Canceled RA procedure for UE rnti'
,
str
(
line
))
if
result
is
not
None
:
rachCanceledProcedure
+=
1
enb_log_file
.
close
()
self
.
htmleNBFailureMsg
=
''
if
uciStatMsgCount
>
0
:
...
...
@@ -1667,6 +1675,10 @@ class SSHConnection():
rrcMsg
=
' -- '
+
str
(
rrcReestablishReject
)
+
' were rejected'
logging
.
debug
(
'
\u001B
[1;30;43m '
+
rrcMsg
+
'
\u001B
[0m'
)
self
.
htmleNBFailureMsg
+=
rrcMsg
+
'
\n
'
if
rachCanceledProcedure
>
0
:
rachMsg
=
'eNB cancelled '
+
str
(
rachCanceledProcedure
)
+
' RA procedure(s)'
logging
.
debug
(
'
\u001B
[1;30;43m '
+
rachMsg
+
'
\u001B
[0m'
)
self
.
htmleNBFailureMsg
+=
rachMsg
+
'
\n
'
if
foundSegFault
:
logging
.
debug
(
'
\u001B
[1;37;41m eNB ended with a Segmentation Fault!
\u001B
[0m'
)
return
ENB_PROCESS_SEG_FAULT
...
...
@@ -1677,6 +1689,11 @@ class SSHConnection():
if
foundRealTimeIssue
:
logging
.
debug
(
'
\u001B
[1;37;41m eNB faced real time issues!
\u001B
[0m'
)
return
ENB_PROCESS_REALTIME_ISSUE
if
rlcDiscardBuffer
>
0
:
rlcMsg
=
'eNB RLC discarded '
+
str
(
rlcDiscardBuffer
)
+
' buffer(s)'
logging
.
debug
(
'
\u001B
[1;37;41m '
+
rlcMsg
+
'
\u001B
[0m'
)
self
.
htmleNBFailureMsg
+=
rlcMsg
+
'
\n
'
return
ENB_PROCESS_REALTIME_ISSUE
return
0
def
TerminateeNB
(
self
):
...
...
ci-scripts/xml_files/if4p5_usrp210_band40.xml
View file @
d109ffa1
...
...
@@ -21,17 +21,15 @@
-->
<testCaseList>
<!-- Only 5MHz is tested since neither 10MHz nor 20MHz work in this configuration -->
<!-- Also no UL iperf in 5MHz (040642) -->
<!-- Only 5MHz/10MHz is tested since 20MHz does not work as in monolithic -->
<TestCaseRequestedList>
010101
050101 060101 070101 040101
030104 030105 040301 040501 040602 040401 040201 030201 030202
030104 030105 040301 040501 040602 040642 040401 040201 030201 030202
030114 030115 040301 040511 040612 040652 040401 040201 030201 030202
050201 060201 070201
</TestCaseRequestedList>
<!--
030104 030105 040301 040501 040602 040642 040401 040201 030201 030202
030114 030115 040301 040511 040612 040652 040401 040201 030201 030202
030124 030125 040301 040521 040622 040662 040401 040201 030201 030202
-->
<TestCaseExclusionList>
...
...
ci-scripts/xml_files/if4p5_usrp210_band7.xml
View file @
d109ffa1
...
...
@@ -21,17 +21,14 @@
-->
<testCaseList>
<!-- Only 5MHz is tested since neither 10MHz nor 20MHz work in this configuration -->
<TestCaseRequestedList>
010101
050101 060101 070101 040101
030101 030102 040301 040501 040604 040642 040401 040201 030201 030202
050201 060201 070201
</TestCaseRequestedList>
<!--
030111 030112 040301 040511 040614 040652 040401 040201 030201 030202
030121 030122 040301 040521 040624 040662 040401 040201 030201 030202
-->
050201 060201 070201
</TestCaseRequestedList>
<TestCaseExclusionList>
</TestCaseExclusionList>
...
...
openair1/PHY/INIT/init_top.c
View file @
d109ffa1
...
...
@@ -59,14 +59,11 @@ void generate_qpsk_table(void) {
}
}
void
init_7_5KHz
(
void
);
void
init_lte_top
(
LTE_DL_FRAME_PARMS
*
frame_parms
)
{
ccodelte_init
();
ccodelte_init_inv
();
init_dfts
();
phy_generate_viterbi_tables_lte
();
load_codinglib
();
lte_sync_time_init
(
frame_parms
);
generate_ul_ref_sigs
();
generate_ul_ref_sigs_rx
();
generate_64qam_table
();
...
...
@@ -76,13 +73,11 @@ void init_lte_top(LTE_DL_FRAME_PARMS *frame_parms) {
init_unscrambling_lut
();
init_scrambling_lut
();
//set_taus_seed(1328);
// init_7_5KHz();
init_sss
();
}
void
free_lte_top
(
void
)
{
free_codinglib
();
lte_sync_time_free
();
/* free_ul_ref_sigs() is called in phy_free_lte_eNB() */
}
...
...
openair1/PHY/INIT/lte_init_ru.c
View file @
d109ffa1
...
...
@@ -67,6 +67,7 @@ int phy_init_RU(RU_t *ru) {
}
if
(
ru
->
function
!=
NGFI_RRU_IF5
)
{
// we need to do RX/TX RU processing
init_dfts
();
init_7_5KHz
();
LOG_I
(
PHY
,
"nb_tx %d
\n
"
,
ru
->
nb_tx
);
ru
->
common
.
rxdata_7_5kHz
=
(
int32_t
**
)
malloc16
(
ru
->
nb_rx
*
sizeof
(
int32_t
*
)
);
...
...
openair1/PHY/INIT/lte_init_ue.c
View file @
d109ffa1
...
...
@@ -661,8 +661,9 @@ int init_lte_ue_signal(PHY_VARS_UE *ue,
init_dfts
();
init_frame_parms
(
&
ue
->
frame_parms
,
1
);
lte_sync_time_init
(
&
ue
->
frame_parms
);
init_lte_top
(
&
ue
->
frame_parms
);
init_7_5KHz
();
init_ul_hopping
(
&
ue
->
frame_parms
);
...
...
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
View file @
d109ffa1
...
...
@@ -2272,8 +2272,7 @@ uint8_t get_tmode(module_id_t module_idP, int CC_idP, int UE_idP)
eNB_MAC_INST
*
eNB
=
RC
.
mac
[
module_idP
];
COMMON_channels_t
*
cc
=
&
eNB
->
common_channels
[
CC_idP
];
struct
LTE_PhysicalConfigDedicated
*
physicalConfigDedicated
=
eNB
->
UE_list
.
physicalConfigDedicated
[
CC_idP
][
UE_idP
];
LTE_PhysicalConfigDedicated_t
*
physicalConfigDedicated
=
eNB
->
UE_list
.
physicalConfigDedicated
[
CC_idP
][
UE_idP
];
if
(
physicalConfigDedicated
==
NULL
)
{
// RRCConnectionSetup not received by UE yet
AssertFatal
(
cc
->
p_eNB
<=
2
,
"p_eNB is %d, should be <2
\n
"
,
...
...
openair2/LAYER2/MAC/mac.h
View file @
d109ffa1
/*
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
...
...
@@ -1070,8 +1070,7 @@ typedef struct {
/*! \brief UE list used by eNB to order UEs/CC for scheduling*/
typedef
struct
{
/// Dedicated information for UEs
struct
PhysicalConfigDedicated
*
physicalConfigDedicated
[
NFAPI_CC_MAX
][
MAX_MOBILES_PER_ENB
];
LTE_PhysicalConfigDedicated_t
*
physicalConfigDedicated
[
NFAPI_CC_MAX
][
MAX_MOBILES_PER_ENB
];
/// DLSCH pdu
DLSCH_PDU
DLSCH_pdu
[
NFAPI_CC_MAX
][
2
][
MAX_MOBILES_PER_ENB
];
/// DCI template and MAC connection parameters for UEs
...
...
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