Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kun
openairinterface5G
Commits
2f3483d1
Commit
2f3483d1
authored
8 years ago
by
ROBERT Benoit
Browse files
Options
Downloads
Patches
Plain Diff
correct issue 154 on PDCP fifo for noS1 mode
parent
8f6746be
Branches
issue-154-PDCP_FIFO_NETLINK
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openair2/LAYER2/PDCP_v10.1.0/pdcp_fifo.c
+9
-5
9 additions, 5 deletions
openair2/LAYER2/PDCP_v10.1.0/pdcp_fifo.c
with
9 additions
and
5 deletions
openair2/LAYER2/PDCP_v10.1.0/pdcp_fifo.c
+
9
−
5
View file @
2f3483d1
...
...
@@ -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
"
);
...
...
@@ -493,7 +497,7 @@ int pdcp_fifo_read_input_sdus (const protocol_ctxt_t* const ctxt_pP)
ctxt
.
enb_flag
=
ctxt_cpy
.
enb_flag
;
#ifdef PDCP_DEBUG
LOG_
D
(
PDCP
,
"[PDCP][NETLINK] pdcp_read_header_g.rb_id = %d
\n
"
,
pdcp_read_header_g
.
rb_id
);
LOG_
I
(
PDCP
,
"[PDCP][NETLINK] pdcp_read_header_g.rb_id = %d
\n
"
,
pdcp_read_header_g
.
rb_id
);
#endif
if
(
ctxt_cpy
.
enb_flag
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment