Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
eb711645
Commit
eb711645
authored
Nov 24, 2016
by
Bilel
Browse files
fix issue#33 : RLC AM BO
parent
ec92c555
Changes
1
Hide whitespace changes
Inline
Side-by-side
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am.c
View file @
eb711645
...
...
@@ -53,6 +53,7 @@ rlc_am_get_buffer_occupancy_in_bytes (
uint32_t
header_overhead
;
// priority of control trafic
rlc_pP
->
status_buffer_occupancy
=
0
;
if
(
rlc_pP
->
status_requested
)
{
if
(
rlc_pP
->
t_status_prohibit
.
running
==
0
)
{
#if TRACE_RLC_AM_BO
...
...
@@ -64,7 +65,7 @@ rlc_am_get_buffer_occupancy_in_bytes (
}
#endif
r
eturn
((
15
+
rlc_pP
->
num_nack_sn
*
(
10
+
1
)
+
rlc_pP
->
num_nack_so
*
(
15
+
15
+
1
)
+
7
)
>>
3
);
r
lc_pP
->
status_buffer_occupancy
=
((
15
+
rlc_pP
->
num_nack_sn
*
(
10
+
1
)
+
rlc_pP
->
num_nack_so
*
(
15
+
15
+
1
)
+
7
)
>>
3
);
}
}
...
...
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