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
Package Registry
Model registry
Operate
Terraform modules
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
Admin message
Maintenance operation of our GitLab server is scheduled for Wednesday, April 16, 2025, at 1PM.
Show more breadcrumbs
Mingxuan Li
openairinterface5G
Commits
4e144dba
Commit
4e144dba
authored
2 years ago
by
Robert Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
Remove useless MBMS_NFAPI_SCHEDULER definition
parent
d379bbae
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openair1/SCHED/phy_procedures_lte_eNb.c
+0
-51
0 additions, 51 deletions
openair1/SCHED/phy_procedures_lte_eNb.c
with
0 additions
and
51 deletions
openair1/SCHED/phy_procedures_lte_eNb.c
+
0
−
51
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
);
}
}
...
...
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