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
lizhongxiao
OpenXG-RAN
Commits
5b5fa7fa
Commit
5b5fa7fa
authored
Feb 11, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Read slices in DU
parent
43824d3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
openair2/COMMON/f1ap_messages_types.h
openair2/COMMON/f1ap_messages_types.h
+1
-1
openair2/GNB_APP/gnb_config.c
openair2/GNB_APP/gnb_config.c
+12
-2
No files found.
openair2/COMMON/f1ap_messages_types.h
View file @
5b5fa7fa
...
...
@@ -131,7 +131,7 @@ typedef struct f1ap_served_cell_info_t {
// Number of slide support items (max 16, could be increased to as much as 1024)
uint16_t
num_ssi
;
uint8_t
sst
;
uint
8
_t
sd
;
uint
32
_t
sd
;
f1ap_mode_t
mode
;
union
{
...
...
openair2/GNB_APP/gnb_config.c
View file @
5b5fa7fa
...
...
@@ -1097,8 +1097,18 @@ static int read_du_cell_info(configmodule_interface_t *cfg,
info
->
plmn
.
mnc_digit_length
);
info
->
nr_cellid
=
(
uint64_t
)
*
(
GNBParamList
.
paramarray
[
0
][
GNB_NRCELLID_IDX
].
u64ptr
);
LOG_W
(
GNB_APP
,
"no slices transported via F1 Setup Request!
\n
"
);
info
->
num_ssi
=
0
;
info
->
num_ssi
=
1
;
paramdef_t
SNSSAIParams
[]
=
GNBSNSSAIPARAMS_DESC
;
checkedparam_t
config_check_SNSSAIParams
[]
=
SNSSAIPARAMS_CHECK
;
for
(
int
J
=
0
;
J
<
sizeof
(
SNSSAIParams
)
/
sizeof
(
paramdef_t
);
++
J
)
SNSSAIParams
[
J
].
chkPptr
=
&
(
config_check_SNSSAIParams
[
J
]);
paramlist_def_t
SNSSAIParamList
=
{
GNB_CONFIG_STRING_SNSSAI_LIST
,
NULL
,
0
};
char
snssaistr
[
MAX_OPTNAME_SIZE
*
2
+
8
];
sprintf
(
snssaistr
,
"%s.[%i].%s.[%i]"
,
GNB_CONFIG_STRING_GNB_LIST
,
0
,
GNB_CONFIG_STRING_PLMN_LIST
,
0
);
config_getlist
(
config_get_if
(),
&
SNSSAIParamList
,
SNSSAIParams
,
sizeof
(
SNSSAIParams
)
/
sizeof
(
paramdef_t
),
snssaistr
);
AssertFatal
(
SNSSAIParamList
.
numelt
==
1
,
"cannot handle no NSSAI or more than 1
\n
"
);
info
->
sst
=
*
SNSSAIParamList
.
paramarray
[
0
][
GNB_SLICE_SERVICE_TYPE_IDX
].
uptr
;
info
->
sd
=
*
SNSSAIParamList
.
paramarray
[
0
][
GNB_SLICE_DIFFERENTIATOR_IDX
].
uptr
;
return
1
;
}
...
...
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