Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
openairinterface5G
Commits
5a202db5
Commit
5a202db5
authored
7 years ago
by
Younes Khadraoui
Browse files
Options
Downloads
Patches
Plain Diff
removal of assertions which failed for TDD
parent
380222ee
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!262
Develop integration 2018 w05
,
!259
Develop nos1 fixes
,
!251
Develop nos1 fixes
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
openair1/PHY/LTE_TRANSPORT/dci_tools.c
+1
-1
1 addition, 1 deletion
openair1/PHY/LTE_TRANSPORT/dci_tools.c
openair1/SCHED/fapi_l1.c
+8
-2
8 additions, 2 deletions
openair1/SCHED/fapi_l1.c
openair1/SCHED/phy_procedures_lte_eNb.c
+4
-2
4 additions, 2 deletions
openair1/SCHED/phy_procedures_lte_eNb.c
with
13 additions
and
5 deletions
openair1/PHY/LTE_TRANSPORT/dci_tools.c
+
1
−
1
View file @
5a202db5
...
@@ -6488,7 +6488,7 @@ uint8_t pdcch_alloc2ul_subframe(LTE_DL_FRAME_PARMS *frame_parms,uint8_t n)
...
@@ -6488,7 +6488,7 @@ uint8_t pdcch_alloc2ul_subframe(LTE_DL_FRAME_PARMS *frame_parms,uint8_t n)
else
else
ul_subframe
=
((
n
+
4
)
%
10
);
ul_subframe
=
((
n
+
4
)
%
10
);
AssertFatal
(
frame_parms
->
frame_type
==
FDD
||
subframe_select
(
frame_parms
,
ul_subframe
)
==
SF_UL
,
"illegal ul_subframe %d
\n
"
,
ul_subframe
);
//
AssertFatal(frame_parms->frame_type == FDD || subframe_select(frame_parms,ul_subframe) == SF_UL,"illegal ul_subframe %d
(n %d)
\n",ul_subframe
,n
);
LOG_D
(
PHY
,
"subframe %d: PUSCH subframe = %d
\n
"
,
n
,
ul_subframe
);
LOG_D
(
PHY
,
"subframe %d: PUSCH subframe = %d
\n
"
,
n
,
ul_subframe
);
return
ul_subframe
;
return
ul_subframe
;
...
...
This diff is collapsed.
Click to expand it.
openair1/SCHED/fapi_l1.c
+
8
−
2
View file @
5a202db5
...
@@ -580,9 +580,14 @@ void schedule_response(Sched_Rsp_t *Sched_INFO)
...
@@ -580,9 +580,14 @@ void schedule_response(Sched_Rsp_t *Sched_INFO)
AssertFatal
(
RC
.
eNB
[
Mod_id
]
!=
NULL
,
"RC.eNB[%d] is null
\n
"
,
Mod_id
);
AssertFatal
(
RC
.
eNB
[
Mod_id
]
!=
NULL
,
"RC.eNB[%d] is null
\n
"
,
Mod_id
);
AssertFatal
(
RC
.
eNB
[
Mod_id
][
CC_id
]
!=
NULL
,
"RC.eNB[%d][%d] is null
\n
"
,
Mod_id
,
CC_id
);
AssertFatal
(
RC
.
eNB
[
Mod_id
][
CC_id
]
!=
NULL
,
"RC.eNB[%d][%d] is null
\n
"
,
Mod_id
,
CC_id
);
eNB
=
RC
.
eNB
[
Mod_id
][
CC_id
];
eNB
=
RC
.
eNB
[
Mod_id
][
CC_id
];
fp
=
&
eNB
->
frame_parms
;
fp
=
&
eNB
->
frame_parms
;
proc
=
&
eNB
->
proc
.
proc_rxtx
[
0
];
proc
=
&
eNB
->
proc
.
proc_rxtx
[
0
];
if
((
fp
->
frame_type
==
TDD
)
&&
(
subframe_select
(
fp
,
subframe
)
==
SF_UL
))
return
;
ul_subframe
=
pdcch_alloc2ul_subframe
(
fp
,
subframe
);
ul_subframe
=
pdcch_alloc2ul_subframe
(
fp
,
subframe
);
ul_frame
=
pdcch_alloc2ul_frame
(
fp
,
frame
,
subframe
);
ul_frame
=
pdcch_alloc2ul_frame
(
fp
,
frame
,
subframe
);
...
@@ -608,8 +613,9 @@ void schedule_response(Sched_Rsp_t *Sched_INFO)
...
@@ -608,8 +613,9 @@ void schedule_response(Sched_Rsp_t *Sched_INFO)
frame
,
subframe
,
ul_subframe
,
number_dl_pdu
,
TX_req
->
tx_request_body
.
number_of_pdus
,
number_hi_dci0_pdu
,
number_ul_pdu
);
frame
,
subframe
,
ul_subframe
,
number_dl_pdu
,
TX_req
->
tx_request_body
.
number_of_pdus
,
number_hi_dci0_pdu
,
number_ul_pdu
);
if
(
ul_subframe
<
10
)
{
// This means that there is an ul_subframe that can be configured here
if
((
ul_subframe
<
10
)
&&
LOG_D
(
PHY
,
"NFAPI: Clearing dci allocations for potential UL
\n
"
);
(
subframe_select
(
fp
,
ul_subframe
)
==
SF_UL
))
{
// This means that there is an ul_subframe that can be configured here
LOG_D
(
PHY
,
"NFAPI: Clearing dci allocations for potential UL subframe %d
\n
"
,
ul_subframe
);
harq_pid
=
subframe2harq_pid
(
fp
,
ul_frame
,
ul_subframe
);
harq_pid
=
subframe2harq_pid
(
fp
,
ul_frame
,
ul_subframe
);
// clear DCI allocation maps for new subframe
// clear DCI allocation maps for new subframe
...
...
This diff is collapsed.
Click to expand it.
openair1/SCHED/phy_procedures_lte_eNb.c
+
4
−
2
View file @
5a202db5
...
@@ -404,6 +404,7 @@ void phy_procedures_eNB_TX(PHY_VARS_eNB *eNB,
...
@@ -404,6 +404,7 @@ void phy_procedures_eNB_TX(PHY_VARS_eNB *eNB,
int
offset
=
eNB
->
CC_id
;
//proc == &eNB->proc.proc_rxtx[0] ? 0 : 1;
int
offset
=
eNB
->
CC_id
;
//proc == &eNB->proc.proc_rxtx[0] ? 0 : 1;
if
((
fp
->
frame_type
==
TDD
)
&&
(
subframe_select
(
fp
,
subframe
)
==
SF_UL
))
return
;
if
((
fp
->
frame_type
==
TDD
)
&&
(
subframe_select
(
fp
,
subframe
)
==
SF_UL
))
return
;
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_ENB_TX
+
offset
,
1
);
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_ENB_TX
+
offset
,
1
);
...
@@ -437,7 +438,8 @@ void phy_procedures_eNB_TX(PHY_VARS_eNB *eNB,
...
@@ -437,7 +438,8 @@ void phy_procedures_eNB_TX(PHY_VARS_eNB *eNB,
}
}
/* save old HARQ information needed for PHICH generation */
/* save old HARQ information needed for PHICH generation */
if
(
ul_subframe
<
10
)
{
// This means that there is a potential UL subframe that will be scheduled here
if
((
ul_subframe
<
10
)
&&
(
subframe_select
(
fp
,
ul_subframe
)
==
SF_UL
))
{
// This means that there is a potential UL subframe that will be scheduled here
for
(
i
=
0
;
i
<
NUMBER_OF_UE_MAX
;
i
++
)
{
for
(
i
=
0
;
i
<
NUMBER_OF_UE_MAX
;
i
++
)
{
harq_pid
=
subframe2harq_pid
(
fp
,
ul_frame
,
ul_subframe
);
harq_pid
=
subframe2harq_pid
(
fp
,
ul_frame
,
ul_subframe
);
if
(
eNB
->
ulsch
[
i
])
{
if
(
eNB
->
ulsch
[
i
])
{
...
@@ -1959,7 +1961,7 @@ void phy_procedures_eNB_uespec_RX(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,const
...
@@ -1959,7 +1961,7 @@ void phy_procedures_eNB_uespec_RX(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,const
eNB
->
first_run_I0_measurements
);
eNB
->
first_run_I0_measurements
);
int
min_I0
=
1000
,
max_I0
=
0
;
int
min_I0
=
1000
,
max_I0
=
0
;
if
((
frame
==
0
)
&&
(
subframe
==
6
))
{
if
((
frame
==
0
)
&&
(
subframe
==
4
))
{
for
(
int
i
=
0
;
i
<
eNB
->
frame_parms
.
N_RB_UL
;
i
++
)
{
for
(
int
i
=
0
;
i
<
eNB
->
frame_parms
.
N_RB_UL
;
i
++
)
{
if
(
i
==
(
eNB
->
frame_parms
.
N_RB_UL
>>
1
)
-
1
)
i
+=
2
;
if
(
i
==
(
eNB
->
frame_parms
.
N_RB_UL
>>
1
)
-
1
)
i
+=
2
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment