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
db11d692
Commit
db11d692
authored
Jul 18, 2020
by
heshanyun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix issue about build error of UE
parent
7039552b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
25 deletions
+27
-25
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
+20
-10
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+7
-7
targets/RT/USER/lte-ru.c
targets/RT/USER/lte-ru.c
+0
-8
No files found.
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
View file @
db11d692
...
@@ -399,11 +399,16 @@ boolean_t pdcp_data_req(
...
@@ -399,11 +399,16 @@ boolean_t pdcp_data_req(
break
;
break
;
case
RLC_OP_STATUS_OUT_OF_RESSOURCES
:
case
RLC_OP_STATUS_OUT_OF_RESSOURCES
:
UE_id
=
find_UE_id
(
ctxt_pP
->
module_id
,
ctxt_pP
->
rnti
);
if
(
UE_id
!=
-
1
){
for
(
UE_id
=
0
;
UE_id
<
MAX_MOBILES_PER_ENB
;
UE_id
++
)
{
if
(
RC
.
mac
[
ctxt_pP
->
module_id
]
->
UE_list
.
active
[
UE_id
]
==
TRUE
)
{
if
(
RC
.
mac
[
ctxt_pP
->
module_id
]
->
UE_list
.
UE_template
[
RC
.
mac
[
ctxt_pP
->
module_id
]
->
UE_list
.
pCC_id
[
UE_id
]][
UE_id
].
rnti
==
ctxt_pP
->
rnti
)
{
pthread_mutex_lock
(
&
(
RC
.
mac
[
ctxt_pP
->
module_id
]
->
UE_list
.
UE_sched_ctrl
[
UE_id
].
rlc_out_of_resources_lock
));
pthread_mutex_lock
(
&
(
RC
.
mac
[
ctxt_pP
->
module_id
]
->
UE_list
.
UE_sched_ctrl
[
UE_id
].
rlc_out_of_resources_lock
));
RC
.
mac
[
ctxt_pP
->
module_id
]
->
UE_list
.
UE_sched_ctrl
[
UE_id
].
rlc_out_of_resources_cnt
++
;
RC
.
mac
[
ctxt_pP
->
module_id
]
->
UE_list
.
UE_sched_ctrl
[
UE_id
].
rlc_out_of_resources_cnt
++
;
pthread_mutex_unlock
(
&
(
RC
.
mac
[
ctxt_pP
->
module_id
]
->
UE_list
.
UE_sched_ctrl
[
UE_id
].
rlc_out_of_resources_lock
));
pthread_mutex_unlock
(
&
(
RC
.
mac
[
ctxt_pP
->
module_id
]
->
UE_list
.
UE_sched_ctrl
[
UE_id
].
rlc_out_of_resources_lock
));
break
;
}
}
}
}
LOG_D
(
PDCP
,
"Data sending request over RLC failed with 'Out of Resources' reason!
\n
"
);
LOG_D
(
PDCP
,
"Data sending request over RLC failed with 'Out of Resources' reason!
\n
"
);
ret
=
FALSE
;
ret
=
FALSE
;
...
@@ -464,11 +469,16 @@ boolean_t pdcp_data_req(
...
@@ -464,11 +469,16 @@ boolean_t pdcp_data_req(
break
;
break
;
case
RLC_OP_STATUS_OUT_OF_RESSOURCES
:
case
RLC_OP_STATUS_OUT_OF_RESSOURCES
:
UE_id
=
find_UE_id
(
ctxt_pP
->
module_id
,
ctxt_pP
->
rnti
);
if
(
UE_id
!=
-
1
){
for
(
UE_id
=
0
;
UE_id
<
MAX_MOBILES_PER_ENB
;
UE_id
++
)
{
if
(
RC
.
mac
[
ctxt_pP
->
module_id
]
->
UE_list
.
active
[
UE_id
]
==
TRUE
)
{
if
(
RC
.
mac
[
ctxt_pP
->
module_id
]
->
UE_list
.
UE_template
[
RC
.
mac
[
ctxt_pP
->
module_id
]
->
UE_list
.
pCC_id
[
UE_id
]][
UE_id
].
rnti
==
ctxt_pP
->
rnti
)
{
pthread_mutex_lock
(
&
(
RC
.
mac
[
ctxt_pP
->
module_id
]
->
UE_list
.
UE_sched_ctrl
[
UE_id
].
rlc_out_of_resources_lock
));
pthread_mutex_lock
(
&
(
RC
.
mac
[
ctxt_pP
->
module_id
]
->
UE_list
.
UE_sched_ctrl
[
UE_id
].
rlc_out_of_resources_lock
));
RC
.
mac
[
ctxt_pP
->
module_id
]
->
UE_list
.
UE_sched_ctrl
[
UE_id
].
rlc_out_of_resources_cnt
++
;
RC
.
mac
[
ctxt_pP
->
module_id
]
->
UE_list
.
UE_sched_ctrl
[
UE_id
].
rlc_out_of_resources_cnt
++
;
pthread_mutex_unlock
(
&
(
RC
.
mac
[
ctxt_pP
->
module_id
]
->
UE_list
.
UE_sched_ctrl
[
UE_id
].
rlc_out_of_resources_lock
));
pthread_mutex_unlock
(
&
(
RC
.
mac
[
ctxt_pP
->
module_id
]
->
UE_list
.
UE_sched_ctrl
[
UE_id
].
rlc_out_of_resources_lock
));
break
;
}
}
}
}
LOG_D
(
PDCP
,
"Data sending request over RLC failed with 'Out of Resources' reason!
\n
"
);
LOG_D
(
PDCP
,
"Data sending request over RLC failed with 'Out of Resources' reason!
\n
"
);
ret
=
FALSE
;
ret
=
FALSE
;
...
...
openair2/RRC/LTE/rrc_eNB.c
View file @
db11d692
...
@@ -5922,13 +5922,13 @@ rrc_eNB_generate_HO_RRCConnectionReconfiguration(const protocol_ctxt_t *const ct
...
@@ -5922,13 +5922,13 @@ rrc_eNB_generate_HO_RRCConnectionReconfiguration(const protocol_ctxt_t *const ct
DRB_rlc_config
=
CALLOC
(
1
,
sizeof
(
*
DRB_rlc_config
));
DRB_rlc_config
=
CALLOC
(
1
,
sizeof
(
*
DRB_rlc_config
));
DRB_config
->
rlc_Config
=
DRB_rlc_config
;
DRB_config
->
rlc_Config
=
DRB_rlc_config
;
#ifdef RRC_DEFAULT_RAB_IS_AM
#ifdef RRC_DEFAULT_RAB_IS_AM
DRB_rlc_config
->
present
=
RLC_Config_PR_am
;
DRB_rlc_config
->
present
=
LTE_
RLC_Config_PR_am
;
DRB_rlc_config
->
choice
.
am
.
ul_AM_RLC
.
t_PollRetransmit
=
T_PollRetransmit_ms50
;
DRB_rlc_config
->
choice
.
am
.
ul_AM_RLC
.
t_PollRetransmit
=
LTE_
T_PollRetransmit_ms50
;
DRB_rlc_config
->
choice
.
am
.
ul_AM_RLC
.
pollPDU
=
PollPDU_p16
;
DRB_rlc_config
->
choice
.
am
.
ul_AM_RLC
.
pollPDU
=
LTE_
PollPDU_p16
;
DRB_rlc_config
->
choice
.
am
.
ul_AM_RLC
.
pollByte
=
PollByte_kBinfinity
;
DRB_rlc_config
->
choice
.
am
.
ul_AM_RLC
.
pollByte
=
LTE_
PollByte_kBinfinity
;
DRB_rlc_config
->
choice
.
am
.
ul_AM_RLC
.
maxRetxThreshold
=
UL_AM_RLC__maxRetxThreshold_t8
;
DRB_rlc_config
->
choice
.
am
.
ul_AM_RLC
.
maxRetxThreshold
=
LTE_
UL_AM_RLC__maxRetxThreshold_t8
;
DRB_rlc_config
->
choice
.
am
.
dl_AM_RLC
.
t_Reordering
=
T_Reordering_ms35
;
DRB_rlc_config
->
choice
.
am
.
dl_AM_RLC
.
t_Reordering
=
LTE_
T_Reordering_ms35
;
DRB_rlc_config
->
choice
.
am
.
dl_AM_RLC
.
t_StatusProhibit
=
T_StatusProhibit_ms25
;
DRB_rlc_config
->
choice
.
am
.
dl_AM_RLC
.
t_StatusProhibit
=
LTE_
T_StatusProhibit_ms25
;
#else
#else
DRB_rlc_config
->
present
=
LTE_RLC_Config_PR_um_Bi_Directional
;
DRB_rlc_config
->
present
=
LTE_RLC_Config_PR_um_Bi_Directional
;
DRB_rlc_config
->
choice
.
um_Bi_Directional
.
ul_UM_RLC
.
sn_FieldLength
=
LTE_SN_FieldLength_size10
;
DRB_rlc_config
->
choice
.
um_Bi_Directional
.
ul_UM_RLC
.
sn_FieldLength
=
LTE_SN_FieldLength_size10
;
...
...
targets/RT/USER/lte-ru.c
View file @
db11d692
...
@@ -2341,14 +2341,6 @@ void init_RU_proc(RU_t *ru) {
...
@@ -2341,14 +2341,6 @@ void init_RU_proc(RU_t *ru) {
pthread_create
(
&
proc
->
pthread_FH
,
attr_FH
,
ru_thread
,
(
void
*
)
ru
);
pthread_create
(
&
proc
->
pthread_FH
,
attr_FH
,
ru_thread
,
(
void
*
)
ru
);
#if defined(PRE_SCD_THREAD)
if
(
NFAPI_MODE
==
NFAPI_MONOLITHIC
)
{
int
rc
;
LOG_I
(
MAC
,
"Creating MAC eNB PreSCD Task
\n
"
);
rc
=
itti_create_task
(
TASK_MAC_ENB_PRE_SCD
,
pre_scd_task
,
(
void
*
)
ru
);
AssertFatal
(
rc
>=
0
,
"Create task for MAC eNB PreSCD failed
\n
"
);
}
#endif
#ifdef PHY_TX_THREAD
#ifdef PHY_TX_THREAD
pthread_create
(
&
proc
->
pthread_phy_tx
,
NULL
,
eNB_thread_phy_tx
,
(
void
*
)
ru
);
pthread_create
(
&
proc
->
pthread_phy_tx
,
NULL
,
eNB_thread_phy_tx
,
(
void
*
)
ru
);
...
...
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