Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
openairinterface5G
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
19
Issues
19
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
oai1B
openairinterface5G
Commits
425b6fd5
Commit
425b6fd5
authored
Dec 05, 2016
by
ROBERT Benoit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct issue oai1B 41 - PDCP_FIFO-NETLINK-limited-bandwidth-in-noS1-mode
parent
9bea08ab
Pipeline
#3254
skipped with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
openair2/LAYER2/PDCP_v10.1.0/pdcp_fifo.c
openair2/LAYER2/PDCP_v10.1.0/pdcp_fifo.c
+9
-4
No files found.
openair2/LAYER2/PDCP_v10.1.0/pdcp_fifo.c
View file @
425b6fd5
...
...
@@ -424,18 +424,22 @@ int pdcp_fifo_read_input_sdus (const protocol_ctxt_t* const ctxt_pP)
return
0
;
# else
/* PDCP_USE_NETLINK_QUEUES*/
int
len
=
1
;
int
msg_len
;
rb_id_t
rab_id
=
0
;
while
(
len
>
0
)
{
int
rlc_data_req_flag
=
3
;
while
((
len
>
0
)
&&
(
rlc_data_req_flag
!=
0
))
{
len
=
recvmsg
(
nas_sock_fd
,
&
nas_msg_rx
,
0
);
if
(
len
<=
0
)
{
// nothing in pdcp NAS socket
//LOG_D(PDCP, "[PDCP][NETLINK] Nothing in socket, length %d \n", len);
}
else
{
msg_len
=
len
;
for
(
nas_nlh_rx
=
(
struct
nlmsghdr
*
)
nl_rx_buf
;
NLMSG_OK
(
nas_nlh_rx
,
len
);
nas_nlh_rx
=
NLMSG_NEXT
(
nas_nlh_rx
,
len
))
{
NLMSG_OK
(
nas_nlh_rx
,
msg_
len
);
nas_nlh_rx
=
NLMSG_NEXT
(
nas_nlh_rx
,
msg_
len
))
{
if
(
nas_nlh_rx
->
nlmsg_type
==
NLMSG_DONE
)
{
LOG_D
(
PDCP
,
"[PDCP][NETLINK] RX NLMSG_DONE
\n
"
);
...
...
@@ -553,6 +557,7 @@ int pdcp_fifo_read_input_sdus (const protocol_ctxt_t* const ctxt_pP)
pdcp_read_header_g
.
data_size
,
(
unsigned
char
*
)
NLMSG_DATA
(
nas_nlh_rx
),
PDCP_TRANSMISSION_MODE_DATA
);
rlc_data_req_flag
-=
1
;
}
else
{
LOG_D
(
PDCP
,
"[FRAME %5u][eNB][IP][INSTANCE %u][RB %u][--- PDCP_DATA_REQ / %d Bytes ---X][PDCP][MOD %u][UE %u][RB %u] NON INSTANCIATED INSTANCE, DROPPED
\n
"
,
ctxt
.
frame
,
...
...
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