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
lizhongxiao
OpenXG-RAN
Commits
b34ca188
Commit
b34ca188
authored
Mar 11, 2016
by
alexandr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UL traffic issue fixed-Support more than one apps
parent
ac8f5ba7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
7 deletions
+11
-7
openair2/RRC/LITE/L2_interface.c
openair2/RRC/LITE/L2_interface.c
+1
-0
openair2/UTIL/OMG/TRACE/handover.tr
openair2/UTIL/OMG/TRACE/handover.tr
+1
-0
openair2/UTIL/OTG/otg_tx.c
openair2/UTIL/OTG/otg_tx.c
+1
-2
targets/SIMU/EXAMPLES/OSD/WEBXML/template_42.xml
targets/SIMU/EXAMPLES/OSD/WEBXML/template_42.xml
+1
-0
targets/SIMU/USER/oaisim_functions.c
targets/SIMU/USER/oaisim_functions.c
+7
-5
No files found.
openair2/RRC/LITE/L2_interface.c
View file @
b34ca188
...
...
@@ -754,4 +754,5 @@ void rrc_lite_ue_update_ho_status(module_id_t Mod_idP){
//UE_rrc_inst[Mod_idP].HandoverInfoUe.measFlag = 0; // Stop the measurements
UE_mac_inst
[
Mod_idP
].
RA_active
=
0
;
UE_rrc_inst
[
Mod_idP
].
Info
[
0
].
State
=
RRC_RECONFIGURED
;
LOG_D
(
RRC
,
"UE is updated: Mod_id: %d/State: %d
\n
"
,
Mod_idP
,
UE_rrc_inst
[
Mod_idP
].
Info
[
0
].
State
);
}
openair2/UTIL/OMG/TRACE/handover.tr
View file @
b34ca188
0 0 1800 4800 1000
1 0 4700 4840 1000
2 0 1800 4800 1000
3 0 4700 4840 1000
openair2/UTIL/OTG/otg_tx.c
View file @
b34ca188
...
...
@@ -273,8 +273,7 @@ unsigned char *packet_gen(
//LOG_I(OTG,"Src: %d - Dest: %d - before exit\n",src_instance,dst_instance);
// check if the app is configured
if
(
app
>=
g_otg
->
application_idx
[
src_instance
][
dst_instance
])
{
//LOG_I(OTG,"Src: %d - Dest: %d - no packet to generate - no application\n",src_instance,dst_instance);
return
NULL
;
return
NULL
;
}
LOG_T
(
OTG
,
"[src %d] [dst %d ][APP %d] current time %d
\n
"
,
src_instance
,
dst_instance
,
app
,
ctime
);
...
...
targets/SIMU/EXAMPLES/OSD/WEBXML/template_42.xml
View file @
b34ca188
...
...
@@ -100,6 +100,7 @@
<SIZE_MIN_byte>
850
</SIZE_MIN_byte>
<SIZE_MAX_byte>
1408
</SIZE_MAX_byte>
</CUSTOMIZED_TRAFFIC>
<!--</APPLICATION_CONFIG> -->
<!-- DL -->
...
...
targets/SIMU/USER/oaisim_functions.c
View file @
b34ca188
...
...
@@ -1468,16 +1468,17 @@ void update_otg_eNB(module_id_t enb_module_idP, unsigned int ctime)
void
update_otg_UE
(
module_id_t
ue_mod_idP
,
unsigned
int
ctime
)
{
#if defined(USER_MODE) && defined(OAI_EMU)
if
(
oai_emulation
.
info
.
otg_enabled
==
1
)
{
int
app_id
;
if
(
oai_emulation
.
info
.
otg_enabled
==
1
)
{
module_id_t
dst_id
,
src_id
;
//dst_id = eNB_index
module_id_t
module_id
=
ue_mod_idP
+
NB_eNB_INST
;
src_id
=
module_id
;
for
(
dst_id
=
0
;
dst_id
<
NB_SIG_CNX_UE
;
dst_id
++
)
{
for
(
dst_id
=
0
;
dst_id
<
NB_SIG_CNX_UE
;
dst_id
++
)
{
// only consider the first attached eNB
if
(
mac_UE_get_rrc_status
(
ue_mod_idP
,
dst_id
)
>
2
/*RRC_CONNECTED*/
)
{
if
(
mac_UE_get_rrc_status
(
ue_mod_idP
,
dst_id
)
>
2
/*RRC_CONNECTED*/
)
{
for
(
app_id
=
0
;
app_id
<
MAX_NUM_APPLICATION
;
app_id
++
)
{
Packet_otg_elt_t
*
otg_pkt
=
malloc
(
sizeof
(
Packet_otg_elt_t
));
if
(
otg_pkt
!=
NULL
)
...
...
@@ -1487,7 +1488,7 @@ void update_otg_UE(module_id_t ue_mod_idP, unsigned int ctime)
exit
(
-
1
);
}
// Manage to add this packet to the tail of your list
(
otg_pkt
->
otg_pkt
).
sdu_buffer
=
(
uint8_t
*
)
packet_gen
(
src_id
,
dst_id
,
0
,
ctime
,
&
((
otg_pkt
->
otg_pkt
).
sdu_buffer_size
));
(
otg_pkt
->
otg_pkt
).
sdu_buffer
=
(
uint8_t
*
)
packet_gen
(
src_id
,
dst_id
,
app_id
,
ctime
,
&
((
otg_pkt
->
otg_pkt
).
sdu_buffer_size
));
if
((
otg_pkt
->
otg_pkt
).
sdu_buffer
!=
NULL
)
{
(
otg_pkt
->
otg_pkt
).
rb_id
=
DTCH
-
2
;
...
...
@@ -1503,6 +1504,7 @@ void update_otg_UE(module_id_t ue_mod_idP, unsigned int ctime)
free
(
otg_pkt
);
otg_pkt
=
NULL
;
}
}
}
}
}
...
...
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