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
spbro
OpenXG-RAN
Commits
2acecb40
Commit
2acecb40
authored
Oct 01, 2021
by
Laurent THOMAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code review, CI result configuration issues, gcc warnings
parent
da653167
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
28 additions
and
52 deletions
+28
-52
ci-scripts/conf_files/cu.band7.tm1.100PRB.conf
ci-scripts/conf_files/cu.band7.tm1.100PRB.conf
+5
-5
ci-scripts/conf_files/gNB_SA_CU.conf
ci-scripts/conf_files/gNB_SA_CU.conf
+5
-5
ci-scripts/conf_files/gNB_SA_DU.conf
ci-scripts/conf_files/gNB_SA_DU.conf
+2
-2
openair2/F1AP/f1ap_cu_interface_management.c
openair2/F1AP/f1ap_cu_interface_management.c
+1
-1
openair2/F1AP/f1ap_cu_rrc_message_transfer.c
openair2/F1AP/f1ap_cu_rrc_message_transfer.c
+1
-20
openair2/F1AP/f1ap_du_task.c
openair2/F1AP/f1ap_du_task.c
+0
-5
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
+9
-9
openair3/ocp-gtpu/gtp_itf.cpp
openair3/ocp-gtpu/gtp_itf.cpp
+5
-5
No files found.
ci-scripts/conf_files/cu.band7.tm1.100PRB.conf
View file @
2acecb40
...
@@ -13,7 +13,7 @@ eNBs = (
...
@@ -13,7 +13,7 @@ eNBs = (
//
Tracking
area
code
,
0
x0000
and
0
xfffe
are
reserved
values
//
Tracking
area
code
,
0
x0000
and
0
xfffe
are
reserved
values
tracking_area_code
=
1
;
tracking_area_code
=
1
;
plmn_list
= ( {
mcc
=
450
;
mnc
=
05
;
mnc_length
=
2
; } )
plmn_list
= ( {
mcc
=
208
;
mnc
=
92
;
mnc_length
=
2
; } )
nr_cellid
=
12345678
L
nr_cellid
=
12345678
L
...
@@ -179,7 +179,7 @@ eNBs = (
...
@@ -179,7 +179,7 @@ eNBs = (
//////////
MME
parameters
:
//////////
MME
parameters
:
mme_ip_address
= (
mme_ip_address
= (
{
{
ipv4
=
"
192.168.5.233
"
;
ipv4
=
"
CI_MME_IP_ADDR
"
;
ipv6
=
"192:168:30::17"
;
ipv6
=
"192:168:30::17"
;
port
=
36412
;
port
=
36412
;
active
=
"yes"
;
active
=
"yes"
;
...
@@ -189,11 +189,11 @@ eNBs = (
...
@@ -189,11 +189,11 @@ eNBs = (
NETWORK_INTERFACES
: {
NETWORK_INTERFACES
: {
ENB_INTERFACE_NAME_FOR_S1_MME
=
"eth0"
;
ENB_INTERFACE_NAME_FOR_S1_MME
=
"eth0"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"
192.168.5.244
"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"
CI_ENB_IP_ADDR
"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"eth0"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"eth0"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"
192.168.5.244
"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"
CI_ENB_IP_ADDR
"
;
ENB_PORT_FOR_S1U
=
2152
;
# Spec 2152
ENB_PORT_FOR_S1U
=
2152
;
# Spec 2152
ENB_IPV4_ADDRESS_FOR_X2C
=
"
192.168.5.244
"
;
ENB_IPV4_ADDRESS_FOR_X2C
=
"
CI_ENB_IP_ADDR
"
;
ENB_PORT_FOR_X2C
=
36422
;
# Spec 36422
ENB_PORT_FOR_X2C
=
36422
;
# Spec 36422
};
};
}
}
...
...
ci-scripts/conf_files/gNB_SA_CU.conf
View file @
2acecb40
...
@@ -17,8 +17,8 @@ gNBs =
...
@@ -17,8 +17,8 @@ gNBs =
//
Tracking
area
code
,
0
x0000
and
0
xfffe
are
reserved
values
//
Tracking
area
code
,
0
x0000
and
0
xfffe
are
reserved
values
tracking_area_code
=
1
;
tracking_area_code
=
1
;
plmn_list
= ({
plmn_list
= ({
mcc
=
450
;
mcc
=
208
;
mnc
=
05
;
mnc
=
99
;
mnc_length
=
2
;
mnc_length
=
2
;
snssaiList
= (
snssaiList
= (
{
{
...
@@ -66,10 +66,10 @@ gNBs =
...
@@ -66,10 +66,10 @@ gNBs =
NETWORK_INTERFACES
:
NETWORK_INTERFACES
:
{
{
GNB_INTERFACE_NAME_FOR_NG_AMF
=
"e
np0s31f6:
"
;
GNB_INTERFACE_NAME_FOR_NG_AMF
=
"e
th0
"
;
GNB_IPV4_ADDRESS_FOR_NG_AMF
=
"
192.168.5.244/24
"
;
GNB_IPV4_ADDRESS_FOR_NG_AMF
=
"
CI_GNB_IP_ADDR
"
;
GNB_INTERFACE_NAME_FOR_NGU
=
"bond0"
;
GNB_INTERFACE_NAME_FOR_NGU
=
"bond0"
;
GNB_IPV4_ADDRESS_FOR_NGU
=
"
192.168.5.244/24
"
;
GNB_IPV4_ADDRESS_FOR_NGU
=
"
"
CI_GNB_IP_ADDR
"
;
GNB_PORT_FOR_S1U
=
2152
;
# Spec 2152
GNB_PORT_FOR_S1U
=
2152
;
# Spec 2152
};
};
}
}
...
...
ci-scripts/conf_files/gNB_SA_DU.conf
View file @
2acecb40
...
@@ -16,8 +16,8 @@ gNBs =
...
@@ -16,8 +16,8 @@ gNBs =
//
Tracking
area
code
,
0
x0000
and
0
xfffe
are
reserved
values
//
Tracking
area
code
,
0
x0000
and
0
xfffe
are
reserved
values
tracking_area_code
=
1
;
tracking_area_code
=
1
;
plmn_list
= ({
plmn_list
= ({
mcc
=
450
;
mcc
=
208
;
mnc
=
05
;
mnc
=
99
;
mnc_length
=
2
;
mnc_length
=
2
;
snssaiList
= (
snssaiList
= (
{
{
...
...
openair2/F1AP/f1ap_cu_interface_management.c
View file @
2acecb40
...
@@ -221,7 +221,7 @@ int CU_handle_F1_SETUP_REQUEST(instance_t instance,
...
@@ -221,7 +221,7 @@ int CU_handle_F1_SETUP_REQUEST(instance_t instance,
}
}
}
else
{
}
else
{
CU_send_F1_SETUP_FAILURE
(
instance
);
CU_send_F1_SETUP_FAILURE
(
instance
);
itti_free
(
TASK_
RRC_GNB
,
message_p
);
itti_free
(
TASK_
CU_F1
,
message_p
);
return
-
1
;
return
-
1
;
}
}
...
...
openair2/F1AP/f1ap_cu_rrc_message_transfer.c
View file @
2acecb40
...
@@ -288,28 +288,9 @@ int CU_handle_UL_RRC_MESSAGE_TRANSFER(instance_t instance,
...
@@ -288,28 +288,9 @@ int CU_handle_UL_RRC_MESSAGE_TRANSFER(instance_t instance,
/* RRC Container */
/* RRC Container */
F1AP_FIND_PROTOCOLIE_BY_ID
(
F1AP_ULRRCMessageTransferIEs_t
,
ie
,
container
,
F1AP_FIND_PROTOCOLIE_BY_ID
(
F1AP_ULRRCMessageTransferIEs_t
,
ie
,
container
,
F1AP_ProtocolIE_ID_id_RRCContainer
,
true
);
F1AP_ProtocolIE_ID_id_RRCContainer
,
true
);
// print message in debug mode
// create an ITTI message and copy SDU
/*
message_p = itti_alloc_new_message (TASK_CU_F1, 0, RRC_DCCH_DATA_IND);
RRC_DCCH_DATA_IND (message_p).sdu_p = malloc(ie->value.choice.RRCContainer.size);
RRC_DCCH_DATA_IND (message_p).sdu_size = ie->value.choice.RRCContainer.size;
memcpy(RRC_DCCH_DATA_IND (message_p).sdu_p, ie->value.choice.RRCContainer.buf,
ie->value.choice.RRCContainer.size);
RRC_DCCH_DATA_IND (message_p).dcch_index = srb_id;
RRC_DCCH_DATA_IND (message_p).rnti = f1ap_get_rnti_by_cu_id(CUtype, instance, cu_ue_f1ap_id);
RRC_DCCH_DATA_IND (message_p).instance = instance;
RRC_DCCH_DATA_IND (message_p).eNB_index = instance; // not needed for CU
itti_send_msg_to_task(TASK_RRC_ENB, instance, message_p);
*/
protocol_ctxt_t
ctxt
;
protocol_ctxt_t
ctxt
;
ctxt
.
instance
=
instance
;
ctxt
.
instance
=
instance
;
ctxt
.
instance
=
instance
;
ctxt
.
module_id
=
instance
;
ctxt
.
rnti
=
f1ap_get_rnti_by_cu_id
(
CUtype
,
instance
,
cu_ue_f1ap_id
);
ctxt
.
rnti
=
f1ap_get_rnti_by_cu_id
(
CUtype
,
instance
,
cu_ue_f1ap_id
);
ctxt
.
enb_flag
=
1
;
ctxt
.
enb_flag
=
1
;
ctxt
.
eNB_index
=
0
;
ctxt
.
eNB_index
=
0
;
...
...
openair2/F1AP/f1ap_du_task.c
View file @
2acecb40
...
@@ -85,11 +85,6 @@ void du_task_handle_sctp_association_resp(instance_t instance, sctp_new_associat
...
@@ -85,11 +85,6 @@ void du_task_handle_sctp_association_resp(instance_t instance, sctp_new_associat
f1ap_du_data
->
sctp_out_streams
=
sctp_new_association_resp
->
out_streams
;
f1ap_du_data
->
sctp_out_streams
=
sctp_new_association_resp
->
out_streams
;
f1ap_du_data
->
default_sctp_stream_id
=
0
;
f1ap_du_data
->
default_sctp_stream_id
=
0
;
/* setup parameters for F1U and start the server */
/* setup parameters for F1U and start the server */
eth_params_t
*
tmp
;
if
(
RC
.
nrmac
)
tmp
=
&
RC
.
nrmac
[
instance
]
->
eth_params_n
;
else
tmp
=
&
RC
.
mac
[
instance
]
->
eth_params_n
;
DU_send_F1_SETUP_REQUEST
(
instance
);
DU_send_F1_SETUP_REQUEST
(
instance
);
}
}
...
...
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
View file @
2acecb40
...
@@ -537,16 +537,16 @@ rb_found:
...
@@ -537,16 +537,16 @@ rb_found:
__func__
,
rb_id
,
size
);
__func__
,
rb_id
,
size
);
extern
instance_t
CUuniqInstance
;
extern
instance_t
CUuniqInstance
;
itti_send_msg_to_task
(
TASK_VARIABLE
,
CUuniqInstance
,
message_p
);
itti_send_msg_to_task
(
TASK_VARIABLE
,
CUuniqInstance
,
message_p
);
return
;
}
else
{
}
memblock
=
get_free_mem_block
(
size
,
__FUNCTION__
);
memblock
=
get_free_mem_block
(
size
,
__FUNCTION__
);
memcpy
(
memblock
->
data
,
buf
,
size
);
memcpy
(
memblock
->
data
,
buf
,
size
);
LOG_D
(
PDCP
,
"%s(): (srb %d) calling rlc_data_req size %d
\n
"
,
__func__
,
rb_id
,
size
);
LOG_D
(
PDCP
,
"%s(): (srb %d) calling rlc_data_req size %d
\n
"
,
__func__
,
rb_id
,
size
);
//for (i = 0; i < size; i++) printf(" %2.2x", (unsigned char)memblock->data[i]);
//for (i = 0; i < size; i++) printf(" %2.2x", (unsigned char)memblock->data[i]);
//printf("\n");
//printf("\n");
enqueue_rlc_data_req
(
&
ctxt
,
0
,
MBMS_FLAG_NO
,
rb_id
,
sdu_id
,
0
,
size
,
memblock
);
enqueue_rlc_data_req
(
&
ctxt
,
0
,
MBMS_FLAG_NO
,
rb_id
,
sdu_id
,
0
,
size
,
memblock
);
}
}
}
static
void
deliver_sdu_srb
(
void
*
_ue
,
nr_pdcp_entity_t
*
entity
,
static
void
deliver_sdu_srb
(
void
*
_ue
,
nr_pdcp_entity_t
*
entity
,
...
...
openair3/ocp-gtpu/gtp_itf.cpp
View file @
2acecb40
...
@@ -601,7 +601,7 @@ int newGtpuDeleteTunnel(instance_t instance, rnti_t rnti) {
...
@@ -601,7 +601,7 @@ int newGtpuDeleteTunnel(instance_t instance, rnti_t rnti) {
auto
it
=
inst
->
ue2te_mapping
.
find
(
rnti
);
auto
it
=
inst
->
ue2te_mapping
.
find
(
rnti
);
if
(
it
==
inst
->
ue2te_mapping
.
end
()
)
{
if
(
it
==
inst
->
ue2te_mapping
.
end
()
)
{
LOG_W
(
GTPU
,
"[%ld] Delete
a non existing GTP tunnel
\n
"
,
instance
);
LOG_W
(
GTPU
,
"[%ld] Delete
GTP tunnels for rnti: %x, but no tunnel exits
\n
"
,
instance
,
rnti
);
pthread_mutex_unlock
(
&
globGtp
.
gtp_lock
);
pthread_mutex_unlock
(
&
globGtp
.
gtp_lock
);
return
-
1
;
return
-
1
;
}
}
...
@@ -617,7 +617,7 @@ int newGtpuDeleteTunnel(instance_t instance, rnti_t rnti) {
...
@@ -617,7 +617,7 @@ int newGtpuDeleteTunnel(instance_t instance, rnti_t rnti) {
inst
->
ue2te_mapping
.
erase
(
it
);
inst
->
ue2te_mapping
.
erase
(
it
);
pthread_mutex_unlock
(
&
globGtp
.
gtp_lock
);
pthread_mutex_unlock
(
&
globGtp
.
gtp_lock
);
LOG_I
(
GTPU
,
"[%ld] Deleted all tunnels for RNTI %
d
(%d tunnels deleted)
\n
"
,
instance
,
rnti
,
nb
);
LOG_I
(
GTPU
,
"[%ld] Deleted all tunnels for RNTI %
x
(%d tunnels deleted)
\n
"
,
instance
,
rnti
,
nb
);
return
!
GTPNOK
;
return
!
GTPNOK
;
}
}
...
@@ -639,7 +639,7 @@ static int Gtpv1uHandleEchoReq(int h,
...
@@ -639,7 +639,7 @@ static int Gtpv1uHandleEchoReq(int h,
uint32_t
msgBufLen
,
uint32_t
msgBufLen
,
uint16_t
peerPort
,
uint16_t
peerPort
,
uint32_t
peerIp
)
{
uint32_t
peerIp
)
{
LOG_E
(
GTPU
,
"to be dev
\n
"
);
LOG_E
(
GTPU
,
"
EchoReq reply
to be dev
\n
"
);
int
rc
=
GTPNOK
;
int
rc
=
GTPNOK
;
return
rc
;
return
rc
;
}
}
...
@@ -649,7 +649,7 @@ static int Gtpv1uHandleError(int h,
...
@@ -649,7 +649,7 @@ static int Gtpv1uHandleError(int h,
uint32_t
msgBufLen
,
uint32_t
msgBufLen
,
uint16_t
peerPort
,
uint16_t
peerPort
,
uint32_t
peerIp
)
{
uint32_t
peerIp
)
{
LOG_E
(
GTPU
,
"to be dev
\n
"
);
LOG_E
(
GTPU
,
"
Hadle error
to be dev
\n
"
);
int
rc
=
GTPNOK
;
int
rc
=
GTPNOK
;
return
rc
;
return
rc
;
}
}
...
@@ -659,7 +659,7 @@ static int Gtpv1uHandleSupportedExt(int h,
...
@@ -659,7 +659,7 @@ static int Gtpv1uHandleSupportedExt(int h,
uint32_t
msgBufLen
,
uint32_t
msgBufLen
,
uint16_t
peerPort
,
uint16_t
peerPort
,
uint32_t
peerIp
)
{
uint32_t
peerIp
)
{
LOG_E
(
GTPU
,
"to be dev
\n
"
);
LOG_E
(
GTPU
,
"
Supported extensions
to be dev
\n
"
);
int
rc
=
GTPNOK
;
int
rc
=
GTPNOK
;
return
rc
;
return
rc
;
}
}
...
...
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