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
b3145dec
Commit
b3145dec
authored
Oct 08, 2021
by
Melissa Elkadi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing commented code
parent
4b8a15fa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
99 deletions
+0
-99
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
+0
-99
No files found.
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
View file @
b3145dec
...
@@ -655,105 +655,6 @@ void save_nr_measurement_info(nfapi_nr_dl_tti_request_t *dl_tti_request)
...
@@ -655,105 +655,6 @@ void save_nr_measurement_info(nfapi_nr_dl_tti_request_t *dl_tti_request)
LOG_A
(
NR_RRC
,
"Populated NR_UE_RRC_MEASUREMENT information and sent to LTE UE
\n
"
);
LOG_A
(
NR_RRC
,
"Populated NR_UE_RRC_MEASUREMENT information and sent to LTE UE
\n
"
);
}
}
#if 0
static void *memcpy_dl_tti_req(nfapi_nr_dl_tti_request_t *dl_tti)
{
nfapi_nr_dl_tti_request_t *p = malloc(sizeof(nfapi_nr_dl_tti_request_t));
p->header = dl_tti->header;
p->SFN = dl_tti->SFN;
p->Slot = dl_tti->Slot;
p->dl_tti_request_body = dl_tti->dl_tti_request_body;
p->vendor_extension = dl_tti->vendor_extension;
p->dl_tti_request_body.nGroup = dl_tti->dl_tti_request_body.nGroup;
p->dl_tti_request_body.nPDUs = dl_tti->dl_tti_request_body.nPDUs;
for (int i = 0; i < p->dl_tti_request_body.nPDUs; i++)
{
p->dl_tti_request_body.dl_tti_pdu_list[i] =
dl_tti->dl_tti_request_body.dl_tti_pdu_list[i];
p->dl_tti_request_body.dl_tti_pdu_list[i].pdcch_pdu =
dl_tti->dl_tti_request_body.dl_tti_pdu_list[i].pdcch_pdu;
p->dl_tti_request_body.dl_tti_pdu_list[i].pdsch_pdu =
dl_tti->dl_tti_request_body.dl_tti_pdu_list[i].pdsch_pdu;
p->dl_tti_request_body.dl_tti_pdu_list[i].ssb_pdu =
dl_tti->dl_tti_request_body.dl_tti_pdu_list[i].ssb_pdu;
p->dl_tti_request_body.dl_tti_pdu_list[i].csi_rs_pdu =
dl_tti->dl_tti_request_body.dl_tti_pdu_list[i].csi_rs_pdu;
}
return p;
}
static void *memcpy_tx_data_req(nfapi_nr_tx_data_request_t *tx_data)
{
nfapi_nr_tx_data_request_t *p = malloc(sizeof(nfapi_nr_tx_data_request_t));
p->header = tx_data->header;
p->SFN = tx_data->SFN;
p->Slot = tx_data->Slot;
p->Number_of_PDUs = tx_data->Number_of_PDUs;
for (int i = 0; i < p->Number_of_PDUs; i++)
{
p->pdu_list[i] = tx_data->pdu_list[i];
for (int j = 0; j < p->pdu_list[i].num_TLV; j++)
p->pdu_list[i].TLVs[j] = tx_data->pdu_list[i].TLVs[j];
}
return p;
}
static void *memcpy_ul_dci_req(nfapi_nr_ul_dci_request_t *ul_dci)
{
nfapi_nr_ul_dci_request_t *p = malloc(sizeof(nfapi_nr_ul_dci_request_t));
p->header = ul_dci->header;
p->SFN = ul_dci->SFN;
p->Slot = ul_dci->Slot;
p->numPdus = ul_dci->numPdus;
for (int i = 0; i < p->numPdus; i++)
{
p->ul_dci_pdu_list[i] = ul_dci->ul_dci_pdu_list[i];
p->ul_dci_pdu_list[i].pdcch_pdu = ul_dci->ul_dci_pdu_list[i].pdcch_pdu;
}
return p;
}
static void *memcpy_ul_tti_req(nfapi_nr_ul_tti_request_t *ul_tti)
{
nfapi_nr_ul_tti_request_t *p = malloc(sizeof(nfapi_nr_ul_tti_request_t));
p->header = ul_tti->header;
p->SFN = ul_tti->SFN;
p->Slot = ul_tti->Slot;
p->n_pdus = ul_tti->n_pdus;
p->n_ulcch = ul_tti->n_ulcch;
p->n_ulsch = ul_tti->n_ulsch;
p->rach_present = ul_tti->rach_present;
for (int i = 0; i < p->n_pdus; i++)
{
p->pdus_list[i] = ul_tti->pdus_list[i];
p->pdus_list[i].prach_pdu = ul_tti->pdus_list[i].prach_pdu;
p->pdus_list[i].pucch_pdu = ul_tti->pdus_list[i].pucch_pdu;
p->pdus_list[i].pusch_pdu = ul_tti->pdus_list[i].pusch_pdu;
p->pdus_list[i].srs_pdu = ul_tti->pdus_list[i].srs_pdu;
}
return p;
}
nfapi_nr_dl_tti_request_t dl_tti_request;
nfapi_nr_tx_data_request_t tx_data_request;
nfapi_nr_ul_dci_request_t ul_dci_request;
nfapi_nr_ul_tti_request_t ul_tti_request;
nfapi_nr_dl_tti_request_t *dl_tti_req_temp = memcpy_dl_tti_req(&dl_tti_request);
nfapi_nr_tx_data_request_t *tx_data_req_temp = memcpy_tx_data_req(&tx_data_request);
nfapi_nr_ul_dci_request_t *ul_dci_req_temp = memcpy_ul_dci_req(&ul_dci_request);
nfapi_nr_ul_tti_request_t *ul_tti_req_temp = memcpy_ul_tti_req(&ul_tti_request);
#endif
static
void
enqueue_nr_nfapi_msg
(
void
*
buffer
,
ssize_t
len
,
nfapi_p7_message_header_t
header
)
static
void
enqueue_nr_nfapi_msg
(
void
*
buffer
,
ssize_t
len
,
nfapi_p7_message_header_t
header
)
{
{
...
...
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