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
3120f166
Commit
3120f166
authored
Jan 14, 2018
by
Rohit Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes for noS1 IP addressing (UE side)
parent
5a202db5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
10 deletions
+5
-10
cmake_targets/oaisim_noS1_build_oai/CMakeLists.template
cmake_targets/oaisim_noS1_build_oai/CMakeLists.template
+1
-1
cmake_targets/tools/init_nas_nos1
cmake_targets/tools/init_nas_nos1
+2
-2
openair1/SCHED/phy_procedures_lte_ue.c
openair1/SCHED/phy_procedures_lte_ue.c
+1
-1
openair2/RRC/LITE/rrc_UE.c
openair2/RRC/LITE/rrc_UE.c
+1
-6
No files found.
cmake_targets/oaisim_noS1_build_oai/CMakeLists.template
View file @
3120f166
...
...
@@ -36,7 +36,7 @@ set ( MESSAGE_CHART_GENERATOR_PHY False )
set ( MIH_C_MEDIEVAL_EXTENSIONS False )
set ( MSG_PRINT False )
set ( MU_RECEIVER False )
set ( NAS_ADDRESS_FIX
Tru
e )
set ( NAS_ADDRESS_FIX
Fals
e )
set ( NAS_BUILT_IN_UE False)
set ( NAS_MME False )
set ( NAS_UE False )
...
...
cmake_targets/tools/init_nas_nos1
View file @
3120f166
...
...
@@ -44,11 +44,11 @@ load_module $OPENAIR_DIR/targets/bin/nasmesh.ko
if
[
"
$1
"
=
"eNB"
]
;
then
echo
"bring up oai0 interface for enb"
sudo
ifconfig oai0 10.0.1.1 netmask 255.255.255.0 broadcast 10.0.1.255
$OPENAIR_DIR
/targets/bin/rb_tool
-a
-c0
-i0
-z0
-s
10.0.1.1
-t
10.0.1.
9
-r
1
$OPENAIR_DIR
/targets/bin/rb_tool
-a
-c0
-i0
-z0
-s
10.0.1.1
-t
10.0.1.
2
-r
1
else
if
[
"
$1
"
=
"UE"
]
;
then
echo
"bring up oai0 interface for UE"
sudo
ifconfig oai0 10.0.1.9 netmask 255.255.255.0 broadcast 10.0.1.255
$OPENAIR_DIR
/targets/bin/rb_tool
-a
-c0
-i0
-z0
-s
10.0.1.
9
-t
10.0.1.1
-r
1
$OPENAIR_DIR
/targets/bin/rb_tool
-a
-c0
-i0
-z0
-s
10.0.1.
2
-t
10.0.1.1
-r
1
fi
fi
openair1/SCHED/phy_procedures_lte_ue.c
View file @
3120f166
...
...
@@ -1623,7 +1623,7 @@ void ue_ulsch_uespec_procedures(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,uint8_t eNB
// deactivate service request
// ue->ulsch[eNB_id]->harq_processes[harq_pid]->subframe_scheduling_flag = 0;
LOG_
I
(
PHY
,
"Generating PUSCH (Abssubframe: %d.%d): harq-Id: %d, round: %d, MaxReTrans: %d
\n
"
,
frame_tx
,
subframe_tx
,
harq_pid
,
ue
->
ulsch
[
eNB_id
]
->
harq_processes
[
harq_pid
]
->
round
,
ue
->
ulsch
[
eNB_id
]
->
Mlimit
);
LOG_
D
(
PHY
,
"Generating PUSCH (Abssubframe: %d.%d): harq-Id: %d, round: %d, MaxReTrans: %d
\n
"
,
frame_tx
,
subframe_tx
,
harq_pid
,
ue
->
ulsch
[
eNB_id
]
->
harq_processes
[
harq_pid
]
->
round
,
ue
->
ulsch
[
eNB_id
]
->
Mlimit
);
if
(
ue
->
ulsch
[
eNB_id
]
->
harq_processes
[
harq_pid
]
->
round
>=
(
ue
->
ulsch
[
eNB_id
]
->
Mlimit
-
1
))
{
LOG_D
(
PHY
,
"PUSCH MAX Retransmission achieved ==> send last pusch
\n
"
);
...
...
openair2/RRC/LITE/rrc_UE.c
View file @
3120f166
...
...
@@ -730,13 +730,8 @@ rrc_ue_establish_drb(
*/
#ifdef PDCP_USE_NETLINK
# if !defined(OAI_NW_DRIVER_TYPE_ETHERNET) && !defined(EXMIMO) && !defined(OAI_USRP) && !defined(OAI_BLADERF) && !defined(ETHERNET) && !defined(LINK_ENB_PDCP_TO_GTPV1U)
# ifdef OAI_EMU
ip_addr_offset3
=
oai_emulation
.
info
.
nb_enb_local
;
ip_addr_offset4
=
NB_eNB_INST
;
# else
ip_addr_offset3
=
0
;
ip_addr_offset4
=
8
;
# endif
ip_addr_offset4
=
1
;
LOG_I
(
OIP
,
"[UE %d] trying to bring up the OAI interface oai%d, IP 10.0.%d.%d
\n
"
,
ue_mod_idP
,
ip_addr_offset3
+
ue_mod_idP
,
ip_addr_offset3
+
ue_mod_idP
+
1
,
ip_addr_offset4
+
ue_mod_idP
+
1
);
oip_ifup
=
nas_config
(
ip_addr_offset3
+
ue_mod_idP
,
// interface_id
...
...
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