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
spbro
OpenXG-RAN
Commits
8be91317
Commit
8be91317
authored
Dec 22, 2014
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@6307
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
dddafeb0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
0 deletions
+43
-0
openair2/LAYER2/RLC/rlc.h
openair2/LAYER2/RLC/rlc.h
+11
-0
openair2/LAYER2/RLC/rlc_rrc.c
openair2/LAYER2/RLC/rlc_rrc.c
+32
-0
No files found.
openair2/LAYER2/RLC/rlc.h
View file @
8be91317
...
@@ -361,6 +361,17 @@ public_rlc_rrc(void
...
@@ -361,6 +361,17 @@ public_rlc_rrc(void
rb_free_rlc_union
(
void
*
rlcu_pP
);)
rb_free_rlc_union
(
void
*
rlcu_pP
);)
/*! \fn rlc_op_status_t rrc_rlc_remove_ue (const module_id_t enb_mod_idP, const module_id_t ue_mod_idP, const frame_t frameP, const eNB_flag_t eNB_flagP)
* \brief Remove all RLC protocol instances from all radio bearers allocated to a UE.
* \param[in] enb_mod_idP Virtualized enb module identifier, Not used if eNB_flagP = 0.
* \param[in] ue_mod_idP Virtualized ue module identifier.
* \param[in] frameP Frame index.
* \param[in] eNB_flagP Flag to indicate eNB (1) or UE (0)
* \return A status about the processing, OK or error code.
*/
public_rlc_rrc
(
rlc_op_status_t
rrc_rlc_remove_ue
(
const
module_id_t
enb_mod_idP
,
const
module_id_t
ue_mod_idP
,
const
eNB_flag_t
enb_flagP
,
const
frame_t
frameP
,
const
eNB_flag_t
enb_flagP
);)
/*! \fn rlc_op_status_t rrc_rlc_remove_rlc (const module_id_t enb_mod_idP, const module_id_t ue_mod_idP, const frame_t frameP, const eNB_flag_t eNB_flagP, const srb_flag_t srb_flagP, const MBMS_flag_t MBMS_flagP, const rb_id_t rb_idP)
/*! \fn rlc_op_status_t rrc_rlc_remove_rlc (const module_id_t enb_mod_idP, const module_id_t ue_mod_idP, const frame_t frameP, const eNB_flag_t eNB_flagP, const srb_flag_t srb_flagP, const MBMS_flag_t MBMS_flagP, const rb_id_t rb_idP)
* \brief Remove a RLC protocol instance from a radio bearer.
* \brief Remove a RLC protocol instance from a radio bearer.
* \param[in] enb_mod_idP Virtualized enb module identifier, Not used if eNB_flagP = 0.
* \param[in] enb_mod_idP Virtualized enb module identifier, Not used if eNB_flagP = 0.
...
...
openair2/LAYER2/RLC/rlc_rrc.c
View file @
8be91317
...
@@ -469,6 +469,38 @@ rb_free_rlc_union (void *rlcu_pP)
...
@@ -469,6 +469,38 @@ rb_free_rlc_union (void *rlcu_pP)
}
}
}
}
//-----------------------------------------------------------------------------
rlc_op_status_t
rrc_rlc_remove_ue
(
const
module_id_t
enb_mod_idP
,
const
module_id_t
ue_mod_idP
,
const
eNB_flag_t
enb_flagP
,
const
frame_t
frameP
,
const
eNB_flag_t
enb_flagP
)
{
//-----------------------------------------------------------------------------
logical_chan_id_t
lcid
=
0
;
rb_id_t
rb_id
;
for
(
rb_id
=
1
;
rb_id
<=
2
;
rb_id
++
)
{
rrc_rlc_remove_rlc
(
enb_mod_idP
,
ue_mod_idP
,
frameP
,
enb_flagP
,
SRB_FLAG_YES
,
MBMS_FLAG_NO
,
rb_id
);
}
for
(
rb_id
=
1
;
rb_id
<=
maxDRB
;
rb_id
++
)
{
rrc_rlc_remove_rlc
(
enb_mod_idP
,
ue_mod_idP
,
frameP
,
enb_flagP
,
SRB_FLAG_NO
,
MBMS_FLAG_NO
,
rb_id
);
}
return
RLC_OP_STATUS_OK
;
}
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
rlc_op_status_t
rrc_rlc_remove_rlc
(
rlc_op_status_t
rrc_rlc_remove_rlc
(
const
module_id_t
enb_mod_idP
,
const
module_id_t
enb_mod_idP
,
...
...
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