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
ada4be08
Commit
ada4be08
authored
May 04, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove clock_gettime() introduced in this branch
parent
6d35883b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
18 deletions
+5
-18
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+1
-5
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
+2
-6
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
+2
-7
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
View file @
ada4be08
...
...
@@ -456,14 +456,10 @@ int nr_process_mac_pdu(module_id_t module_idP,
if
(
!
get_mac_len
(
pduP
,
pdu_len
,
&
mac_len
,
&
mac_subheader_len
))
return
0
;
struct
timespec
time_request
;
clock_gettime
(
CLOCK_REALTIME
,
&
time_request
);
LOG_D
(
NR_MAC
,
"[UE %04x] %d.%d : Time %lu.%lu ULSCH -> UL-%s %d (gNB %d, %d bytes)
\n
"
,
LOG_D
(
NR_MAC
,
"[UE %x] %d.%d: ULSCH -> UL-%s %d (gNB %d, %d bytes)
\n
"
,
UE_info
->
rnti
[
UE_id
],
frameP
,
slot
,
time_request
.
tv_sec
,
time_request
.
tv_nsec
,
rx_lcid
<
4
?
"DCCH"
:
"DTCH"
,
rx_lcid
,
module_idP
,
...
...
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
View file @
ada4be08
...
...
@@ -711,9 +711,7 @@ rb_found:
memblock
=
get_free_mem_block
(
size
,
__FUNCTION__
);
memcpy
(
memblock
->
data
,
buf
,
size
);
struct
timespec
time_request
;
clock_gettime
(
CLOCK_REALTIME
,
&
time_request
);
LOG_D
(
PDCP
,
"%s(): (rb %d) calling enqueue_rlc_data_req size %d at time %lu.%lu
\n
"
,
__func__
,
rb_id
,
size
,
time_request
.
tv_sec
,
time_request
.
tv_nsec
);
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]);
//printf("\n");
enqueue_rlc_data_req
(
&
ctxt
,
0
,
MBMS_FLAG_NO
,
rb_id
,
sdu_id
,
0
,
size
,
memblock
);
...
...
@@ -1338,9 +1336,7 @@ static boolean_t pdcp_data_req_drb(
const
sdu_size_t
sdu_buffer_size
,
unsigned
char
*
const
sdu_buffer
)
{
struct
timespec
time_request
;
clock_gettime
(
CLOCK_REALTIME
,
&
time_request
);
LOG_D
(
PDCP
,
"%s() called at time %lu.%lu, size %d
\n
"
,
__func__
,
time_request
.
tv_sec
,
time_request
.
tv_nsec
,
sdu_buffer_size
);
LOG_D
(
PDCP
,
"%s() called, size %d
\n
"
,
__func__
,
sdu_buffer_size
);
nr_pdcp_ue_t
*
ue
;
nr_pdcp_entity_t
*
rb
;
int
rnti
=
ctxt_pP
->
rnti
;
...
...
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
View file @
ada4be08
...
...
@@ -460,14 +460,9 @@ static void deliver_sdu(void *_ue, nr_rlc_entity_t *entity, char *buf, int size)
exit
(
1
);
rb_found:
if
(
is_srb
==
0
)
{
struct
timespec
time_request
;
clock_gettime
(
CLOCK_REALTIME
,
&
time_request
);
LOG_D
(
RLC
,
"%s:%d:%s: delivering SDU (rnti %d is_srb %d rb_id %d) size %d
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
,
ue
->
rnti
,
is_srb
,
rb_id
,
size
);
LOG_D
(
RLC
,
"%s:%d:%s: delivering SDU Time %lu.%lu (rnti %d is_srb %d rb_id %d) size %d
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
,
time_request
.
tv_sec
,
time_request
.
tv_nsec
,
ue
->
rnti
,
is_srb
,
rb_id
,
size
);
}
/* unused fields? */
ctx
.
instance
=
0
;
ctx
.
frame
=
0
;
...
...
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