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
wangjie
OpenXG-RAN
Commits
a637957c
Commit
a637957c
authored
Feb 24, 2016
by
Xenofon Foukas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved UE activation notification to RRC
parent
00b15882
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+0
-8
openair2/RRC/LITE/rrc_eNB.c
openair2/RRC/LITE/rrc_eNB.c
+8
-0
No files found.
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
a637957c
...
...
@@ -56,8 +56,6 @@
#include "RRC/LITE/extern.h"
#include "RRC/L2_INTERFACE/openair_rrc_L2_interface.h"
#include "enb_agent_extern.h"
//#include "LAYER2/MAC/pre_processor.c"
#include "pdcp.h"
...
...
@@ -257,12 +255,6 @@ void rx_sdu(
}
else
LOG_I
(
MAC
,
"[eNB %d][RAPROC] CC_id %d Frame %d Added user with rnti %x => UE %d
\n
"
,
enb_mod_idP
,
CC_idP
,
frameP
,
eNB
->
common_channels
[
CC_idP
].
RA_template
[
ii
].
rnti
,
UE_id
);
//WARNING:Inform the controller about the UE activation. Should be moved to RRC agent in the future
if
(
mac_agent_registered
[
enb_mod_idP
])
{
agent_mac_xface
[
enb_mod_idP
]
->
enb_agent_notify_ue_state_change
(
enb_mod_idP
,
eNB
->
common_channels
[
CC_idP
].
RA_template
[
ii
].
rnti
,
PROTOCOL__PRP_UE_STATE_CHANGE_TYPE__PRUESC_ACTIVATED
);
}
}
else
{
LOG_I
(
MAC
,
"[eNB %d][RAPROC] CC_id %d Frame %d CCCH: Received Msg3 from already registered UE %d: length %d, offset %d
\n
"
,
enb_mod_idP
,
CC_idP
,
frameP
,
UE_id
,
rx_lengths
[
i
],
payload_ptr
-
sduP
);
...
...
openair2/RRC/LITE/rrc_eNB.c
View file @
a637957c
...
...
@@ -99,6 +99,8 @@
#include "SIMULATION/TOOLS/defs.h" // for taus
#include "enb_agent_extern.h"
//#define XER_PRINT
#ifdef PHY_EMUL
...
...
@@ -4093,6 +4095,12 @@ rrc_eNB_decode_dcch(
ue_context_p
,
&
ul_dcch_msg
->
message
.
choice
.
c1
.
choice
.
rrcConnectionSetupComplete
.
criticalExtensions
.
choice
.
c1
.
choice
.
rrcConnectionSetupComplete_r8
);
ue_context_p
->
ue_context
.
Status
=
RRC_CONNECTED
;
//WARNING:Inform the controller about the UE activation. Should be moved to RRC agent in the future
if
(
mac_agent_registered
[
ctxt_pP
->
eNB_index
])
{
agent_mac_xface
[
ctxt_pP
->
eNB_index
]
->
enb_agent_notify_ue_state_change
(
ctxt_pP
->
eNB_index
,
ue_context_p
->
ue_id_rnti
,
PROTOCOL__PRP_UE_STATE_CHANGE_TYPE__PRUESC_ACTIVATED
);
}
LOG_I
(
RRC
,
PROTOCOL_RRC_CTXT_UE_FMT
" UE State = RRC_CONNECTED
\n
"
,
PROTOCOL_RRC_CTXT_UE_ARGS
(
ctxt_pP
));
}
...
...
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