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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
6ad71e29
Commit
6ad71e29
authored
Apr 08, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment unused function that have been introduced in this integration branch
parent
86a704ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
+9
-3
No files found.
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
View file @
6ad71e29
...
...
@@ -68,10 +68,10 @@ queue_t nr_ul_tti_req_queue;
static
slot_rnti_mcs_s
slot_rnti_mcs
[
NUM_NFAPI_SLOT
];
static
int
get_mcs_from_sinr
(
float
sinr
);
static
int
get_cqi_from_mcs
(
void
);
//
static int get_mcs_from_sinr(float sinr);
//
static int get_cqi_from_mcs(void);
static
void
read_channel_param
(
const
nfapi_nr_dl_tti_pdsch_pdu_rel15_t
*
pdu
,
int
sf
,
int
index
);
static
bool
did_drop_transport_block
(
int
slot
,
uint16_t
rnti
);
//
static bool did_drop_transport_block(int slot, uint16_t rnti);
static
float
get_bler_val
(
uint8_t
mcs
,
int
sinr
);
static
bool
should_drop_transport_block
(
int
slot
,
uint16_t
rnti
);
static
void
save_pdsch_pdu_for_crnti
(
nfapi_nr_dl_tti_request_t
*
dl_tti_request
);
...
...
@@ -1341,6 +1341,7 @@ void RCconfig_nr_ue_L1(void) {
}
}
/*
static int get_mcs_from_sinr(float sinr)
{
if (sinr < (nr_bler_data[0].bler_table[0][0]))
...
...
@@ -1369,7 +1370,9 @@ static int get_mcs_from_sinr(float sinr)
LOG_E(NR_MAC, "Unable to get an MCS value.\n");
abort();
}
*/
/*
static int get_cqi_from_mcs(void)
{
static const int mcs_to_cqi[] = {0, 1, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8,
...
...
@@ -1399,6 +1402,7 @@ static int get_cqi_from_mcs(void)
LOG_E(NR_MAC, "Unable to get CQI value because no MCS found\n");
abort();
}
*/
static
void
read_channel_param
(
const
nfapi_nr_dl_tti_pdsch_pdu_rel15_t
*
pdu
,
int
slot
,
int
index
)
{
...
...
@@ -1431,6 +1435,7 @@ static void read_channel_param(const nfapi_nr_dl_tti_pdsch_pdu_rel15_t * pdu, in
return
;
}
/*
static bool did_drop_transport_block(int slot, uint16_t rnti)
{
int num_pdus = slot_rnti_mcs[slot].num_pdus;
...
...
@@ -1450,6 +1455,7 @@ static bool did_drop_transport_block(int slot, uint16_t rnti)
}
return false;
}
*/
static
float
get_bler_val
(
uint8_t
mcs
,
int
sinr
)
{
...
...
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