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
9b37dcec
Commit
9b37dcec
authored
Jul 21, 2020
by
Javier Morgade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fembms: handle MBMS in new RLC
Signed-off-by:
Javier Morgade
<
javier.morgade@ieee.org
>
parent
e3cf9bcf
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
3 deletions
+34
-3
openair2/LAYER2/RLC/rlc.c
openair2/LAYER2/RLC/rlc.c
+1
-1
openair2/LAYER2/RLC/rlc_rrc.c
openair2/LAYER2/RLC/rlc_rrc.c
+2
-1
openair2/PHY_INTERFACE/phy_stub_UE.c
openair2/PHY_INTERFACE/phy_stub_UE.c
+31
-1
No files found.
openair2/LAYER2/RLC/rlc.c
View file @
9b37dcec
...
...
@@ -519,7 +519,7 @@ rlc_op_status_t rlc_data_req (const protocol_ctxt_t *const ctxt_pP,
// LOG_I(RLC,"DUY rlc_data_req: mbms_rb_id in RLC instant is: %d\n", mbms_rb_id);
if
(
sdu_pP
!=
NULL
)
{
if
(
sdu_sizeP
>
0
)
{
LOG_
I
(
RLC
,
"received a packet with size %d for MBMS
\n
"
,
sdu_sizeP
);
LOG_
D
(
RLC
,
"received a packet with size %d for MBMS
\n
"
,
sdu_sizeP
);
new_sdu_p
=
get_free_mem_block
(
sdu_sizeP
+
sizeof
(
struct
rlc_um_data_req_alloc
),
__func__
);
if
(
new_sdu_p
!=
NULL
)
{
...
...
openair2/LAYER2/RLC/rlc_rrc.c
View file @
9b37dcec
...
...
@@ -640,6 +640,7 @@ rlc_union_t *rrc_rlc_add_rlc (
}
else
if
(
h_rc
==
HASH_TABLE_KEY_NOT_EXISTS
)
{
rlc_union_p
=
calloc
(
1
,
sizeof
(
rlc_union_t
));
h_rc
=
hashtable_insert
(
rlc_coll_p
,
key
,
rlc_union_p
);
if
(
MBMS_flagP
!=
TRUE
)
h_lcid_rc
=
hashtable_insert
(
rlc_coll_p
,
key_lcid
,
rlc_union_p
);
if
((
h_rc
==
HASH_TABLE_OK
)
&&
(
h_lcid_rc
==
HASH_TABLE_OK
))
{
...
...
openair2/PHY_INTERFACE/phy_stub_UE.c
View file @
9b37dcec
...
...
@@ -800,7 +800,37 @@ void dl_config_req_UE_MAC_dci(int sfn,
UE_mac_inst
[
ue_id
].
first_ULSCH_Tx
=
1
;
}
}
}
else
{
}
//else if (dl_config_pdu_list[i].pdu_type == NFAPI_DL_CONFIG_BCH_PDU_TYPE) {
// // BCH case: Last parameter is 1 if first time synchronization and zero
// // otherwise. Not sure which value to put for our case.
// if (UE_mac_inst[Mod_id].UE_mode[0] == NOT_SYNCHED){
// dl_phy_sync_success(Mod_id, sfn, 0, 1);
// LOG_E(MAC,
// "%s(): Received MIB: UE_mode: %d, sfn/sf: %d.%d\n",
// __func__,
// UE_mac_inst[Mod_id].UE_mode[0],
// sfn,
// sf);
// UE_mac_inst[Mod_id].UE_mode[0] = PRACH;
// } else {
// dl_phy_sync_success(Mod_id, sfn, 0, 0);
// }
//} else if (dl_config_pdu_list[i].pdu_type == NFAPI_DL_CONFIG_MCH_PDU_TYPE){
// if (UE_mac_inst[Mod_id].UE_mode[0] == NOT_SYNCHED) {
// /* this check is in the code before refactoring, but I don't know
// * why. Leave it in here for the moment */
// continue;
// }
// nfapi_dl_config_request_pdu_t *dl_config_pdu_tmp = &dl_config_pdu_list[i];
// const int pdu_index = dl_config_pdu_tmp->dlsch_pdu.dlsch_pdu_rel8.pdu_index;
// ue_send_mch_sdu(Mod_id, 0, sfn,
// tx_request_pdu_list[pdu_index].segments[0].segment_data,
// tx_request_pdu_list[pdu_index].segments[0].segment_length,
// 0,0);
//}
else
{
LOG_W
(
MAC
,
"can not handle special RNTI %x
\n
"
,
rnti
);
}
}
...
...
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