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
canghaiwuhen
OpenXG-RAN
Commits
e1d1b0ba
Commit
e1d1b0ba
authored
Feb 23, 2016
by
Xenofon Foukas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added event notification for connection of a new UE
parent
0ec3cfdf
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
223 additions
and
215 deletions
+223
-215
openair2/ENB_APP/enb_agent.c
openair2/ENB_APP/enb_agent.c
+1
-1
openair2/ENB_APP/enb_agent_common.c
openair2/ENB_APP/enb_agent_common.c
+214
-214
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+8
-0
No files found.
openair2/ENB_APP/enb_agent.c
View file @
e1d1b0ba
openair2/ENB_APP/enb_agent_common.c
View file @
e1d1b0ba
...
@@ -1389,7 +1389,6 @@ int enb_agent_enb_config_reply(mid_t mod_id, const void *params, Protocol__Progr
...
@@ -1389,7 +1389,6 @@ int enb_agent_enb_config_reply(mid_t mod_id, const void *params, Protocol__Progr
int
cc_id
=
0
;
int
cc_id
=
0
;
int
enb_id
=
mod_id
;
int
enb_id
=
mod_id
;
Protocol__PrpHeader
*
header
;
Protocol__PrpHeader
*
header
;
if
(
prp_create_header
(
xid
,
PROTOCOL__PRP_TYPE__PRPT_GET_ENB_CONFIG_REPLY
,
&
header
)
!=
0
)
if
(
prp_create_header
(
xid
,
PROTOCOL__PRP_TYPE__PRPT_GET_ENB_CONFIG_REPLY
,
&
header
)
!=
0
)
goto
error
;
goto
error
;
...
@@ -1582,6 +1581,7 @@ int enb_agent_enb_config_reply(mid_t mod_id, const void *params, Protocol__Progr
...
@@ -1582,6 +1581,7 @@ int enb_agent_enb_config_reply(mid_t mod_id, const void *params, Protocol__Progr
(
*
msg
)
->
msg_case
=
PROTOCOL__PROGRAN_MESSAGE__MSG_ENB_CONFIG_REPLY_MSG
;
(
*
msg
)
->
msg_case
=
PROTOCOL__PROGRAN_MESSAGE__MSG_ENB_CONFIG_REPLY_MSG
;
(
*
msg
)
->
msg_dir
=
PROTOCOL__PROGRAN_DIRECTION__SUCCESSFUL_OUTCOME
;
(
*
msg
)
->
msg_dir
=
PROTOCOL__PROGRAN_DIRECTION__SUCCESSFUL_OUTCOME
;
(
*
msg
)
->
enb_config_reply_msg
=
enb_config_reply_msg
;
(
*
msg
)
->
enb_config_reply_msg
=
enb_config_reply_msg
;
return
0
;
return
0
;
error:
error:
...
...
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
e1d1b0ba
...
@@ -56,6 +56,8 @@
...
@@ -56,6 +56,8 @@
#include "RRC/LITE/extern.h"
#include "RRC/LITE/extern.h"
#include "RRC/L2_INTERFACE/openair_rrc_L2_interface.h"
#include "RRC/L2_INTERFACE/openair_rrc_L2_interface.h"
#include "enb_agent_extern.h"
//#include "LAYER2/MAC/pre_processor.c"
//#include "LAYER2/MAC/pre_processor.c"
#include "pdcp.h"
#include "pdcp.h"
...
@@ -255,6 +257,12 @@ void rx_sdu(
...
@@ -255,6 +257,12 @@ void rx_sdu(
}
else
}
else
LOG_I
(
MAC
,
"[eNB %d][RAPROC] CC_id %d Frame %d Added user with rnti %x => UE %d
\n
"
,
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
);
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
{
}
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
"
,
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
);
enb_mod_idP
,
CC_idP
,
frameP
,
UE_id
,
rx_lengths
[
i
],
payload_ptr
-
sduP
);
...
...
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