Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
Flexric
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
mosaic5g
Flexric
Commits
3cd78760
Commit
3cd78760
authored
1 year ago
by
mir
Browse files
Options
Downloads
Patches
Plain Diff
Need to debug xapp ric and agent as 3 processes
parent
ff71e54a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!29
Dev to master before release 2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
examples/xApp/c/kpm_rc/xapp_kpm_rc.c
+1
-1
1 addition, 1 deletion
examples/xApp/c/kpm_rc/xapp_kpm_rc.c
examples/xApp/c/monitor/xapp_kpm_moni.c
+5
-1
5 additions, 1 deletion
examples/xApp/c/monitor/xapp_kpm_moni.c
src/ric/near_ric.c
+2
-2
2 additions, 2 deletions
src/ric/near_ric.c
with
8 additions
and
4 deletions
examples/xApp/c/kpm_rc/xapp_kpm_rc.c
+
1
−
1
View file @
3cd78760
...
...
@@ -141,7 +141,7 @@ kpm_act_def_format_4_t gen_act_def_frmt_4(const char* action)
assert
(
dst
.
matching_cond_lst
[
0
].
test_info_lst
.
test_cond
!=
NULL
&&
"Memory exhausted"
);
*
dst
.
matching_cond_lst
[
0
].
test_info_lst
.
test_cond
=
GREATERTHAN_TEST_COND
;
dst
.
matching_cond_lst
[
0
].
test_info_lst
.
test_cond_value
=
calloc
(
1
,
sizeof
(
test_cond_value_
e
));
dst
.
matching_cond_lst
[
0
].
test_info_lst
.
test_cond_value
=
calloc
(
1
,
sizeof
(
test_cond_value_
t
));
assert
(
dst
.
matching_cond_lst
[
0
].
test_info_lst
.
test_cond_value
!=
NULL
&&
"Memory exhausted"
);
dst
.
matching_cond_lst
[
0
].
test_info_lst
.
test_cond_value
->
type
=
INTEGER_TEST_COND_VALUE
;
dst
.
matching_cond_lst
[
0
].
test_info_lst
.
test_cond_value
->
int_value
=
malloc
(
sizeof
(
int64_t
));
...
...
This diff is collapsed.
Click to expand it.
examples/xApp/c/monitor/xapp_kpm_moni.c
+
5
−
1
View file @
3cd78760
...
...
@@ -161,6 +161,10 @@ void sm_cb_kpm(sm_ag_if_rd_t const* rd)
break
;
}
case
ID_MEAS_TYPE
:
printf
(
" ID_MEAS_TYPE
\n
"
);
assert
(
0
!=
0
&&
"Bug here?"
);
break
;
default:
assert
(
false
&&
"Measurement Type not yet implemented"
);
...
...
@@ -249,7 +253,7 @@ kpm_act_def_format_4_t gen_act_def_frmt_4(const char** action)
assert
(
dst
.
matching_cond_lst
[
0
].
test_info_lst
.
test_cond
!=
NULL
&&
"Memory exhausted"
);
*
dst
.
matching_cond_lst
[
0
].
test_info_lst
.
test_cond
=
EQUAL_TEST_COND
;
dst
.
matching_cond_lst
[
0
].
test_info_lst
.
test_cond_value
=
calloc
(
1
,
sizeof
(
test_cond_value_
e
));
dst
.
matching_cond_lst
[
0
].
test_info_lst
.
test_cond_value
=
calloc
(
1
,
sizeof
(
test_cond_value_
t
));
assert
(
dst
.
matching_cond_lst
[
0
].
test_info_lst
.
test_cond_value
!=
NULL
&&
"Memory exhausted"
);
dst
.
matching_cond_lst
[
0
].
test_info_lst
.
test_cond_value
->
type
=
INTEGER_TEST_COND_VALUE
;
dst
.
matching_cond_lst
[
0
].
test_info_lst
.
test_cond_value
->
int_value
=
malloc
(
sizeof
(
int64_t
));
...
...
This diff is collapsed.
Click to expand it.
src/ric/near_ric.c
+
2
−
2
View file @
3cd78760
...
...
@@ -854,7 +854,7 @@ void fwd_ric_subscription_request_delete(near_ric_t* ric, global_e2_node_id_t co
void
*
first
=
assoc_front
(
tree
);
void
*
end
=
assoc_end
(
tree
);
if
(
find_if
(
tree
,
first
,
end
,
&
ev
,
eq_pending_event_ric
)
!=
end
){
printf
(
"[NEAR-RIC]: SUBSCRIPTION REQUEST DELETE RAN FUNC ID %d RIC
REQ
ID %d MSG ALREADY PENDING
\n
"
,
sdr
->
ric_id
.
ran_func_id
,
sdr
->
ric_id
.
ric_req_id
);
printf
(
"[NEAR-RIC]: SUBSCRIPTION REQUEST DELETE RAN FUNC ID %d RIC
_
REQ
_
ID %d MSG ALREADY PENDING
\n
"
,
sdr
->
ric_id
.
ran_func_id
,
sdr
->
ric_id
.
ric_req_id
);
return
;
}
...
...
@@ -868,7 +868,7 @@ void fwd_ric_subscription_request_delete(near_ric_t* ric, global_e2_node_id_t co
e2ap_send_bytes_ric
(
&
ric
->
ep
,
id
,
ba_msg
);
printf
(
"[NEAR-RIC]: SUBSCRIPTION DELETE REQUEST tx RAN FUNC ID %d
RIC
REQ
ID %d
\n
"
,
sdr
->
ric_id
.
ran_func_id
,
sdr
->
ric_id
.
ric_req_id
);
printf
(
"[NEAR-RIC]: SUBSCRIPTION DELETE REQUEST tx RAN FUNC ID %d RIC
_
REQ
_
ID %d
\n
"
,
sdr
->
ric_id
.
ran_func_id
,
sdr
->
ric_id
.
ric_req_id
);
}
uint16_t
fwd_ric_control_request
(
near_ric_t
*
ric
,
global_e2_node_id_t
const
*
id
,
ric_control_request_t
const
*
cr
,
void
(
*
f
)(
e2ap_msg_t
const
*
msg
))
...
...
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