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
4e144dba
Commit
4e144dba
authored
Feb 27, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless MBMS_NFAPI_SCHEDULER definition
parent
d379bbae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
51 deletions
+0
-51
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+0
-51
No files found.
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
4e144dba
...
@@ -48,8 +48,6 @@
...
@@ -48,8 +48,6 @@
#include "intertask_interface.h"
#include "intertask_interface.h"
#define MBMS_NFAPI_SCHEDULER
#include "common/ran_context.h"
#include "common/ran_context.h"
extern
RAN_CONTEXT_t
RC
;
extern
RAN_CONTEXT_t
RC
;
...
@@ -122,7 +120,6 @@ lte_subframe_t get_subframe_direction(uint8_t Mod_id,uint8_t CC_id,uint8_t subfr
...
@@ -122,7 +120,6 @@ lte_subframe_t get_subframe_direction(uint8_t Mod_id,uint8_t CC_id,uint8_t subfr
return
(
subframe_select
(
&
RC
.
eNB
[
Mod_id
][
CC_id
]
->
frame_parms
,
subframe
));
return
(
subframe_select
(
&
RC
.
eNB
[
Mod_id
][
CC_id
]
->
frame_parms
,
subframe
));
}
}
#ifdef MBMS_NFAPI_SCHEDULER
void
pmch_procedures
(
PHY_VARS_eNB
*
eNB
,
L1_rxtx_proc_t
*
proc
,
int
fembms_flag
)
{
void
pmch_procedures
(
PHY_VARS_eNB
*
eNB
,
L1_rxtx_proc_t
*
proc
,
int
fembms_flag
)
{
int
subframe
=
proc
->
subframe_tx
;
int
subframe
=
proc
->
subframe_tx
;
// This is DL-Cell spec pilots in Control region
// This is DL-Cell spec pilots in Control region
...
@@ -151,46 +148,6 @@ void pmch_procedures(PHY_VARS_eNB *eNB,L1_rxtx_proc_t *proc, int fembms_flag) {
...
@@ -151,46 +148,6 @@ void pmch_procedures(PHY_VARS_eNB *eNB,L1_rxtx_proc_t *proc, int fembms_flag) {
}
}
eNB
->
dlsch_MCH
->
active
=
0
;
eNB
->
dlsch_MCH
->
active
=
0
;
}
}
#else
void
pmch_procedures
(
PHY_VARS_eNB
*
eNB
,
L1_rxtx_proc_t
*
proc
)
{
MCH_PDU
*
mch_pduP
=
NULL
;
// uint8_t sync_area=255;
int
subframe
=
proc
->
subframe_tx
;
AssertFatal
(
1
==
1
,
"pmch not tested for the moment, exiting
\n
"
);
// This is DL-Cell spec pilots in Control region
generate_pilots_slot
(
eNB
,
eNB
->
common_vars
.
txdataF
,
AMP
,
subframe
<<
1
,
1
);
// if mcch is active, send regardless of the node type: eNB or RN
// when mcch is active, MAC sched does not allow MCCH and MTCH multiplexing
/*
mch_pduP = mac_xface->get_mch_sdu(eNB->Mod_id,
eNB->CC_id,
proc->frame_tx,
subframe);
*/
mch_pduP
=
&
RC
.
mac
[
eNB
->
Mod_id
]
->
common_channels
[
eNB
->
CC_id
].
MCH_pdu
;
if
((
mch_pduP
->
Pdu_size
>
0
)
&&
(
mch_pduP
->
sync_area
==
0
))
// TEST: only transmit mcch for sync area 0
LOG_D
(
PHY
,
"[eNB%"
PRIu8
"] Frame %d subframe %d : Got MCH pdu for MBSFN (MCS %"
PRIu8
", TBS %d)
\n
"
,
eNB
->
Mod_id
,
proc
->
frame_tx
,
subframe
,
mch_pduP
->
mcs
,
eNB
->
dlsch_MCH
->
harq_processes
[
0
]
->
TBS
>>
3
);
else
{
LOG_D
(
PHY
,
"[DeNB %"
PRIu8
"] Frame %d subframe %d : Do not transmit MCH pdu for MBSFN sync area %"
PRIu8
" (%s)
\n
"
,
eNB
->
Mod_id
,
proc
->
frame_tx
,
subframe
,
mch_pduP
->
sync_area
,
(
mch_pduP
->
Pdu_size
==
0
)
?
"Empty MCH PDU"
:
"Let RN transmit for the moment"
);
mch_pduP
=
NULL
;
}
if
(
mch_pduP
)
{
fill_eNB_dlsch_MCH
(
eNB
,
mch_pduP
->
mcs
,
1
,
0
);
eNB
->
dlsch_MCH
->
harq_ids
[
proc
->
frame_tx
%
2
][
subframe
]
=
0
;
eNB
->
dlsch_MCH
->
harq_processes
[
0
]
->
pdu
=
(
uint8_t
*
)
mch_pduP
->
payload
;
// Generate PMCH
generate_mch
(
eNB
,
proc
,
NULL
/*(uint8_t *) mch_pduP->payload*/
);
}
else
{
LOG_D
(
PHY
,
"[eNB/RN] Frame %d subframe %d: MCH not generated
\n
"
,
proc
->
frame_tx
,
subframe
);
}
}
#endif
void
common_signal_procedures_fembms
(
PHY_VARS_eNB
*
eNB
,
int
frame
,
int
subframe
)
{
void
common_signal_procedures_fembms
(
PHY_VARS_eNB
*
eNB
,
int
frame
,
int
subframe
)
{
LTE_DL_FRAME_PARMS
*
fp
=&
eNB
->
frame_parms
;
LTE_DL_FRAME_PARMS
*
fp
=&
eNB
->
frame_parms
;
...
@@ -507,11 +464,9 @@ void phy_procedures_eNB_TX(PHY_VARS_eNB *eNB,
...
@@ -507,11 +464,9 @@ void phy_procedures_eNB_TX(PHY_VARS_eNB *eNB,
if
(
NFAPI_MODE
==
NFAPI_MONOLITHIC
||
NFAPI_MODE
==
NFAPI_MODE_PNF
)
{
if
(
NFAPI_MODE
==
NFAPI_MONOLITHIC
||
NFAPI_MODE
==
NFAPI_MODE_PNF
)
{
if
(
is_fembms_pmch_subframe
(
frame
,
subframe
,
fp
))
{
if
(
is_fembms_pmch_subframe
(
frame
,
subframe
,
fp
))
{
#ifdef MBMS_NFAPI_SCHEDULER
pmch_procedures
(
eNB
,
proc
,
1
);
pmch_procedures
(
eNB
,
proc
,
1
);
LOG_D
(
MAC
,
"frame %d, subframe %d -> PMCH
\n
"
,
frame
,
subframe
);
LOG_D
(
MAC
,
"frame %d, subframe %d -> PMCH
\n
"
,
frame
,
subframe
);
return
;
return
;
#endif
}
else
if
(
is_fembms_cas_subframe
(
frame
,
subframe
,
fp
)
||
is_fembms_nonMBSFN_subframe
(
frame
,
subframe
,
fp
)){
}
else
if
(
is_fembms_cas_subframe
(
frame
,
subframe
,
fp
)
||
is_fembms_nonMBSFN_subframe
(
frame
,
subframe
,
fp
)){
LOG_D
(
MAC
,
"frame %d, subframe %d -> CAS
\n
"
,
frame
,
subframe
);
LOG_D
(
MAC
,
"frame %d, subframe %d -> CAS
\n
"
,
frame
,
subframe
);
common_signal_procedures_fembms
(
eNB
,
proc
->
frame_tx
,
proc
->
subframe_tx
);
common_signal_procedures_fembms
(
eNB
,
proc
->
frame_tx
,
proc
->
subframe_tx
);
...
@@ -520,11 +475,7 @@ void phy_procedures_eNB_TX(PHY_VARS_eNB *eNB,
...
@@ -520,11 +475,7 @@ void phy_procedures_eNB_TX(PHY_VARS_eNB *eNB,
if
((
!
is_fembms_cas_subframe
(
frame
,
subframe
,
fp
))
&&
(
!
is_fembms_nonMBSFN_subframe
(
frame
,
subframe
,
fp
))){
if
((
!
is_fembms_cas_subframe
(
frame
,
subframe
,
fp
))
&&
(
!
is_fembms_nonMBSFN_subframe
(
frame
,
subframe
,
fp
))){
if
(
is_pmch_subframe
(
frame
,
subframe
,
fp
))
{
if
(
is_pmch_subframe
(
frame
,
subframe
,
fp
))
{
#ifdef MBMS_NFAPI_SCHEDULER
pmch_procedures
(
eNB
,
proc
,
0
);
pmch_procedures
(
eNB
,
proc
,
0
);
#else
pmch_procedures
(
eNB
,
proc
);
#endif
}
else
{
}
else
{
// this is not a pmch subframe, so generate PSS/SSS/PBCH
// this is not a pmch subframe, so generate PSS/SSS/PBCH
common_signal_procedures
(
eNB
,
proc
->
frame_tx
,
proc
->
subframe_tx
);
common_signal_procedures
(
eNB
,
proc
->
frame_tx
,
proc
->
subframe_tx
);
...
@@ -617,10 +568,8 @@ void phy_procedures_eNB_TX(PHY_VARS_eNB *eNB,
...
@@ -617,10 +568,8 @@ void phy_procedures_eNB_TX(PHY_VARS_eNB *eNB,
if
(
NFAPI_MODE
==
NFAPI_MONOLITHIC
||
NFAPI_MODE
==
NFAPI_MODE_PNF
)
{
if
(
NFAPI_MODE
==
NFAPI_MONOLITHIC
||
NFAPI_MODE
==
NFAPI_MODE_PNF
)
{
if
(
is_fembms_pmch_subframe
(
frame
,
subframe
,
fp
))
{
if
(
is_fembms_pmch_subframe
(
frame
,
subframe
,
fp
))
{
#ifdef MBMS_NFAPI_SCHEDULER
pmch_procedures
(
eNB
,
proc
,
1
);
pmch_procedures
(
eNB
,
proc
,
1
);
return
;
return
;
#endif
}
else
if
(
is_fembms_cas_subframe
(
frame
,
subframe
,
fp
)){
}
else
if
(
is_fembms_cas_subframe
(
frame
,
subframe
,
fp
)){
common_signal_procedures_fembms
(
eNB
,
proc
->
frame_tx
,
proc
->
subframe_tx
);
common_signal_procedures_fembms
(
eNB
,
proc
->
frame_tx
,
proc
->
subframe_tx
);
}
}
...
...
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