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
lizhongxiao
OpenXG-RAN
Commits
bc4ac268
Commit
bc4ac268
authored
Jul 14, 2018
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'l1-sidelink' of
https://gitlab.eurecom.fr/matzakos/LTE-D2D
into l1-sidelink
parents
12ae9124
046d12fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
openair1/PHY/LTE_TRANSPORT/slsch.c
openair1/PHY/LTE_TRANSPORT/slsch.c
+8
-0
openair2/LAYER2/MAC/ue_procedures.c
openair2/LAYER2/MAC/ue_procedures.c
+3
-2
No files found.
openair1/PHY/LTE_TRANSPORT/slsch.c
View file @
bc4ac268
...
...
@@ -1461,6 +1461,14 @@ void slsch_decoding(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,int frame_rx,int subfra
slsch
->
group_destination_id
,
slsch
->
L_CRBs
,
slsch
->
mcs
,
slsch
->
rvidx
,
ret
);
ue_send_sl_sdu
(
0
,
0
,
frame_rx
,
subframe_rx
,
ue
->
dlsch_rx_slsch
->
harq_processes
[
0
]
->
b
,
ue
->
dlsch_rx_slsch
->
harq_processes
[
0
]
->
TBS
>>
3
,
0
,
SL_DISCOVERY_FLAG_NO
);
if
(
slsch
->
rvidx
==
0
)
ue
->
slsch_rxcnt
[
0
]
++
;
else
if
(
slsch
->
rvidx
==
2
)
ue
->
slsch_rxcnt
[
1
]
++
;
else
if
(
slsch
->
rvidx
==
3
)
ue
->
slsch_rxcnt
[
2
]
++
;
...
...
openair2/LAYER2/MAC/ue_procedures.c
View file @
bc4ac268
...
...
@@ -896,11 +896,12 @@ void ue_send_sl_sdu(module_id_t module_idP,
//match the destinationL2Id with UE L2Id or groupL2ID
if
(
!
(((
destinationL2Id
==
UE_mac_inst
[
module_idP
].
sourceL2Id
)
&&
(
j
<
MAX_NUM_LCID
))
|
((
destinationL2Id
==
UE_mac_inst
[
module_idP
].
sourceL2Id
)
&&
(
longh
->
LCID
>=
MAX_NUM_LCID_DATA
))
|
(
i
<
MAX_NUM_LCID
))){
LOG_I
(
MAC
,
"[Destination Id is neither matched with Source Id nor with Group Id, drop the packet!!!
\n
"
);
LOG_W
(
MAC
,
"[Destination Id %d is neither matched with Source Id %d nor with Group Id, drop the packet!!!
\n
"
,
destinationL2Id
,
UE_mac_inst
[
module_idP
].
sourceL2Id
);
return
;
}
if
(
lcid
==
0
)
{
LOG_
I
(
MAC
,
"[Destination Id is neither matched with Source Id nor with Group Id,
drop the packet!!!
\n
"
);
LOG_
W
(
MAC
,
"lcid = 0
drop the packet!!!
\n
"
);
return
;
}
...
...
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