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
81982725
Commit
81982725
authored
2 years ago
by
Robert Schmidt
Committed by
francescomani
1 year ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Review remarks
parent
931cf0a8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
common/utils/threadPool/thread-pool.h
common/utils/threadPool/thread-pool.h
+2
-2
openair2/LAYER2/MAC/eNB_scheduler_mch.c
openair2/LAYER2/MAC/eNB_scheduler_mch.c
+4
-2
openair2/RRC/LTE/rrc_UE.c
openair2/RRC/LTE/rrc_UE.c
+2
-1
No files found.
common/utils/threadPool/thread-pool.h
View file @
81982725
...
...
@@ -292,7 +292,7 @@ static inline notifiedFIFO_elt_t *pullTpool(notifiedFIFO_t *responseFifo, tpool_
if
(
t
->
traceFd
>
0
)
{
ssize_t
b
=
write
(
t
->
traceFd
,
msg
,
sizeof
(
*
msg
));
AssertFatal
(
b
>
0
,
"error in write(): %d, %s
\n
"
,
errno
,
strerror
(
errno
));
AssertFatal
(
b
==
sizeof
(
*
msg
)
,
"error in write(): %d, %s
\n
"
,
errno
,
strerror
(
errno
));
}
return
msg
;
...
...
@@ -309,7 +309,7 @@ static inline notifiedFIFO_elt_t *tryPullTpool(notifiedFIFO_t *responseFifo, tpo
if
(
t
->
traceFd
>
0
)
{
ssize_t
b
=
write
(
t
->
traceFd
,
msg
,
sizeof
(
*
msg
));
AssertFatal
(
b
>
0
,
"error in write(): %d, %s
\n
"
,
errno
,
strerror
(
errno
));
AssertFatal
(
b
==
sizeof
(
*
msg
)
,
"error in write(): %d, %s
\n
"
,
errno
,
strerror
(
errno
));
}
return
msg
;
...
...
This diff is collapsed.
Click to expand it.
openair2/LAYER2/MAC/eNB_scheduler_mch.c
View file @
81982725
...
...
@@ -140,10 +140,11 @@ schedule_MBMS_NFAPI(module_id_t module_idP, uint8_t CC_id, frame_t frameP,
mac_rlc_status_resp_t
rlc_status
;
int
num_mtch
=
0
;
int
msi_length
=
0
,
i
,
k
;
int8_t
j
=
-
1
;
unsigned
char
sdu_lcids
[
11
],
num_sdus
=
0
,
offset
=
0
;
uint16_t
sdu_lengths
[
11
],
sdu_length_total
=
0
;
unsigned
char
mch_buffer
[
MAX_DLSCH_PAYLOAD_BYTES
];
// check the max value, this is for dlsch only
int16_t
j
=
-
1
;
COMMON_channels_t
*
cc
=
&
RC
.
mac
[
module_idP
]
->
common_channels
[
CC_id
];
...
...
@@ -1124,7 +1125,8 @@ schedule_MBMS(module_id_t module_idP, uint8_t CC_id, frame_t frameP,
unsigned
char
sdu_lcids
[
11
],
num_sdus
=
0
,
offset
=
0
;
uint16_t
sdu_lengths
[
11
],
sdu_length_total
=
0
;
unsigned
char
mch_buffer
[
MAX_DLSCH_PAYLOAD_BYTES
];
// check the max value, this is for dlsch only
int8_t
j
=
-
1
;
int16_t
j
=
-
1
;
COMMON_channels_t
*
cc
=
&
RC
.
mac
[
module_idP
]
->
common_channels
[
CC_id
];
cc
->
MCH_pdu
.
Pdu_size
=
0
;
...
...
This diff is collapsed.
Click to expand it.
openair2/RRC/LTE/rrc_UE.c
View file @
81982725
...
...
@@ -1950,7 +1950,8 @@ rrc_ue_process_rrcConnectionReconfiguration(
uint8_t
*
buffer
;
}
msg
;
msg
.
buffer
=
calloc
(
total_size
,
sizeof
(
uint8_t
));
msg
.
buffer
=
calloc
(
total_size
,
sizeof
(
*
msg
.
buffer
));
AssertFatal
(
msg
.
buffer
!=
NULL
,
"Error in memory allocation
\n
"
);
msg
.
RadioBearer_size
=
nr_RadioBearer
->
size
;
msg
.
SecondaryCellGroup_size
=
nr_SecondaryCellGroup
->
size
;
msg
.
trans_id
=
rrcConnectionReconfiguration
->
rrc_TransactionIdentifier
;
...
...
This diff is collapsed.
Click to expand it.
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