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
76d609f7
Commit
76d609f7
authored
3 years ago
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete unused code
parent
d20ff45f
Changes
10
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
2 additions
and
868 deletions
+2
-868
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+1
-40
openair1/PHY/CODING/nrLDPC_encoder/ldpc_encode_parity_check.c
...air1/PHY/CODING/nrLDPC_encoder/ldpc_encode_parity_check.c
+0
-1
openair1/PHY/CODING/nrLDPC_encoder/ldpc_encoder.c
openair1/PHY/CODING/nrLDPC_encoder/ldpc_encoder.c
+1
-2
openair1/PHY/CODING/nrLDPC_encoder/ldpc_encoder_optim.c
openair1/PHY/CODING/nrLDPC_encoder/ldpc_encoder_optim.c
+0
-1
openair1/PHY/CODING/nrLDPC_encoder/ldpc_encoder_optim8seg.c
openair1/PHY/CODING/nrLDPC_encoder/ldpc_encoder_optim8seg.c
+0
-1
openair1/PHY/CODING/nrLDPC_encoder/ldpc_encoder_optim8segmulti.c
...1/PHY/CODING/nrLDPC_encoder/ldpc_encoder_optim8segmulti.c
+0
-1
openair1/SIMULATION/TOOLS/channel_sim.c
openair1/SIMULATION/TOOLS/channel_sim.c
+0
-1
openair2/UTIL/FIFO/pad_list.c
openair2/UTIL/FIFO/pad_list.c
+0
-607
openair2/UTIL/FIFO/pad_list.h
openair2/UTIL/FIFO/pad_list.h
+0
-87
openair2/UTIL/FIFO/types.h
openair2/UTIL/FIFO/types.h
+0
-127
No files found.
cmake_targets/CMakeLists.txt
View file @
76d609f7
...
...
@@ -1281,55 +1281,16 @@ add_library(HASHTABLE
include_directories
(
${
OPENAIR_DIR
}
/common/utils/hashtable
)
set
(
UTIL_SRC
# ${OPENAIR2_DIR}/UTIL/CLI/cli.c
# ${OPENAIR2_DIR}/UTIL/CLI/cli_cmd.c
# ${OPENAIR2_DIR}/UTIL/CLI/cli_server.c
${
OPENAIR2_DIR
}
/UTIL/FIFO/pad_list.c
${
OPENAIR2_DIR
}
/UTIL/LISTS/list.c
${
OPENAIR2_DIR
}
/UTIL/LISTS/list2.c
${
OPENAIR_DIR
}
/common/utils/LOG/log.c
${
OPENAIR_DIR
}
/common/utils/LOG/vcd_signal_dumper.c
${
OPENAIR2_DIR
}
/UTIL/MATH/oml.c
# ${OPENAIR2_DIR}/UTIL/MEM/mem_block.c
# ${OPENAIR2_DIR}/UTIL/OCG/OCG.c
# ${OPENAIR2_DIR}/UTIL/OCG/OCG_create_dir.c
# ${OPENAIR2_DIR}/UTIL/OCG/OCG_detect_file.c
# ${OPENAIR2_DIR}/UTIL/OCG/OCG_generate_report.c
# ${OPENAIR2_DIR}/UTIL/OCG/OCG_parse_filename.c
# ${OPENAIR2_DIR}/UTIL/OCG/OCG_parse_XML.c
# ${OPENAIR2_DIR}/UTIL/OCG/OCG_save_XML.c
# ${OPENAIR2_DIR}/UTIL/OMG/common.c
# ${OPENAIR2_DIR}/UTIL/OMG/grid.c
# ${OPENAIR2_DIR}/UTIL/OMG/job.c
# ${OPENAIR2_DIR}/UTIL/OMG/mobility_parser.c
# ${OPENAIR2_DIR}/UTIL/OMG/omg.c
# ${OPENAIR2_DIR}/UTIL/OMG/omg_hashtable.c
# ${OPENAIR2_DIR}/UTIL/OMG/rwalk.c
# ${OPENAIR2_DIR}/UTIL/OMG/rwp.c
# ${OPENAIR2_DIR}/UTIL/OMG/static.c
# ${OPENAIR2_DIR}/UTIL/OMG/steadystaterwp.c
# ${OPENAIR2_DIR}/UTIL/OMG/trace.c
# ${OPENAIR2_DIR}/UTIL/OMG/trace_hashtable.c
${
OPENAIR2_DIR
}
/UTIL/OPT/probe.c
# ${OPENAIR2_DIR}/UTIL/OTG/otg_tx.c
# ${OPENAIR2_DIR}/UTIL/OTG/otg.c
# ${OPENAIR2_DIR}/UTIL/OTG/otg_kpi.c
# ${OPENAIR2_DIR}/UTIL/OTG/otg_models.c
# ${OPENAIR2_DIR}/UTIL/OTG/otg_form.c
# ${OPENAIR2_DIR}/UTIL/OTG/otg_rx.c
)
)
add_library
(
UTIL
${
UTIL_SRC
}
)
add_dependencies
(
UTIL rrc_flag
)
#set(OMG_SUMO_SRC
# ${OPENAIR2_DIR}/UTIL/OMG/client_traci_OMG.c
# ${OPENAIR2_DIR}/UTIL/OMG/id_manager.c
# ${OPENAIR2_DIR}/UTIL/OMG/sumo.c
# ${OPENAIR2_DIR}/UTIL/OMG/socket_traci_OMG.c
# ${OPENAIR2_DIR}/UTIL/OMG/storage_traci_OMG.c
# )
#add_library(OMG_SUMO ${OMG_SUMO_SRC})
set
(
SECU_OSA_SRC
${
OPENAIR2_DIR
}
/UTIL/OSA/osa_key_deriver.c
${
OPENAIR2_DIR
}
/UTIL/OSA/osa_rijndael.c
...
...
This diff is collapsed.
Click to expand it.
openair1/PHY/CODING/nrLDPC_encoder/ldpc_encode_parity_check.c
View file @
76d609f7
...
...
@@ -33,7 +33,6 @@
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <types.h>
#include "assertions.h"
#include "common/utils/LOG/log.h"
...
...
This diff is collapsed.
Click to expand it.
openair1/PHY/CODING/nrLDPC_encoder/ldpc_encoder.c
View file @
76d609f7
...
...
@@ -35,7 +35,6 @@
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <types.h>
#include "defs.h"
#include "assertions.h"
#include "openair1/PHY/CODING/nrLDPC_defs.h"
...
...
This diff is collapsed.
Click to expand it.
openair1/PHY/CODING/nrLDPC_encoder/ldpc_encoder_optim.c
View file @
76d609f7
...
...
@@ -33,7 +33,6 @@
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <types.h>
#include "assertions.h"
#include "common/utils/LOG/log.h"
#include "PHY/TOOLS/time_meas.h"
...
...
This diff is collapsed.
Click to expand it.
openair1/PHY/CODING/nrLDPC_encoder/ldpc_encoder_optim8seg.c
View file @
76d609f7
...
...
@@ -33,7 +33,6 @@
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <types.h>
#include "assertions.h"
#include "common/utils/LOG/log.h"
#include "PHY/TOOLS/time_meas.h"
...
...
This diff is collapsed.
Click to expand it.
openair1/PHY/CODING/nrLDPC_encoder/ldpc_encoder_optim8segmulti.c
View file @
76d609f7
...
...
@@ -33,7 +33,6 @@
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <types.h>
#include "assertions.h"
#include "common/utils/LOG/log.h"
#include "PHY/TOOLS/time_meas.h"
...
...
This diff is collapsed.
Click to expand it.
openair1/SIMULATION/TOOLS/channel_sim.c
View file @
76d609f7
...
...
@@ -40,7 +40,6 @@
#include "PHY_INTERFACE/phy_interface_extern.h"
#include "UTIL/OCG/OCG.h"
#include "UTIL/OPT/opt.h" // to test OPT
#include "UTIL/FIFO/types.h"
#define RF
...
...
This diff is collapsed.
Click to expand it.
openair2/UTIL/FIFO/pad_list.c
deleted
100644 → 0
View file @
d20ff45f
This diff is collapsed.
Click to expand it.
openair2/UTIL/FIFO/pad_list.h
deleted
100644 → 0
View file @
d20ff45f
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/*! \file pad_list.c
* \brief list management primimtives
* \author Mohamed Said MOSLI BOUKSIAA, Lionel GAUTHIER, Navid Nikaein
* \date 2012 - 2014
* \version 0.5
* @ingroup util
*/
#ifndef __list_H__
#define __list_H__
#include "types.h"
//-----------------------------------------------------------------------------
typedef
struct
Job_List_s
{
Job_elt_t
*
head
;
Job_elt_t
*
tail
;
int
nb_elements
;
}
Job_List_t
;
typedef
struct
Event_List_s
{
Event_elt_t
*
head
;
Event_elt_t
*
tail
;
int
nb_elements
;
}
Event_List_t
;
typedef
struct
Packet_OTG_List_s
{
Packet_otg_elt_t
*
head
;
Packet_otg_elt_t
*
tail
;
int
nb_elements
;
}
Packet_OTG_List_t
;
//-----------------------------------------------------------------------------
void
job_list_init
(
Job_List_t
*
);
void
job_list_free
(
Job_List_t
*
listP
);
Job_elt_t
*
job_list_get_head
(
Job_List_t
*
);
Job_elt_t
*
job_list_remove_head
(
Job_List_t
*
);
Job_elt_t
*
job_list_remove_element
(
Job_elt_t
*
,
Job_List_t
*
);
void
job_list_add_head
(
Job_elt_t
*
,
Job_List_t
*
);
void
job_list_add_tail_eurecom
(
Job_elt_t
*
,
Job_List_t
*
);
void
job_list_add_list
(
Job_List_t
*
,
Job_List_t
*
);
void
job_list_display
(
Job_List_t
*
);
void
event_list_init
(
Event_List_t
*
);
void
event_list_free
(
Event_List_t
*
listP
);
Event_elt_t
*
event_list_get_head
(
Event_List_t
*
);
Event_elt_t
*
event_list_remove_head
(
Event_List_t
*
);
Event_elt_t
*
event_list_remove_element
(
Event_elt_t
*
,
Event_List_t
*
);
void
event_list_add_head
(
Event_elt_t
*
,
Event_List_t
*
);
void
event_list_add_element
(
Event_elt_t
*
,
Event_elt_t
*
,
Event_List_t
*
);
void
event_list_add_tail_eurecom
(
Event_elt_t
*
,
Event_List_t
*
);
void
event_list_add_list
(
Event_List_t
*
,
Event_List_t
*
);
void
event_list_display
(
Event_List_t
*
);
void
pkt_list_init
(
Packet_OTG_List_t
*
);
void
pkt_list_free
(
Packet_OTG_List_t
*
listP
);
Packet_otg_elt_t
*
pkt_list_get_head
(
Packet_OTG_List_t
*
);
Packet_otg_elt_t
*
pkt_list_remove_head
(
Packet_OTG_List_t
*
);
Packet_otg_elt_t
*
pkt_list_remove_element
(
Packet_otg_elt_t
*
,
Packet_OTG_List_t
*
);
void
pkt_list_add_head
(
Packet_otg_elt_t
*
,
Packet_OTG_List_t
*
);
void
pkt_list_add_element
(
Packet_otg_elt_t
*
,
Packet_otg_elt_t
*
,
Packet_OTG_List_t
*
);
void
pkt_list_add_tail_eurecom
(
Packet_otg_elt_t
*
,
Packet_OTG_List_t
*
);
void
pkt_list_add_list
(
Packet_OTG_List_t
*
,
Packet_OTG_List_t
*
);
void
pkt_list_display
(
Packet_OTG_List_t
*
);
#endif
This diff is collapsed.
Click to expand it.
openair2/UTIL/FIFO/types.h
deleted
100644 → 0
View file @
d20ff45f
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/*! \file pad_list.c
* \brief list management primimtives
* \author Mohamed Said MOSLI BOUKSIAA, Lionel GAUTHIER, Navid Nikaein
* \date 2012 - 2014
* \version 0.5
* @ingroup util
*/
#ifndef __FIFO_TYPES_H__
#define __FIFO_TYPES_H__
#include "platform_types.h"
/* Types regrouping both user-defined and regular events */
typedef
enum
{
MIN_ET
=
0
,
OAI_ET
=
MIN_ET
,
// config events
SYS_ET
,
TOPO_ET
,
APP_ET
,
EMU_ET
,
DL_ET
,
// frame events
UL_ET
,
S_ET
,
PHY_ET
,
// protocol events
MAC_ET
,
RLC_ET
,
PDCP_ET
,
RRC_ET
,
MAX_ET
}
Event_Type_t
;
/* decomposition of node functions into jobs for a given event */
typedef
enum
Job_type_e
{
JT_OTG
,
JT_PDCP
,
JT_PHY_MAC
,
JT_INIT_SYNC
,
JT_DL
,
JT_UL
,
RN_DL
,
RN_UL
,
JT_END
}
Job_Type_t
;
typedef
enum
Operation_Type_e
{
READ
,
WRITE
,
RESET
}
Operation_Type_t
;
typedef
struct
Job_s
{
enum
Job_type_e
type
;
int
exe_time
;
/* execution time at the worker*/
int
nid
;
/* node id*/
eNB_flag_t
eNB_flag
;
frame_t
frame
;
int
last_slot
;
int
next_slot
;
int
ctime
;
}
Job_t
;
typedef
struct
Signal_buffers_s
{
// (s = transmit, r,r0 = receive)
double
**
s_re
;
double
**
s_im
;
double
**
r_re
;
double
**
r_im
;
double
**
r_re0
;
double
**
r_im0
;
}
Signal_buffers_t
;
/*!\brief sybframe type : DL, UL, SF, */
typedef
struct
Packet_otg_s
{
unsigned
int
sdu_buffer_size
;
unsigned
char
*
sdu_buffer
;
module_id_t
module_id
;
rb_id_t
rb_id
;
module_id_t
dst_id
;
boolean_t
is_ue
;
pdcp_transmission_mode_t
mode
;
}
Packet_otg_t
;
typedef
struct
{
Event_Type_t
type
;
enum
Operation_Type_e
optype
;
//op
char
*
key
;
void
*
value
;
frame_t
frame
;
int
ue
;
int
lcid
;
}
Event_t
;
/*typedef struct Global_Time {
uint32_t frame;
int32_t slot;
int32_t last_slot;
int32_t next_slot;
double time_s;
double time_ms;
};*/
typedef
struct
Packet_otg_elt_s
{
struct
Packet_otg_elt_s
*
next
;
struct
Packet_otg_elt_s
*
previous
;
Packet_otg_t
otg_pkt
;
}
Packet_otg_elt_t
;
typedef
struct
Job_element_s
{
struct
Job_element_s
*
next
;
Job_t
job
;
}
Job_elt_t
;
typedef
struct
Event_element_s
{
struct
Event_element_s
*
next
;
struct
Event_element_s
*
previous
;
Event_t
event
;
}
Event_elt_t
;
#endif
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