From 941877bc1cccf83bce73280532dd1be7531835fd Mon Sep 17 00:00:00 2001 From: winckel <winckel@eurecom.fr> Date: Thu, 2 Jan 2014 12:18:37 +0000 Subject: [PATCH] Created a RRC types header file. git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4813 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- openair2/RRC/LITE/rrc_types.h | 64 +++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 openair2/RRC/LITE/rrc_types.h diff --git a/openair2/RRC/LITE/rrc_types.h b/openair2/RRC/LITE/rrc_types.h new file mode 100644 index 0000000000..1d326edd8a --- /dev/null +++ b/openair2/RRC/LITE/rrc_types.h @@ -0,0 +1,64 @@ +/******************************************************************************* + + Eurecom OpenAirInterface + Copyright(c) 1999 - 2013 Eurecom + + This program is free software; you can redistribute it and/or modify it + under the terms and conditions of the GNU General Public License, + version 2, as published by the Free Software Foundation. + + This program is distributed in the hope it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along with + this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. + + The full GNU General Public License is included in this distribution in + the file called "COPYING". + + Contact Information + Openair Admin: openair_admin@eurecom.fr + Openair Tech : openair_tech@eurecom.fr + Forums : http://forums.eurecom.fr/openairinterface + Address : EURECOM, Campus SophiaTech, 450 Route des Chappes + 06410 Biot FRANCE + +*******************************************************************************/ + +#ifndef RRC_TYPES_H_ +#define RRC_TYPES_H_ + +typedef enum Rrc_State_e { + RRC_STATE_INACTIVE=0, + RRC_STATE_IDLE, + RRC_STATE_CONNECTED, + + RRC_STATE_FIRST = RRC_STATE_INACTIVE, + RRC_STATE_LAST = RRC_STATE_CONNECTED, +} Rrc_State_t; + +typedef enum Rrc_Sub_State_e { + RRC_SUB_STATE_INACTIVE=0, + + RRC_SUB_STATE_IDLE_SEARCHING, + RRC_SUB_STATE_IDLE_RECEIVING_SIB, + RRC_SUB_STATE_IDLE_SIB_COMPLETE, + RRC_SUB_STATE_IDLE_CONNECTING, + RRC_SUB_STATE_IDLE, + + RRC_SUB_STATE_CONNECTED, + + RRC_SUB_STATE_INACTIVE_FIRST = RRC_SUB_STATE_INACTIVE, + RRC_SUB_STATE_INACTIVE_LAST = RRC_SUB_STATE_INACTIVE, + + RRC_SUB_STATE_IDLE_FIRST = RRC_SUB_STATE_IDLE_SEARCHING, + RRC_SUB_STATE_IDLE_LAST = RRC_SUB_STATE_IDLE, + + RRC_SUB_STATE_CONNECTED_FIRST = RRC_SUB_STATE_CONNECTED, + RRC_SUB_STATE_CONNECTED_LAST = RRC_SUB_STATE_CONNECTED, + } Rrc_Sub_State_t; + +#endif /* RRC_TYPES_H_ */ -- GitLab