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
常顺宇
OpenXG-RAN
Commits
4082f549
Commit
4082f549
authored
Jan 19, 2015
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@6414
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
ad9fa37d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
417 additions
and
417 deletions
+417
-417
openair2/RRC/LITE/L2_interface.c
openair2/RRC/LITE/L2_interface.c
+417
-417
No files found.
openair2/RRC/LITE/L2_interface.c
View file @
4082f549
...
...
@@ -25,16 +25,16 @@
Address : Eurecom, Campus SophiaTech, 450 Route des Chappes, CS 50193 - 06904 Biot Sophia Antipolis cedex, FRANCE
*******************************************************************************/
*******************************************************************************/
/*! \file l2_interface.c
* \brief layer 2 interface, used to support different RRC sublayer
* \author Raymond Knopp and Navid Nikaein
* \date 2010-2014
* \version 1.0
* \company Eurecom
* \email: raymond.knopp@eurecom.fr
*/
* \brief layer 2 interface, used to support different RRC sublayer
* \author Raymond Knopp and Navid Nikaein
* \date 2010-2014
* \version 1.0
* \company Eurecom
* \email: raymond.knopp@eurecom.fr
*/
#include "platform_types.h"
//#include "openair_defs.h"
...
...
@@ -66,7 +66,7 @@ mui_t mui=0;
//-------------------------------------------------------------------------------------------//
int8_t
mac_rrc_lite_data_req
(
module_id_t
Mod_idP
,
frame_t
frameP
,
uint16_t
Srb_id
,
uint8_t
Nb_tb
,
uint8_t
*
buffer_pP
,
eNB_flag_t
enb_flagP
,
uint8_t
eNB_index
,
uint8_t
mbsfn_sync_area
)
{
//-------------------------------------------------------------------------------------------//
//-------------------------------------------------------------------------------------------//
SRB_INFO
*
Srb_info
;
uint8_t
Sdu_size
=
0
;
...
...
@@ -300,7 +300,7 @@ int8_t mac_rrc_lite_data_req(module_id_t Mod_idP, frame_t frameP, uint16_t Srb_i
//-------------------------------------------------------------------------------------------//
int8_t
mac_rrc_lite_data_ind
(
module_id_t
Mod_idP
,
frame_t
frameP
,
rb_id_t
Srb_id
,
uint8_t
*
Sdu
,
sdu_size_t
sdu_size
,
eNB_flag_t
enb_flagP
,
uint8_t
eNB_index
,
uint8_t
mbsfn_sync_area
){
//-------------------------------------------------------------------------------------------//
//-------------------------------------------------------------------------------------------//
SRB_INFO
*
Srb_info
;
/*
int si_window;
...
...
@@ -487,13 +487,13 @@ int8_t mac_rrc_lite_data_ind(module_id_t Mod_idP, frame_t frameP, rb_id_t Srb_id
//-------------------------------------------------------------------------------------------//
// this function is Not USED anymore
void
mac_lite_sync_ind
(
module_id_t
Mod_idP
,
uint8_t
Status
){
//-------------------------------------------------------------------------------------------//
//-------------------------------------------------------------------------------------------//
}
//-------------------------------------------------------------------------------------------//
uint8_t
rrc_lite_data_req
(
module_id_t
enb_mod_idP
,
module_id_t
ue_mod_idP
,
frame_t
frameP
,
eNB_flag_t
enb_flagP
,
rb_id_t
rb_idP
,
mui_t
muiP
,
uint32_t
confirmP
,
sdu_size_t
sdu_size
,
uint8_t
*
buffer_pP
,
pdcp_transmission_mode_t
mode
)
{
//-------------------------------------------------------------------------------------------//
//-------------------------------------------------------------------------------------------//
#if defined(ENABLE_ITTI)
{
MessageDef
*
message_p
;
...
...
@@ -532,7 +532,7 @@ uint8_t rrc_lite_data_req(module_id_t enb_mod_idP, module_id_t ue_mod_idP, frame
//-------------------------------------------------------------------------------------------//
void
rrc_lite_data_ind
(
module_id_t
enb_mod_idP
,
module_id_t
ue_mod_idP
,
frame_t
frameP
,
eNB_flag_t
enb_flagP
,
rb_id_t
Srb_id
,
sdu_size_t
sdu_sizeP
,
uint8_t
*
buffer_pP
){
//-------------------------------------------------------------------------------------------//
//-------------------------------------------------------------------------------------------//
rb_id_t
DCCH_index
=
Srb_id
;
#if defined(ENABLE_ITTI)
instance_t
instance
;
...
...
@@ -583,7 +583,7 @@ void rrc_lite_data_ind(module_id_t enb_mod_idP, module_id_t ue_mod_idP, frame_t
//-------------------------------------------------------------------------------------------//
void
rrc_lite_in_sync_ind
(
module_id_t
Mod_idP
,
frame_t
frameP
,
uint16_t
eNB_index
)
{
//-------------------------------------------------------------------------------------------//
//-------------------------------------------------------------------------------------------//
#if defined(ENABLE_ITTI)
{
MessageDef
*
message_p
;
...
...
@@ -603,7 +603,7 @@ void rrc_lite_in_sync_ind(module_id_t Mod_idP, frame_t frameP, uint16_t eNB_inde
//-------------------------------------------------------------------------------------------//
void
rrc_lite_out_of_sync_ind
(
module_id_t
Mod_idP
,
frame_t
frameP
,
uint16_t
eNB_index
){
//-------------------------------------------------------------------------------------------//
//-------------------------------------------------------------------------------------------//
LOG_I
(
RRC
,
"[UE %d] Frame %d: OUT OF SYNC FROM eNB %d (T310 %d, N310 %d, N311 %d)
\n
"
,
Mod_idP
,
frameP
,
eNB_index
,
UE_rrc_inst
[
Mod_idP
].
Info
[
eNB_index
].
T310_cnt
,
...
...
@@ -627,7 +627,7 @@ void rrc_lite_out_of_sync_ind(module_id_t Mod_idP, frame_t frameP, uint16_t eNB_
//-------------------------------------------------------------------------------------------//
int
mac_get_rrc_lite_status
(
module_id_t
Mod_idP
,
eNB_flag_t
enb_flagP
,
uint8_t
index
){
//-------------------------------------------------------------------------------------------//
//-------------------------------------------------------------------------------------------//
if
(
enb_flagP
==
ENB_FLAG_YES
)
return
(
eNB_rrc_inst
[
Mod_idP
].
Info
.
UE
[
index
].
Status
);
else
...
...
@@ -636,7 +636,7 @@ int mac_get_rrc_lite_status(module_id_t Mod_idP,eNB_flag_t enb_flagP,uint8_t ind
//-------------------------------------------------------------------------------------------//
int
mac_ue_ccch_success_ind
(
module_id_t
Mod_idP
,
uint8_t
eNB_index
)
{
//-------------------------------------------------------------------------------------------//
//-------------------------------------------------------------------------------------------//
#if defined(ENABLE_ITTI)
{
MessageDef
*
message_p
;
...
...
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