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
Michael Black
OpenXG-RAN
Commits
0976f3e9
Commit
0976f3e9
authored
Aug 31, 2021
by
Laurent THOMAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
69c87b23
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
8 deletions
+7
-8
openair1/SIMULATION/ETH_TRANSPORT/netlink_init.c
openair1/SIMULATION/ETH_TRANSPORT/netlink_init.c
+2
-2
openair2/F1AP/f1ap_du_ue_context_management.c
openair2/F1AP/f1ap_du_ue_context_management.c
+2
-4
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+1
-0
openair3/SCTP/sctp_eNB_task.c
openair3/SCTP/sctp_eNB_task.c
+2
-2
No files found.
openair1/SIMULATION/ETH_TRANSPORT/netlink_init.c
View file @
0976f3e9
...
...
@@ -103,7 +103,7 @@ int netlink_init_mbms_tun(char *ifprefix) {
nas_sock_mbms_fd
=
tun_alloc
(
ifname
);
if
(
nas_sock_mbms_fd
==
-
1
)
{
printf
(
"[NETLINK] Error opening socket %s (%d:%s)
\n
"
,
ifname
,
errno
,
strerror
(
errno
));
printf
(
"[NETLINK] Error opening
mbms
socket %s (%d:%s)
\n
"
,
ifname
,
errno
,
strerror
(
errno
));
exit
(
1
);
}
...
...
@@ -161,7 +161,7 @@ int netlink_init(void) {
nas_sock_fd
[
0
]
=
socket
(
PF_NETLINK
,
SOCK_RAW
,
GRAAL_NETLINK_ID
);
if
(
nas_sock_fd
[
0
]
==
-
1
)
{
printf
(
"[NETLINK] Error opening socket %d (%d:%s)
\n
"
,
nas_sock_fd
[
0
],
errno
,
strerror
(
errno
));
printf
(
"[NETLINK] Error opening
GRAAL_NETLINK_ID
socket %d (%d:%s)
\n
"
,
nas_sock_fd
[
0
],
errno
,
strerror
(
errno
));
if
(
LINK_ENB_PDCP_TO_IP_DRIVER
)
{
exit
(
1
);
...
...
openair2/F1AP/f1ap_du_ue_context_management.c
View file @
0976f3e9
...
...
@@ -100,8 +100,6 @@ int DU_handle_UE_CONTEXT_SETUP_REQUEST(instance_t instance,
f1ap_ue_context_setup_req
->
cellULConfigured
=
NULL
;
}
f1ap_drb_to_be_setup_t
*
drb_p
;
f1ap_srb_to_be_setup_t
*
srb_p
;
if
(
RC
.
nrrrc
)
{
/* RRCContainer */
F1AP_FIND_PROTOCOLIE_BY_ID
(
F1AP_UEContextSetupRequestIEs_t
,
ie
,
container
,
...
...
@@ -113,7 +111,7 @@ int DU_handle_UE_CONTEXT_SETUP_REQUEST(instance_t instance,
"could not allocate memory for f1ap_ue_context_setup_req->drbs_to_be_setup
\n
"
);
for
(
i
=
0
;
i
<
f1ap_ue_context_setup_req
->
drbs_to_be_setup_length
;
++
i
)
{
drb_p
=
&
f1ap_ue_context_setup_req
->
drbs_to_be_setup
[
i
];
f1ap_drb_to_be_setup_t
*
drb_p
=
&
f1ap_ue_context_setup_req
->
drbs_to_be_setup
[
i
];
F1AP_DRBs_ToBeSetup_Item_t
*
drbs_tobesetup_item_p
;
drbs_tobesetup_item_p
=
&
((
F1AP_DRBs_ToBeSetup_ItemIEs_t
*
)
ie
->
value
.
choice
.
DRBs_ToBeSetup_List
.
list
.
array
[
i
])
->
value
.
choice
.
DRBs_ToBeSetup_Item
;
drb_p
->
drb_id
=
drbs_tobesetup_item_p
->
dRBID
;
...
...
@@ -146,7 +144,7 @@ int DU_handle_UE_CONTEXT_SETUP_REQUEST(instance_t instance,
"could not allocate memory for f1ap_ue_context_setup_req->srbs_to_be_setup
\n
"
);
for
(
i
=
0
;
i
<
f1ap_ue_context_setup_req
->
srbs_to_be_setup_length
;
++
i
)
{
srb_p
=
&
f1ap_ue_context_setup_req
->
srbs_to_be_setup
[
i
];
f1ap_srb_to_be_setup_t
*
srb_p
=
&
f1ap_ue_context_setup_req
->
srbs_to_be_setup
[
i
];
F1AP_SRBs_ToBeSetup_Item_t
*
srbs_tobesetup_item_p
;
srbs_tobesetup_item_p
=
&
((
F1AP_SRBs_ToBeSetup_ItemIEs_t
*
)
ie
->
value
.
choice
.
SRBs_ToBeSetup_List
.
list
.
array
[
i
])
->
value
.
choice
.
SRBs_ToBeSetup_Item
;
srb_p
->
srb_id
=
srbs_tobesetup_item_p
->
sRBID
;
...
...
openair2/RRC/NR/rrc_gNB.c
View file @
0976f3e9
...
...
@@ -3151,6 +3151,7 @@ static void rrc_DU_process_ue_context_setup_request(MessageDef *msg_p, const cha
ASN_SEQUENCE_ADD
(
&
DRB_configList
->
list
,
DRB_config
);
}
apply_macrlc_config
(
rrc
,
ue_context_p
,
&
ctxt
);
}
unsigned
int
mask_flip
(
unsigned
int
x
)
{
...
...
openair3/SCTP/sctp_eNB_task.c
View file @
0976f3e9
...
...
@@ -451,7 +451,7 @@ sctp_handle_new_association_req(
if
(
s
>
0
)
{
if
(((
struct
sockaddr_in
*
)
ifa
->
ifa_addr
)
->
sin_addr
.
s_addr
==
in
.
s_addr
)
{
struct
sockaddr_in
locaddr
;
struct
sockaddr_in
locaddr
=
{
0
}
;
locaddr
.
sin_family
=
AF_INET
;
locaddr
.
sin_port
=
0
;
locaddr
.
sin_addr
.
s_addr
=
in
.
s_addr
;
...
...
@@ -693,7 +693,7 @@ static int sctp_create_new_listener(
sctp_init_t
*
init_p
,
int
server_type
)
{
struct
sctp_event_subscribe
event
;
struct
sctp_event_subscribe
event
=
{
0
}
;
struct
sockaddr
*
addr
=
NULL
;
struct
sctp_cnx_list_elm_s
*
sctp_cnx
=
NULL
;
uint16_t
i
=
0
,
j
=
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