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
138ed2fb
Commit
138ed2fb
authored
Oct 10, 2016
by
fnabet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[OAI-UE] fixes:
1- frame/subframe update 2- ccch discard regression
parent
b11ed995
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
10 deletions
+7
-10
openair2/LAYER2/MAC/ue_procedures.c
openair2/LAYER2/MAC/ue_procedures.c
+0
-8
targets/RT/USER/lte-ue.c
targets/RT/USER/lte-ue.c
+7
-2
No files found.
openair2/LAYER2/MAC/ue_procedures.c
View file @
138ed2fb
...
...
@@ -165,14 +165,6 @@ unsigned char *parse_header(unsigned char *mac_header,
lcid
=
((
SCH_SUBHEADER_FIXED
*
)
mac_header_ptr
)
->
LCID
;
if
(
lcid
<
UE_CONT_RES
)
{
//FNA: Contention Resolution check according to Annex B of 36.321
// if this is for CCCH then a Contention Resolution must have been parsed before
if
((
lcid
==
0
)
&&
(
num_cont_res
==
0
))
{
LOG_W
(
MAC
,
"[UE] Msg4 Wrong received format: CCCH received without Contention Resolution before
\n
"
);
// exit parsing
return
NULL
;
}
//printf("[MAC][UE] header %x.%x.%x\n",mac_header_ptr[0],mac_header_ptr[1],mac_header_ptr[2]);
if
(
not_done
==
0
)
{
// last MAC SDU, length is implicit
mac_header_ptr
++
;
...
...
targets/RT/USER/lte-ue.c
View file @
138ed2fb
...
...
@@ -1035,8 +1035,8 @@ void *UE_thread(void *arg) {
}
// start_rx_stream==0
else
{
UE
->
proc
.
proc_rxtx
[
0
].
frame_rx
++
;
UE
->
proc
.
proc_rxtx
[
1
].
frame_rx
++
;
//
UE->proc.proc_rxtx[0].frame_rx++;
//
UE->proc.proc_rxtx[1].frame_rx++;
for
(
int
sf
=
0
;
sf
<
10
;
sf
++
)
{
for
(
i
=
0
;
i
<
UE
->
frame_parms
.
nb_antennas_rx
;
i
++
)
...
...
@@ -1122,6 +1122,11 @@ void *UE_thread(void *arg) {
}
// increment instance count and change proc subframe/frame variables
int
instance_cnt_rxtx
=
++
proc
->
instance_cnt_rxtx
;
if
(
sf
==
0
)
{
UE
->
proc
.
proc_rxtx
[
0
].
frame_rx
++
;
UE
->
proc
.
proc_rxtx
[
1
].
frame_rx
++
;
}
proc
->
subframe_rx
=
sf
;
proc
->
subframe_tx
=
(
sf
+
4
)
%
10
;
proc
->
frame_tx
=
proc
->
frame_rx
+
((
proc
->
subframe_rx
>
5
)
?
1
:
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