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
lizhongxiao
OpenXG-RAN
Commits
14318639
Commit
14318639
authored
Nov 07, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused app_io_xran_sfidx_get(): uninitialized variables
parent
ad995d8f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
20 deletions
+0
-20
radio/ETHERNET/oran/5g/app_io_fh_xran-E.c
radio/ETHERNET/oran/5g/app_io_fh_xran-E.c
+0
-18
radio/ETHERNET/oran/5g/app_io_fh_xran-E.h
radio/ETHERNET/oran/5g/app_io_fh_xran-E.h
+0
-1
radio/ETHERNET/oran/5g/app_io_fh_xran.h
radio/ETHERNET/oran/5g/app_io_fh_xran.h
+0
-1
No files found.
radio/ETHERNET/oran/5g/app_io_fh_xran-E.c
View file @
14318639
...
@@ -90,29 +90,11 @@ app_io_xran_if_ctrl_get(uint32_t o_xu_id)
...
@@ -90,29 +90,11 @@ app_io_xran_if_ctrl_get(uint32_t o_xu_id)
}
}
}
}
int32_t
app_io_xran_sfidx_get
(
uint8_t
nNrOfSlotInSf
)
{
int32_t
nSfIdx
=
-
1
;
uint32_t
nFrameIdx
;
uint32_t
nSubframeIdx
;
uint32_t
nSlotIdx
;
uint64_t
nSecond
;
uint32_t
nXranTime
=
xran_get_slot_idx
(
0
,
&
nFrameIdx
,
&
nSubframeIdx
,
&
nSlotIdx
,
&
nSecond
);
nSfIdx
=
nFrameIdx
*
NUM_OF_SUBFRAME_PER_FRAME
*
nNrOfSlotInSf
+
nSubframeIdx
*
nNrOfSlotInSf
+
nSlotIdx
;
return
nSfIdx
;
}
void
void
app_io_xran_fh_rx_callback
(
void
*
pCallbackTag
,
xran_status_t
status
)
app_io_xran_fh_rx_callback
(
void
*
pCallbackTag
,
xran_status_t
status
)
{
{
uint8_t
Numerlogy
=
app_io_xran_fh_config
[
0
].
frame_conf
.
nNumerology
;
uint8_t
Numerlogy
=
app_io_xran_fh_config
[
0
].
frame_conf
.
nNumerology
;
uint8_t
nNrOfSlotInSf
=
1
<<
Numerlogy
;
uint8_t
nNrOfSlotInSf
=
1
<<
Numerlogy
;
int32_t
sfIdx
=
app_io_xran_sfidx_get
(
nNrOfSlotInSf
);
int32_t
nCellIdx
;
int32_t
nCellIdx
;
int32_t
sym
,
nSlotIdx
;
int32_t
sym
,
nSlotIdx
;
struct
xran_cb_tag
*
pTag
=
(
struct
xran_cb_tag
*
)
pCallbackTag
;
struct
xran_cb_tag
*
pTag
=
(
struct
xran_cb_tag
*
)
pCallbackTag
;
...
...
radio/ETHERNET/oran/5g/app_io_fh_xran-E.h
View file @
14318639
...
@@ -141,7 +141,6 @@ struct bbu_xran_io_if* app_io_xran_if_alloc(void);
...
@@ -141,7 +141,6 @@ struct bbu_xran_io_if* app_io_xran_if_alloc(void);
struct
bbu_xran_io_if
*
app_io_xran_if_get
(
void
);
struct
bbu_xran_io_if
*
app_io_xran_if_get
(
void
);
void
app_io_xran_if_free
(
void
);
void
app_io_xran_if_free
(
void
);
struct
xran_io_shared_ctrl
*
app_io_xran_if_ctrl_get
(
uint32_t
o_xu_id
);
struct
xran_io_shared_ctrl
*
app_io_xran_if_ctrl_get
(
uint32_t
o_xu_id
);
int32_t
app_io_xran_sfidx_get
(
uint8_t
nNrOfSlotInSf
);
int32_t
app_io_xran_interface
(
uint32_t
o_xu_id
,
RuntimeConfig
*
p_o_xu_cfg
,
UsecaseConfig
*
p_use_cfg
);
int32_t
app_io_xran_interface
(
uint32_t
o_xu_id
,
RuntimeConfig
*
p_o_xu_cfg
,
UsecaseConfig
*
p_use_cfg
);
int32_t
app_io_xran_iq_content_init
(
uint32_t
o_xu_id
,
RuntimeConfig
*
p_o_xu_cfg
);
int32_t
app_io_xran_iq_content_init
(
uint32_t
o_xu_id
,
RuntimeConfig
*
p_o_xu_cfg
);
...
...
radio/ETHERNET/oran/5g/app_io_fh_xran.h
View file @
14318639
...
@@ -141,7 +141,6 @@ struct bbu_xran_io_if* app_io_xran_if_alloc(void);
...
@@ -141,7 +141,6 @@ struct bbu_xran_io_if* app_io_xran_if_alloc(void);
struct
bbu_xran_io_if
*
app_io_xran_if_get
(
void
);
struct
bbu_xran_io_if
*
app_io_xran_if_get
(
void
);
void
app_io_xran_if_free
(
void
);
void
app_io_xran_if_free
(
void
);
struct
xran_io_shared_ctrl
*
app_io_xran_if_ctrl_get
(
uint32_t
o_xu_id
);
struct
xran_io_shared_ctrl
*
app_io_xran_if_ctrl_get
(
uint32_t
o_xu_id
);
int32_t
app_io_xran_sfidx_get
(
uint8_t
nNrOfSlotInSf
);
int32_t
app_io_xran_interface
(
uint32_t
o_xu_id
,
RuntimeConfig
*
p_o_xu_cfg
,
UsecaseConfig
*
p_use_cfg
);
int32_t
app_io_xran_interface
(
uint32_t
o_xu_id
,
RuntimeConfig
*
p_o_xu_cfg
,
UsecaseConfig
*
p_use_cfg
);
int32_t
app_io_xran_iq_content_init
(
uint32_t
o_xu_id
,
RuntimeConfig
*
p_o_xu_cfg
);
int32_t
app_io_xran_iq_content_init
(
uint32_t
o_xu_id
,
RuntimeConfig
*
p_o_xu_cfg
);
...
...
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