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
zzha zzha
OpenXG-RAN
Commits
0f032447
Commit
0f032447
authored
Jul 01, 2020
by
laurent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bugs in main OAI, begining of PRACH test+fxi
parent
ada39bb2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
6 deletions
+8
-6
common/utils/ocp_itti/intertask_interface.h
common/utils/ocp_itti/intertask_interface.h
+1
-1
executables/ocp-gnb.c
executables/ocp-gnb.c
+4
-2
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+2
-2
openair2/F1AP/f1ap_cu_ue_context_management.c
openair2/F1AP/f1ap_cu_ue_context_management.c
+1
-1
No files found.
common/utils/ocp_itti/intertask_interface.h
View file @
0f032447
...
...
@@ -415,7 +415,7 @@ static const message_info_t messages_info[] = {
#undef MESSAGE_DEF
};
typedef
struct
__attribute__
((
__packed__
))
MessageDef_s
{
typedef
struct
MessageDef_s
{
MessageHeader
ittiMsgHeader
;
/**< Message header */
msg_t
ittiMsg
;
}
MessageDef
;
...
...
executables/ocp-gnb.c
View file @
0f032447
...
...
@@ -253,7 +253,7 @@ void init_gNB_proc(int inst) {
}
/// eNB kept in function name for nffapi calls, TO FIX
void
init_gNB_phase2
(
void
)
{
void
init_gNB_phase2
(
RU_t
*
ru
)
{
int
inst
;
LOG_I
(
PHY
,
"%s() RC.nb_nr_inst:%d
\n
"
,
__FUNCTION__
,
RC
.
nb_nr_inst
);
...
...
@@ -262,6 +262,8 @@ void init_gNB_phase2(void) {
PHY_VARS_gNB
*
gNB
=
RC
.
gNB
[
inst
];
LOG_E
(
PHY
,
"hard coded gNB->num_RU:%d
\n
"
,
gNB
->
num_RU
);
phy_init_nr_gNB
(
gNB
,
0
,
0
);
RC
.
gNB
[
inst
]
->
num_RU
=
1
;
RC
.
gNB
[
inst
]
->
RU_list
[
0
]
=
ru
;
//init_precoding_weights(RC.gNB[inst][CC_id]);
}
}
...
...
@@ -862,7 +864,7 @@ int main( int argc, char **argv ) {
OCPconfig_RU
(
&
ru
);
ru
.
nr_frame_parms
->
threequarter_fs
=
threequarter_fs
;
fill_rf_config
(
&
ru
,
ru
.
rf_config_file
);
init_gNB_phase2
();
init_gNB_phase2
(
&
ru
);
memcpy
((
void
*
)
ru
.
nr_frame_parms
,
&
RC
.
gNB
[
0
][
0
].
frame_parms
,
sizeof
(
NR_DL_FRAME_PARMS
));
memcpy
((
void
*
)
&
ru
.
config
,(
void
*
)
&
RC
.
gNB
[
0
]
->
gNB_config
,
sizeof
(
ru
.
config
));
...
...
openair2/ENB_APP/enb_config.c
View file @
0f032447
...
...
@@ -1545,7 +1545,7 @@ int RCconfig_RRC(uint32_t i, eNB_RRC_INST *rrc, int macrlc_has_f1) {
RRC_CONFIGURATION_REQ
(
msg_p
).
eMBMS_configured
=
0
;
printf
(
"No eMBMS configuration, skipping it
\n
"
);
// eMTC configuration
char
brparamspath
[
MAX_OPTNAME_SIZE
*
2
+
16
];
char
brparamspath
[
MAX_OPTNAME_SIZE
*
2
+
16
0
];
sprintf
(
brparamspath
,
"%s.%s"
,
ccspath
,
ENB_CONFIG_STRING_EMTC_PARAMETERS
);
config_get
(
eMTCParams
,
sizeof
(
eMTCParams
)
/
sizeof
(
paramdef_t
),
brparamspath
);
RRC_CONFIGURATION_REQ
(
msg_p
).
eMTC_configured
=
eMTCconfig
.
eMTC_configured
&
1
;
...
...
@@ -1554,7 +1554,7 @@ int RCconfig_RRC(uint32_t i, eNB_RRC_INST *rrc, int macrlc_has_f1) {
else
printf
(
"No eMTC configuration, skipping it
\n
"
);
// Sidelink configuration
char
SLparamspath
[
MAX_OPTNAME_SIZE
*
2
+
16
];
char
SLparamspath
[
MAX_OPTNAME_SIZE
*
2
+
16
0
];
sprintf
(
SLparamspath
,
"%s.%s"
,
ccspath
,
ENB_CONFIG_STRING_SL_PARAMETERS
);
config_get
(
SLParams
,
sizeof
(
SLParams
)
/
sizeof
(
paramdef_t
),
SLparamspath
);
// Sidelink Resource pool information
...
...
openair2/F1AP/f1ap_cu_ue_context_management.c
View file @
0f032447
...
...
@@ -226,7 +226,7 @@ int CU_send_UE_CONTEXT_SETUP_REQUEST(instance_t instance,
ie
->
value
.
choice
.
ResourceCoordinationTransferContainer
.
buf
=
malloc
(
4
);
ie
->
value
.
choice
.
ResourceCoordinationTransferContainer
.
size
=
4
;
strncpy
((
char
*
)
ie
->
value
.
choice
.
ResourceCoordinationTransferContainer
.
buf
,
"123"
,
3
);
strncpy
((
char
*
)
ie
->
value
.
choice
.
ResourceCoordinationTransferContainer
.
buf
,
"123"
,
4
);
OCTET_STRING_fromBuf
(
&
ie
->
value
.
choice
.
ResourceCoordinationTransferContainer
,
"asdsa1d32sa1d31asd31as"
,
...
...
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