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
d8612a6c
Commit
d8612a6c
authored
Nov 30, 2022
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some more cleanup
parent
b4b5516c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
21 deletions
+8
-21
common/openairinterface5g_limits.h
common/openairinterface5g_limits.h
+0
-2
executables/nr-gnb.c
executables/nr-gnb.c
+0
-8
openair1/PHY/NR_TRANSPORT/nr_prach.c
openair1/PHY/NR_TRANSPORT/nr_prach.c
+8
-9
openair1/PHY/defs_gNB.h
openair1/PHY/defs_gNB.h
+0
-2
No files found.
common/openairinterface5g_limits.h
View file @
d8612a6c
...
@@ -14,8 +14,6 @@
...
@@ -14,8 +14,6 @@
# define NUMBER_OF_SCH_STATS_MAX 16
# define NUMBER_OF_SCH_STATS_MAX 16
# define NUMBER_OF_NR_SCH_STATS_MAX 16
# define NUMBER_OF_NR_SCH_STATS_MAX 16
# define NUMBER_OF_NR_PDCCH_MAX 16
#define MAX_MANAGED_ENB_PER_MOBILE 2
#define MAX_MANAGED_ENB_PER_MOBILE 2
#define MAX_MANAGED_GNB_PER_MOBILE 2
#define MAX_MANAGED_GNB_PER_MOBILE 2
...
...
executables/nr-gnb.c
View file @
d8612a6c
...
@@ -206,14 +206,6 @@ void rx_func(void *param) {
...
@@ -206,14 +206,6 @@ void rx_func(void *param) {
gNB
->
pucch
[
j
]
->
pucch_pdu
.
rnti
=
0
;
gNB
->
pucch
[
j
]
->
pucch_pdu
.
rnti
=
0
;
pucch_removed
++
;
pucch_removed
++
;
}
}
#if 0
for (j = 0; j < NUMBER_OF_NR_PDCCH_MAX; j++)
gNB->pdcch_pdu[j].frame = -1;
for (j = 0; j < NUMBER_OF_NR_PDCCH_MAX; j++)
gNB->ul_pdcch_pdu[j].frame = -1;
for (j = 0; j < NUMBER_OF_NR_PRACH_MAX; j++)
gNB->prach_vars.list[j].frame = -1;
#endif
}
}
if
(
rnti_to_remove_count
)
LOG_W
(
NR_PHY
,
"to remove rnti_to_remove_count=%d, up_removed=%d down_removed=%d pucch_removed=%d
\n
"
,
rnti_to_remove_count
,
up_removed
,
down_removed
,
pucch_removed
);
if
(
rnti_to_remove_count
)
LOG_W
(
NR_PHY
,
"to remove rnti_to_remove_count=%d, up_removed=%d down_removed=%d pucch_removed=%d
\n
"
,
rnti_to_remove_count
,
up_removed
,
down_removed
,
pucch_removed
);
rnti_to_remove_count
=
0
;
rnti_to_remove_count
=
0
;
...
...
openair1/PHY/NR_TRANSPORT/nr_prach.c
View file @
d8612a6c
...
@@ -39,20 +39,19 @@ extern uint16_t prach_root_sequence_map_abc[138];
...
@@ -39,20 +39,19 @@ extern uint16_t prach_root_sequence_map_abc[138];
extern
uint16_t
nr_du
[
838
];
extern
uint16_t
nr_du
[
838
];
extern
const
char
*
prachfmt
[];
extern
const
char
*
prachfmt
[];
void
init_prach_list
(
PHY_VARS_gNB
*
gNB
)
{
void
init_prach_list
(
PHY_VARS_gNB
*
gNB
)
{
AssertFatal
(
gNB
!=
NULL
,
"gNB is null
\n
"
);
AssertFatal
(
gNB
!=
NULL
,
"gNB is null
\n
"
);
for
(
int
i
=
0
;
i
<
NUMBER_OF_NR_PRACH_MAX
;
i
++
){
for
(
int
i
=
0
;
i
<
NUMBER_OF_NR_PRACH_MAX
;
i
++
){
gNB
->
prach_vars
.
list
[
i
].
frame
=
-
1
;
gNB
->
prach_vars
.
list
[
i
].
frame
=
-
1
;
gNB
->
prach_vars
.
list
[
i
].
slot
=
-
1
;
gNB
->
prach_vars
.
list
[
i
].
slot
=
-
1
;
}
}
}
}
void
free_nr_prach_entry
(
PHY_VARS_gNB
*
gNB
,
int
prach_id
)
{
void
free_nr_prach_entry
(
PHY_VARS_gNB
*
gNB
,
int
prach_id
)
{
gNB
->
prach_vars
.
list
[
prach_id
].
frame
=
-
1
;
gNB
->
prach_vars
.
list
[
prach_id
].
frame
=
-
1
;
gNB
->
prach_vars
.
list
[
prach_id
].
slot
=
-
1
;
gNB
->
prach_vars
.
list
[
prach_id
].
slot
=
-
1
;
}
}
int16_t
find_nr_prach
(
PHY_VARS_gNB
*
gNB
,
int
frame
,
int
slot
,
find_type_t
type
)
{
int16_t
find_nr_prach
(
PHY_VARS_gNB
*
gNB
,
int
frame
,
int
slot
,
find_type_t
type
)
{
...
...
openair1/PHY/defs_gNB.h
View file @
d8612a6c
...
@@ -626,8 +626,6 @@ typedef struct PHY_VARS_gNB_s {
...
@@ -626,8 +626,6 @@ typedef struct PHY_VARS_gNB_s {
NR_gNB_PUSCH
*
pusch_vars
[
NUMBER_OF_NR_ULSCH_MAX
];
NR_gNB_PUSCH
*
pusch_vars
[
NUMBER_OF_NR_ULSCH_MAX
];
NR_gNB_PUCCH_t
**
pucch
;
NR_gNB_PUCCH_t
**
pucch
;
NR_gNB_SRS_t
**
srs
;
NR_gNB_SRS_t
**
srs
;
NR_gNB_PDCCH_t
pdcch_pdu
[
NUMBER_OF_NR_PDCCH_MAX
];
NR_gNB_UL_PDCCH_t
ul_pdcch_pdu
[
NUMBER_OF_NR_PDCCH_MAX
];
NR_gNB_DLSCH_t
*
dlsch
[
NUMBER_OF_NR_DLSCH_MAX
][
2
];
// Nusers times two spatial streams
NR_gNB_DLSCH_t
*
dlsch
[
NUMBER_OF_NR_DLSCH_MAX
][
2
];
// Nusers times two spatial streams
NR_gNB_ULSCH_t
*
ulsch
[
NUMBER_OF_NR_ULSCH_MAX
];
// [Nusers times]
NR_gNB_ULSCH_t
*
ulsch
[
NUMBER_OF_NR_ULSCH_MAX
];
// [Nusers times]
/// statistics for DLSCH measurement collection
/// statistics for DLSCH measurement collection
...
...
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