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
canghaiwuhen
OpenXG-RAN
Commits
f2653443
Commit
f2653443
authored
Feb 07, 2018
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
passing S+D from PDCP to lower layers (PC5-S)
parent
a76a5a56
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
11 deletions
+6
-11
openair2/LAYER2/MAC/ue_procedures.c
openair2/LAYER2/MAC/ue_procedures.c
+0
-6
openair2/LAYER2/RLC/rlc.c
openair2/LAYER2/RLC/rlc.c
+1
-1
openair2/RRC/LITE/rrc_UE.c
openair2/RRC/LITE/rrc_UE.c
+5
-4
No files found.
openair2/LAYER2/MAC/ue_procedures.c
View file @
f2653443
...
@@ -769,12 +769,6 @@ void ue_send_sl_sdu(module_id_t module_idP,
...
@@ -769,12 +769,6 @@ void ue_send_sl_sdu(module_id_t module_idP,
//filter incoming packet based on destination address
//filter incoming packet based on destination address
destinationL2Id
=
(
longh
->
DST07
<<
16
)
|
(
longh
->
DST815
<<
8
)
|
(
longh
->
DST1623
);
destinationL2Id
=
(
longh
->
DST07
<<
16
)
|
(
longh
->
DST815
<<
8
)
|
(
longh
->
DST1623
);
LOG_I
(
MAC
,
"[DestinationL2Id: 0x%08x]
\n
"
,
destinationL2Id
);
LOG_I
(
MAC
,
"[DestinationL2Id: 0x%08x]
\n
"
,
destinationL2Id
);
//match the destinationL2Id with UE L2Id or groupL2ID
/* if (!((destinationL2Id == UE_mac_inst[module_idP].sourceL2Id) | (destinationL2Id == UE_mac_inst[module_idP].groupL2Id))){
LOG_I( MAC, "[Destination Id is neither matched with Source Id nor with Group Id, drop the packet!!! \n");
return;
}
*/
//in case of 1-n communication, verify that UE belongs to that group
//in case of 1-n communication, verify that UE belongs to that group
int
i
=
0
;
int
i
=
0
;
for
(
i
=
0
;
i
<
MAX_NUM_DEST
;
i
++
)
for
(
i
=
0
;
i
<
MAX_NUM_DEST
;
i
++
)
...
...
openair2/LAYER2/RLC/rlc.c
View file @
f2653443
...
@@ -405,7 +405,7 @@ rlc_op_status_t rlc_data_req (const protocol_ctxt_t* const ctxt_pP,
...
@@ -405,7 +405,7 @@ rlc_op_status_t rlc_data_req (const protocol_ctxt_t* const ctxt_pP,
rlc_mode
=
rlc_union_p
->
mode
;
rlc_mode
=
rlc_union_p
->
mode
;
}
else
{
}
else
{
rlc_mode
=
RLC_MODE_NONE
;
rlc_mode
=
RLC_MODE_NONE
;
AssertFatal
(
0
,
"RLC not configured key %ju
\n
"
,
key
);
//
AssertFatal (0 , "RLC not configured key %ju\n", key);
}
}
if
(
MBMS_flagP
==
0
)
{
if
(
MBMS_flagP
==
0
)
{
...
...
openair2/RRC/LITE/rrc_UE.c
View file @
f2653443
...
@@ -5832,6 +5832,7 @@ void *rrc_control_socket_thread_fct(void *arg)
...
@@ -5832,6 +5832,7 @@ void *rrc_control_socket_thread_fct(void *arg)
// configure lower layers PDCP/MAC/PHY for this communication
// configure lower layers PDCP/MAC/PHY for this communication
//Establish a new RBID/LCID for this communication
//Establish a new RBID/LCID for this communication
// Establish a SLRB (using DRB 10 for now)
// Establish a SLRB (using DRB 10 for now)
UE
=
&
UE_rrc_inst
[
module_id
];
PROTOCOL_CTXT_SET_BY_MODULE_ID
(
&
ctxt
,
0
,
ENB_FLAG_NO
,
0x1234
,
0
,
0
,
0
);
PROTOCOL_CTXT_SET_BY_MODULE_ID
(
&
ctxt
,
0
,
ENB_FLAG_NO
,
0x1234
,
0
,
0
,
0
);
UE
->
DRB_config
[
0
][
0
]
=
CALLOC
(
1
,
sizeof
(
struct
DRB_ToAddMod
));
UE
->
DRB_config
[
0
][
0
]
=
CALLOC
(
1
,
sizeof
(
struct
DRB_ToAddMod
));
...
@@ -5917,7 +5918,7 @@ void *rrc_control_socket_thread_fct(void *arg)
...
@@ -5917,7 +5918,7 @@ void *rrc_control_socket_thread_fct(void *arg)
(
DRB_ToReleaseList_t
*
)
NULL
(
DRB_ToReleaseList_t
*
)
NULL
#ifdef Rel14
#ifdef Rel14
,(
PMCH_InfoList_r9_t
*
)
NULL
,(
PMCH_InfoList_r9_t
*
)
NULL
,
sourceL2Id
,
group
L2Id
,
sourceL2Id
,
destination
L2Id
#endif
#endif
);
);
...
@@ -5956,11 +5957,11 @@ void *rrc_control_socket_thread_fct(void *arg)
...
@@ -5956,11 +5957,11 @@ void *rrc_control_socket_thread_fct(void *arg)
#if defined(Rel10) || defined(Rel14)
#if defined(Rel10) || defined(Rel14)
,
CONFIG_ACTION_ADD
,
,
CONFIG_ACTION_ADD
,
&
sourceL2Id
,
&
sourceL2Id
,
&
group
L2Id
&
destination
L2Id
#endif
#endif
);
);
}
else
{
//RX
}
else
{
//RX
rrc_rlc_config_asn1_req
(
&
ctxt
,
/*
rrc_rlc_config_asn1_req(&ctxt,
(SRB_ToAddModList_t*)NULL,
(SRB_ToAddModList_t*)NULL,
UE->DRB_configList,
UE->DRB_configList,
(DRB_ToReleaseList_t*)NULL
(DRB_ToReleaseList_t*)NULL
...
@@ -5969,7 +5970,7 @@ void *rrc_control_socket_thread_fct(void *arg)
...
@@ -5969,7 +5970,7 @@ void *rrc_control_socket_thread_fct(void *arg)
, sourceL2Id, 0
, sourceL2Id, 0
#endif
#endif
);
);
*/
//configure MAC with sourceL2Id/groupL2ID
//configure MAC with sourceL2Id/groupL2ID
rrc_mac_config_req_ue
(
module_id
,
0
,
0
,
//eNB_index =0
rrc_mac_config_req_ue
(
module_id
,
0
,
0
,
//eNB_index =0
...
...
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