Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Shweta Shrivastava
openairinterface5G
Commits
2f398d31
Commit
2f398d31
authored
7 years ago
by
knopp
Browse files
Options
Downloads
Patches
Plain Diff
added ran_context.h
parent
b42aed9e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/ran_context.h
+78
-0
78 additions, 0 deletions
common/ran_context.h
with
78 additions
and
0 deletions
common/ran_context.h
0 → 100644
+
78
−
0
View file @
2f398d31
/*
* 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.0 (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 PHY/impl_defs_lte.h
* \brief LTE Physical channel configuration and variable structure definitions
* \author R. Knopp, F. Kaltenberger
* \date 2011
* \version 0.1
* \company Eurecom
* \email: knopp@eurecom.fr,florian.kaltenberger@eurecom.fr
* \note
* \warning
*/
#ifndef __RAN_CONTEXT_H__
#define __RAN_CONTEXT_H__
#include
<pthread.h>
#include
"COMMON/platform_constants.h"
#include
"PHY/defs.h"
#include
"PHY/types.h"
#include
"PHY/impl_defs_top.h"
#include
"PHY/impl_defs_lte.h"
#include
"RRC/LITE/defs.h"
#include
"gtpv1u.h"
#include
"NwGtpv1u.h"
#include
"NwGtpv1uMsg.h"
#include
"NwGtpv1uPrivate.h"
#include
"gtpv1u_eNB_defs.h"
typedef
struct
{
/// RAN context config file name
char
*
config_file_name
;
/// Number of eNB instances in this node
int
nb_inst
;
/// Number of Component Carriers per instance in this node
int
*
nb_CC
;
/// Number of radio units
int
nb_RU
;
/// eNB context variables
struct
PHY_VARS_eNB_s
***
eNB
;
/// RRC context variables
struct
eNB_RRC_INST_s
**
rrc
;
/// RRC context variables
struct
eNB_MAC_INST_s
**
mac
;
/// GTPu descriptor
gtpv1u_data_t
*
gtpv1u_data_g
;
/// RU descriptors. These describe what each radio unit is supposed to do and contain the necessary functions for fronthaul interfaces
struct
RU_t_s
**
ru
;
/// Mask to indicate fronthaul setup status of RU (hard-limit to 64 RUs)
uint64_t
ru_mask
;
/// Mutex for protecting ru_mask
pthread_mutex_t
ru_mutex
;
/// condition variable for signaling setup completion of an RU
pthread_cond_t
ru_cond
;
}
RAN_CONTEXT_t
;
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment