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
8aa0aa4d
Commit
8aa0aa4d
authored
2 years ago
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make functions in (gNB MAC) main.c static
parent
296d930f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
11 deletions
+16
-11
openair2/LAYER2/NR_MAC_gNB/config.c
openair2/LAYER2/NR_MAC_gNB/config.c
+16
-11
No files found.
openair2/LAYER2/NR_MAC_gNB/config.c
View file @
8aa0aa4d
...
...
@@ -54,10 +54,10 @@ extern RAN_CONTEXT_t RC;
//extern int l2_init_gNB(void);
extern
uint8_t
nfapi_mode
;
void
process_rlcBearerConfig
(
struct
NR_CellGroupConfig__rlc_BearerToAddModList
*
rlc_bearer2add_list
,
struct
NR_CellGroupConfig__rlc_BearerToReleaseList
*
rlc_bearer2release_list
,
NR_UE_sched_ctrl_t
*
sched_ctrl
)
{
static
void
process_rlcBearerConfig
(
struct
NR_CellGroupConfig__rlc_BearerToAddModList
*
rlc_bearer2add_list
,
struct
NR_CellGroupConfig__rlc_BearerToReleaseList
*
rlc_bearer2release_list
,
NR_UE_sched_ctrl_t
*
sched_ctrl
)
{
if
(
rlc_bearer2release_list
)
{
for
(
int
i
=
0
;
i
<
rlc_bearer2release_list
->
list
.
count
;
i
++
)
{
for
(
int
idx
=
0
;
idx
<
sched_ctrl
->
dl_lc_num
;
idx
++
)
{
...
...
@@ -97,8 +97,9 @@ void process_rlcBearerConfig(struct NR_CellGroupConfig__rlc_BearerToAddModList *
}
static
void
process_drx_Config
(
NR_UE_sched_ctrl_t
*
sched_ctrl
,
NR_SetupRelease_DRX_Config_t
*
drx_Config
)
{
void
process_drx_Config
(
NR_UE_sched_ctrl_t
*
sched_ctrl
,
NR_SetupRelease_DRX_Config_t
*
drx_Config
)
{
if
(
!
drx_Config
)
return
;
AssertFatal
(
drx_Config
->
present
!=
NR_SetupRelease_DRX_Config_PR_NOTHING
,
"Cannot have NR_SetupRelease_DRX_Config_PR_NOTHING
\n
"
);
...
...
@@ -110,23 +111,27 @@ void process_drx_Config(NR_UE_sched_ctrl_t *sched_ctrl,NR_SetupRelease_DRX_Confi
}
}
void
process_schedulingRequestConfig
(
NR_UE_sched_ctrl_t
*
sched_ctrl
,
NR_SchedulingRequestConfig_t
*
schedulingRequestConfig
)
{
static
void
process_schedulingRequestConfig
(
NR_UE_sched_ctrl_t
*
sched_ctrl
,
NR_SchedulingRequestConfig_t
*
schedulingRequestConfig
)
{
if
(
!
schedulingRequestConfig
)
return
;
LOG_I
(
NR_MAC
,
"Adding SchedulingRequestconfig
\n
"
);
}
void
process_bsrConfig
(
NR_UE_sched_ctrl_t
*
sched_ctrl
,
NR_BSR_Config_t
*
bsr_Config
)
{
static
void
process_bsrConfig
(
NR_UE_sched_ctrl_t
*
sched_ctrl
,
NR_BSR_Config_t
*
bsr_Config
)
{
if
(
!
bsr_Config
)
return
;
LOG_I
(
NR_MAC
,
"Adding BSR config
\n
"
);
}
void
process_tag_Config
(
NR_UE_sched_ctrl_t
*
sched_ctrl
,
NR_TAG_Config_t
*
tag_Config
)
{
static
void
process_tag_Config
(
NR_UE_sched_ctrl_t
*
sched_ctrl
,
NR_TAG_Config_t
*
tag_Config
)
{
if
(
!
tag_Config
)
return
;
LOG_I
(
NR_MAC
,
"Adding TAG config
\n
"
);
}
void
process_phr_Config
(
NR_UE_sched_ctrl_t
*
sched_ctrl
,
NR_SetupRelease_PHR_Config_t
*
phr_Config
)
{
static
void
process_phr_Config
(
NR_UE_sched_ctrl_t
*
sched_ctrl
,
NR_SetupRelease_PHR_Config_t
*
phr_Config
)
{
if
(
!
phr_Config
)
return
;
AssertFatal
(
phr_Config
->
present
!=
NR_SetupRelease_PHR_Config_PR_NOTHING
,
"Cannot have NR_SetupRelease_PHR_Config_PR_NOTHING
\n
"
);
...
...
@@ -138,8 +143,8 @@ void process_phr_Config(NR_UE_sched_ctrl_t *sched_ctrl,NR_SetupRelease_PHR_Confi
}
}
void
process_CellGroup
(
NR_CellGroupConfig_t
*
CellGroup
,
NR_UE_sched_ctrl_t
*
sched_ctrl
)
{
void
process_CellGroup
(
NR_CellGroupConfig_t
*
CellGroup
,
NR_UE_sched_ctrl_t
*
sched_ctrl
)
{
AssertFatal
(
CellGroup
,
"CellGroup is null
\n
"
);
NR_MAC_CellGroupConfig_t
*
mac_CellGroupConfig
=
CellGroup
->
mac_CellGroupConfig
;
...
...
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