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
Michael Black
OpenXG-RAN
Commits
ffe0630d
Commit
ffe0630d
authored
Apr 07, 2023
by
francescomani
Committed by
Robert Schmidt
Apr 14, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
addressing a couple of review comments
parent
5a153c50
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
openair2/LAYER2/NR_MAC_UE/nr_ra_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ra_procedures.c
+4
-2
openair3/NGAP/ngap_gNB_nas_procedures.c
openair3/NGAP/ngap_gNB_nas_procedures.c
+6
-3
radio/iqplayer/iqplayer_lib.c
radio/iqplayer/iqplayer_lib.c
+0
-2
No files found.
openair2/LAYER2/NR_MAC_UE/nr_ra_procedures.c
View file @
ffe0630d
...
...
@@ -488,7 +488,8 @@ void ra_preambles_config(NR_PRACH_RESOURCES_t *prach_resources, NR_UE_MAC_INST_t
// Overwrite seed with non-random seed for IQ player/recorder
seed
=
1
;
}
else
{
seed
=
(
unsigned
int
)
(
rdtsc_oai
()
&
~
0
);
// & to truncate the int64_t and keep only the LSB bits, up to sizeof(int)
seed
=
(
unsigned
int
)
(
rdtsc_oai
()
&
~
0
);
}
RA_config_t
*
ra
=
&
mac
->
ra
;
...
...
@@ -1038,7 +1039,8 @@ void nr_ra_failed(uint8_t mod_id, uint8_t CC_id, NR_PRACH_RESOURCES_t *prach_res
// Overwrite seed with non-random seed for IQ player/recorder
seed
=
1
;
}
else
{
seed
=
(
unsigned
int
)
(
rdtsc_oai
()
&
~
0
);
// & to truncate the int64_t and keep only the LSB bits, up to sizeof(int)
seed
=
(
unsigned
int
)
(
rdtsc_oai
()
&
~
0
);
}
ra
->
first_Msg3
=
1
;
...
...
openair3/NGAP/ngap_gNB_nas_procedures.c
View file @
ffe0630d
...
...
@@ -692,7 +692,8 @@ int ngap_gNB_initial_ctxt_resp(instance_t instance, ngap_initial_context_setup_r
break
;
case
NGAP_CAUSE_NOTHING
:
default:
default:
LOG_E
(
NR_RRC
,
"Unknown PDU session failure cause %d
\n
"
,
initial_ctxt_resp_p
->
pdusessions_failed
[
i
].
cause
);
break
;
}
...
...
@@ -959,7 +960,8 @@ int ngap_gNB_pdusession_setup_resp(instance_t instance, ngap_pdusession_setup_re
break
;
case
NGAP_CAUSE_NOTHING
:
default:
default:
LOG_E
(
NR_RRC
,
"Unknown PDU session failure cause %d
\n
"
,
pdusession_failed
->
cause
);
break
;
}
NGAP_DEBUG
(
"pdusession setup response: failed pdusession ID %ld
\n
"
,
item
->
pDUSessionID
);
...
...
@@ -1123,7 +1125,8 @@ int ngap_gNB_pdusession_modify_resp(instance_t instance, ngap_pdusession_modify_
case
NGAP_CAUSE_NOTHING
:
default:
break
;
LOG_E
(
NR_RRC
,
"Unknown PDU session failure cause %d
\n
"
,
pdusession_modify_resp_p
->
pdusessions_failed
[
i
].
cause
);
break
;
}
asn_encode_to_new_buffer_result_t
res
=
{
0
};
...
...
radio/iqplayer/iqplayer_lib.c
View file @
ffe0630d
...
...
@@ -48,8 +48,6 @@ static void busy_wait(uint32_t usecs) {
// Active wait
clock_gettime
(
CLOCK_REALTIME
,
&
requestStart
);
while
(
1
)
{
for
(
int
j
=
0
;
j
<
40
;
j
++
)
(
void
)
sin
(
j
);
clock_gettime
(
CLOCK_REALTIME
,
&
requestEnd
);
elapsed_usecs
=
(
requestEnd
.
tv_sec
-
requestStart
.
tv_sec
)
/
1e-6
+
(
requestEnd
.
tv_nsec
-
requestStart
.
tv_nsec
)
/
1e3
;
...
...
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