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
zzha zzha
OpenXG-RAN
Commits
2a91fa88
Commit
2a91fa88
authored
Feb 03, 2016
by
gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix in phy_scope_lte
increase maximum users in eNodeB to 16
parent
40656e0e
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
7 deletions
+9
-7
openair1/PHY/LTE_TRANSPORT/print_stats.c
openair1/PHY/LTE_TRANSPORT/print_stats.c
+0
-1
openair1/PHY/impl_defs_top.h
openair1/PHY/impl_defs_top.h
+1
-1
openair2/LAYER2/MAC/pre_processor.c
openair2/LAYER2/MAC/pre_processor.c
+1
-1
openair2/RRC/LITE/rrc_eNB.c
openair2/RRC/LITE/rrc_eNB.c
+3
-0
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.50PRB.usrpb210.conf
...TS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.50PRB.usrpb210.conf
+2
-2
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+2
-2
No files found.
openair1/PHY/LTE_TRANSPORT/print_stats.c
View file @
2a91fa88
...
@@ -630,7 +630,6 @@ int dump_eNB_stats(PHY_VARS_eNB *phy_vars_eNB, char* buffer, int length)
...
@@ -630,7 +630,6 @@ int dump_eNB_stats(PHY_VARS_eNB *phy_vars_eNB, char* buffer, int length)
phy_vars_eNB
->
eNB_UE_stats
[
UE_id
].
sector
);
phy_vars_eNB
->
eNB_UE_stats
[
UE_id
].
sector
);
len
+=
sprintf
(
&
buffer
[
len
],
"DL mcs %d, UL mcs %d, UL rb %d, delta_TF %d, "
,
len
+=
sprintf
(
&
buffer
[
len
],
"DL mcs %d, UL mcs %d, UL rb %d, delta_TF %d, "
,
i
,
phy_vars_eNB
->
dlsch_eNB
[(
uint8_t
)
UE_id
][
0
]
->
harq_processes
[
0
]
->
mcs
,
phy_vars_eNB
->
dlsch_eNB
[(
uint8_t
)
UE_id
][
0
]
->
harq_processes
[
0
]
->
mcs
,
phy_vars_eNB
->
ulsch_eNB
[(
uint8_t
)
UE_id
]
->
harq_processes
[
0
]
->
mcs
,
phy_vars_eNB
->
ulsch_eNB
[(
uint8_t
)
UE_id
]
->
harq_processes
[
0
]
->
mcs
,
phy_vars_eNB
->
ulsch_eNB
[(
uint8_t
)
UE_id
]
->
harq_processes
[
0
]
->
nb_rb
,
phy_vars_eNB
->
ulsch_eNB
[(
uint8_t
)
UE_id
]
->
harq_processes
[
0
]
->
nb_rb
,
...
...
openair1/PHY/impl_defs_top.h
View file @
2a91fa88
...
@@ -342,7 +342,7 @@ typedef struct {
...
@@ -342,7 +342,7 @@ typedef struct {
#define MAX_FRAME_NUMBER 0x400
#define MAX_FRAME_NUMBER 0x400
#if defined(CBMIMO1) || defined(EXMIMO) || defined(OAI_USRP)
#if defined(CBMIMO1) || defined(EXMIMO) || defined(OAI_USRP)
#define NUMBER_OF_eNB_MAX 1
#define NUMBER_OF_eNB_MAX 1
#define NUMBER_OF_UE_MAX
4
#define NUMBER_OF_UE_MAX
16
#define NUMBER_OF_CONNECTED_eNB_MAX 3
#define NUMBER_OF_CONNECTED_eNB_MAX 3
#else
#else
#ifdef LARGE_SCALE
#ifdef LARGE_SCALE
...
...
openair2/LAYER2/MAC/pre_processor.c
View file @
2a91fa88
...
@@ -1104,7 +1104,7 @@ void store_ulsch_buffer(module_id_t module_idP, int frameP, sub_frame_t subframe
...
@@ -1104,7 +1104,7 @@ void store_ulsch_buffer(module_id_t module_idP, int frameP, sub_frame_t subframe
}
}
if
(
UE_template
->
ul_total_buffer
>
0
)
if
(
UE_template
->
ul_total_buffer
>
0
)
LOG_
I
(
MAC
,
"[eNB %d] Frame %d subframe %d UE %d CC id %d: LCGID0 %d, LCGID1 %d, LCGID2 %d LCGID3 %d, BO %d
\n
"
,
LOG_
D
(
MAC
,
"[eNB %d] Frame %d subframe %d UE %d CC id %d: LCGID0 %d, LCGID1 %d, LCGID2 %d LCGID3 %d, BO %d
\n
"
,
module_idP
,
frameP
,
subframeP
,
UE_id
,
UE_PCCID
(
module_idP
,
UE_id
),
module_idP
,
frameP
,
subframeP
,
UE_id
,
UE_PCCID
(
module_idP
,
UE_id
),
UE_template
->
ul_buffer_info
[
LCGID0
],
UE_template
->
ul_buffer_info
[
LCGID0
],
UE_template
->
ul_buffer_info
[
LCGID1
],
UE_template
->
ul_buffer_info
[
LCGID1
],
...
...
openair2/RRC/LITE/rrc_eNB.c
View file @
2a91fa88
...
@@ -3714,11 +3714,14 @@ rrc_eNB_decode_ccch(
...
@@ -3714,11 +3714,14 @@ rrc_eNB_decode_ccch(
random_value
=
(((
uint64_t
)
mme_code
)
<<
32
)
|
m_tmsi
;
random_value
=
(((
uint64_t
)
mme_code
)
<<
32
)
|
m_tmsi
;
if
((
ue_context_p
=
rrc_eNB_ue_context_stmsi_exist
(
ctxt_pP
,
mme_code
,
m_tmsi
)))
{
if
((
ue_context_p
=
rrc_eNB_ue_context_stmsi_exist
(
ctxt_pP
,
mme_code
,
m_tmsi
)))
{
#warning "TODO: stmsi_exist: remove UE from MAC/PHY (how?)"
#warning "TODO: stmsi_exist: remove UE from MAC/PHY (how?)"
LOG_I
(
RRC
,
PROTOCOL_RRC_CTXT_UE_FMT
" S-TMSI exists, ue_context_p %p
\n
"
,
ue_context_p
);
// AssertFatal(0 == 1, "TODO: remove UE from MAC/PHY (how?)");
// AssertFatal(0 == 1, "TODO: remove UE from MAC/PHY (how?)");
ue_context_p
=
NULL
;
ue_context_p
=
NULL
;
}
else
{
}
else
{
ue_context_p
=
rrc_eNB_get_next_free_ue_context
(
ctxt_pP
,
NOT_A_RANDOM_UE_IDENTITY
);
ue_context_p
=
rrc_eNB_get_next_free_ue_context
(
ctxt_pP
,
NOT_A_RANDOM_UE_IDENTITY
);
}
}
if
(
ue_context_p
==
NULL
)
AssertFatal
(
0
==
1
,
"ue_context_p is null"
);
ue_context_p
->
ue_context
.
Initialue_identity_s_TMSI
.
presence
=
TRUE
;
ue_context_p
->
ue_context
.
Initialue_identity_s_TMSI
.
presence
=
TRUE
;
ue_context_p
->
ue_context
.
Initialue_identity_s_TMSI
.
mme_code
=
mme_code
;
ue_context_p
->
ue_context
.
Initialue_identity_s_TMSI
.
mme_code
=
mme_code
;
ue_context_p
->
ue_context
.
Initialue_identity_s_TMSI
.
m_tmsi
=
m_tmsi
;
ue_context_p
->
ue_context
.
Initialue_identity_s_TMSI
.
m_tmsi
=
m_tmsi
;
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.50PRB.usrpb210.conf
View file @
2a91fa88
...
@@ -140,10 +140,10 @@ eNBs =
...
@@ -140,10 +140,10 @@ eNBs =
NETWORK_INTERFACES
:
NETWORK_INTERFACES
:
{
{
ENB_INTERFACE_NAME_FOR_S1_MME
=
"eth0"
;
ENB_INTERFACE_NAME_FOR_S1_MME
=
"eth0"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"192.168.12.21
5
/24"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"192.168.12.21
3
/24"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"eth0"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"eth0"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"192.168.12.21
5
/24"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"192.168.12.21
3
/24"
;
ENB_PORT_FOR_S1U
=
2152
;
# Spec 2152
ENB_PORT_FOR_S1U
=
2152
;
# Spec 2152
};
};
...
...
targets/RT/USER/lte-softmodem.c
View file @
2a91fa88
...
@@ -316,7 +316,7 @@ static LTE_DL_FRAME_PARMS *frame_parms[MAX_NUM_CCs];
...
@@ -316,7 +316,7 @@ static LTE_DL_FRAME_PARMS *frame_parms[MAX_NUM_CCs];
int
multi_thread
=
1
;
int
multi_thread
=
1
;
uint32_t
target_dl_mcs
=
28
;
//maximum allowed mcs
uint32_t
target_dl_mcs
=
28
;
//maximum allowed mcs
uint32_t
target_ul_mcs
=
1
0
;
uint32_t
target_ul_mcs
=
1
9
;
uint32_t
timing_advance
=
0
;
uint32_t
timing_advance
=
0
;
uint8_t
exit_missed_slots
=
1
;
uint8_t
exit_missed_slots
=
1
;
uint64_t
num_missed_slots
=
0
;
// counter for the number of missed slots
uint64_t
num_missed_slots
=
0
;
// counter for the number of missed slots
...
@@ -552,7 +552,7 @@ static void *scope_thread(void *arg)
...
@@ -552,7 +552,7 @@ static void *scope_thread(void *arg)
for
(
UE_id
=
0
;
UE_id
<
NUMBER_OF_UE_MAX
;
UE_id
++
)
{
for
(
UE_id
=
0
;
UE_id
<
NUMBER_OF_UE_MAX
;
UE_id
++
)
{
for
(
CC_id
=
0
;
CC_id
<
MAX_NUM_CCs
;
CC_id
++
)
{
for
(
CC_id
=
0
;
CC_id
<
MAX_NUM_CCs
;
CC_id
++
)
{
if
((
PHY_vars_eNB_g
[
0
][
CC_id
]
->
dlsch_eNB
[
UE_id
][
0
]
->
rnti
>
0
)
&&
(
ue_cnt
<
scope_enb_num_ue
))
{
if
((
PHY_vars_eNB_g
[
0
][
CC_id
]
->
dlsch_eNB
[
UE_id
][
0
]
->
rnti
>
0
)
&&
(
ue_cnt
<
scope_enb_num_ue
))
{
phy_scope_eNB
(
form_enb
[
CC_id
][
UE_id
],
phy_scope_eNB
(
form_enb
[
CC_id
][
ue_cnt
],
PHY_vars_eNB_g
[
0
][
CC_id
],
PHY_vars_eNB_g
[
0
][
CC_id
],
UE_id
);
UE_id
);
ue_cnt
++
;
ue_cnt
++
;
...
...
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