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
wangwenhui
OpenXG-RAN
Commits
d75dc39a
Commit
d75dc39a
authored
Sep 21, 2017
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removal of more compilation warnings
parent
293bcf13
Changes
13
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
45 additions
and
2022 deletions
+45
-2022
openair1/PHY/LTE_TRANSPORT/dci_tools.c
openair1/PHY/LTE_TRANSPORT/dci_tools.c
+11
-1951
openair1/PHY/LTE_TRANSPORT/prach.c
openair1/PHY/LTE_TRANSPORT/prach.c
+2
-2
openair1/PHY/LTE_TRANSPORT/proto.h
openair1/PHY/LTE_TRANSPORT/proto.h
+2
-2
openair1/PHY/LTE_TRANSPORT/pucch.c
openair1/PHY/LTE_TRANSPORT/pucch.c
+5
-1
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+6
-9
openair2/LAYER2/MAC/config.c
openair2/LAYER2/MAC/config.c
+1
-1
openair2/LAYER2/MAC/eNB_scheduler.c
openair2/LAYER2/MAC/eNB_scheduler.c
+0
-6
openair2/LAYER2/MAC/eNB_scheduler_RA.c
openair2/LAYER2/MAC/eNB_scheduler_RA.c
+7
-7
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
+0
-3
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
+2
-2
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+1
-1
openair2/LAYER2/MAC/main.c
openair2/LAYER2/MAC/main.c
+2
-37
openair2/LAYER2/MAC/proto.h
openair2/LAYER2/MAC/proto.h
+6
-0
No files found.
openair1/PHY/LTE_TRANSPORT/dci_tools.c
View file @
d75dc39a
This diff is collapsed.
Click to expand it.
openair1/PHY/LTE_TRANSPORT/prach.c
View file @
d75dc39a
...
...
@@ -1205,7 +1205,7 @@ void rx_prach0(PHY_VARS_eNB *eNB,
frame
=
eNB
->
proc
.
frame_prach_br
;
subframe
=
eNB
->
proc
.
subframe_prach_br
;
prachF
=
eNB
->
prach_vars_br
.
prachF
;
rxsigF
=
eNB
->
prach_vars_br
.
rxsigF
;
rxsigF
=
eNB
->
prach_vars_br
.
rxsigF
[
ce_level
]
;
#ifdef PRACH_DEBUG
if
((
frame
&
1023
)
<
20
)
LOG_I
(
PHY
,
"PRACH (eNB) : running rx_prach (br_flag %d, ce_level %d) for frame %d subframe %d, prach_FreqOffset %d, prach_ConfigIndex %d, rootSequenceIndex %d, repetition number %d,numRepetitionsPrePreambleAttempt %d
\n
"
,
br_flag
,
ce_level
,
frame
,
subframe
,
...
...
@@ -1222,7 +1222,7 @@ void rx_prach0(PHY_VARS_eNB *eNB,
frame
=
eNB
->
proc
.
frame_prach
;
subframe
=
eNB
->
proc
.
subframe_prach
;
prachF
=
eNB
->
prach_vars
.
prachF
;
rxsigF
=
eNB
->
prach_vars
.
rxsigF
;
rxsigF
=
eNB
->
prach_vars
.
rxsigF
[
0
]
;
#ifdef PRACH_DEBUG
if
((
frame
&
1023
)
<
20
)
LOG_I
(
PHY
,
"PRACH (eNB) : running rx_prach for subframe %d, prach_FreqOffset %d, prach_ConfigIndex %d , rootSequenceIndex %d
\n
"
,
subframe
,
fp
->
prach_config_common
.
prach_ConfigInfo
.
prach_FreqOffset
,
prach_ConfigIndex
,
rootSequenceIndex
);
...
...
openair1/PHY/LTE_TRANSPORT/proto.h
View file @
d75dc39a
...
...
@@ -1656,12 +1656,12 @@ int generate_ue_dlsch_params_from_dci(int frame,
uint8_t
beamforming_mode
,
uint16_t
tc_rnti
);
int
fill_dci_and_dlsch
(
PHY_VARS_eNB
*
eNB
,
void
fill_dci_and_dlsch
(
PHY_VARS_eNB
*
eNB
,
eNB_rxtx_proc_t
*
proc
,
DCI_ALLOC_t
*
dci_alloc
,
nfapi_dl_config_dci_dl_pdu
*
pdu
);
int
fill_mdci_and_dlsch
(
PHY_VARS_eNB
*
eNB
,
eNB_rxtx_proc_t
*
proc
,
mDCI_ALLOC_t
*
dci_alloc
,
nfapi_dl_config_mpdcch_pdu
*
pdu
);
void
fill_mdci_and_dlsch
(
PHY_VARS_eNB
*
eNB
,
eNB_rxtx_proc_t
*
proc
,
mDCI_ALLOC_t
*
dci_alloc
,
nfapi_dl_config_mpdcch_pdu
*
pdu
);
void
fill_dci0
(
PHY_VARS_eNB
*
eNB
,
eNB_rxtx_proc_t
*
proc
,
DCI_ALLOC_t
*
dci_alloc
,
nfapi_hi_dci0_dci_pdu
*
pdu
);
...
...
openair1/PHY/LTE_TRANSPORT/pucch.c
View file @
d75dc39a
...
...
@@ -506,7 +506,11 @@ void generate_pucch1x(int32_t **txdataF,
}
break
;
case
pucch_format1b_csA2
:
case
pucch_format1b_csA3
:
case
pucch_format1b_csA4
:
AssertFatal
(
1
==
0
,
"PUCCH format 1b_csX not supported yet
\n
"
);
break
;
case
pucch_format2
:
case
pucch_format2a
:
case
pucch_format2b
:
...
...
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
d75dc39a
...
...
@@ -768,7 +768,6 @@ void uci_procedures(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
LTE_DL_FRAME_PARMS
*
fp
=&
eNB
->
frame_parms
;
uint8_t
SR_payload
=
0
,
pucch_b0b1
[
4
][
2
]
=
{{
0
,
0
},{
0
,
0
},{
0
,
0
},{
0
,
0
}},
harq_ack
[
4
]
=
{
0
,
0
,
0
,
0
};
int32_t
metric
[
4
]
=
{
0
,
0
,
0
,
0
},
metric_SR
=
0
,
max_metric
;
ANFBmode_t
bundling_flag
=
1
;
const
int
subframe
=
proc
->
subframe_rx
;
const
int
frame
=
proc
->
frame_rx
;
int
i
;
...
...
@@ -894,8 +893,6 @@ void uci_procedures(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
}
else
{
// frame_type == TDD
// This should be retrived from ulsch structure
bundling_flag
=
1
;
// if SR was detected, use the n1_pucch from SR
if
(
SR_payload
==
1
)
{
...
...
@@ -963,7 +960,7 @@ void uci_procedures(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
}
fill_uci_harq_indication
(
eNB
,
uci
,
frame
,
subframe
,
harq_ack
,
2
,
0xffff
);
// special_bundling mode
}
else
if
((
bundling_fla
g
==
0
)
&&
(
res
==
2
)){
// multiplexing + no SR, implement Table 10.1.3-5 (Rel14) for multiplexing with M=2
else
if
((
uci
->
tdd_bundlin
g
==
0
)
&&
(
res
==
2
)){
// multiplexing + no SR, implement Table 10.1.3-5 (Rel14) for multiplexing with M=2
if
(
pucch_b0b1
[
0
][
0
]
==
4
||
pucch_b0b1
[
1
][
0
]
==
4
)
{
// there isn't a likely transmission
harq_ack
[
0
]
=
4
;
// DTX
...
...
@@ -1003,8 +1000,8 @@ void uci_procedures(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
}
}
fill_uci_harq_indication
(
eNB
,
uci
,
frame
,
subframe
,
harq_ack
,
1
,
tdd_multiplexing_mask
);
// multiplexing mode
}
//else if ((
bundling_fla
g == 0) && (res==2))
else
if
((
bundling_fla
g
==
0
)
&&
(
res
==
3
)){
// multiplexing + no SR, implement Table 10.1.3-6 (Rel14) for multiplexing with M=3
}
//else if ((
uci->tdd_bundlin
g == 0) && (res==2))
else
if
((
uci
->
tdd_bundlin
g
==
0
)
&&
(
res
==
3
)){
// multiplexing + no SR, implement Table 10.1.3-6 (Rel14) for multiplexing with M=3
if
(
harq_ack
[
0
]
==
4
||
harq_ack
[
1
]
==
4
||
...
...
@@ -1084,8 +1081,8 @@ void uci_procedures(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
}
}
fill_uci_harq_indication
(
eNB
,
uci
,
frame
,
subframe
,
harq_ack
,
1
,
tdd_multiplexing_mask
);
// multiplexing mode
}
//else if ((
bundling_fla
g == 0) && (res==3))
else
if
((
bundling_fla
g
==
0
)
&&
(
res
==
4
)){
// multiplexing + no SR, implement Table 10.1.3-7 (Rel14) for multiplexing with M=4
}
//else if ((
uci->tdd_bundlin
g == 0) && (res==3))
else
if
((
uci
->
tdd_bundlin
g
==
0
)
&&
(
res
==
4
)){
// multiplexing + no SR, implement Table 10.1.3-7 (Rel14) for multiplexing with M=4
if
(
pucch_b0b1
[
0
][
0
]
==
4
||
pucch_b0b1
[
1
][
0
]
==
4
||
pucch_b0b1
[
2
][
0
]
==
4
||
...
...
@@ -1220,7 +1217,7 @@ void uci_procedures(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
}
}
fill_uci_harq_indication
(
eNB
,
uci
,
frame
,
subframe
,
harq_ack
,
1
,
tdd_multiplexing_mask
);
// multiplexing mode
}
// else if ((
bundling_fla
g == 0) && (res==4))
}
// else if ((
uci->tdd_bundlin
g == 0) && (res==4))
else
{
// bundling
harq_ack
[
0
]
=
pucch_b0b1
[
0
][
0
];
harq_ack
[
1
]
=
pucch_b0b1
[
0
][
1
];
...
...
openair2/LAYER2/MAC/config.c
View file @
d75dc39a
...
...
@@ -333,7 +333,7 @@ void config_sib2(int Mod_idP,
struct
PRACH_ConfigSIB_v1310
*
ext4_prach
=
radioResourceConfigCommon_BRP
->
ext4
->
prach_ConfigCommon_v1310
;
PRACH_ParametersListCE_r13_t
*
prach_ParametersListCE_r13
=
&
ext4_prach
->
prach_ParametersListCE_r13
;
int
i
;
PRACH_ParametersCE_r13_t
*
p
;
cfg
->
emtc_config
.
prach_ce_level_0_enable
.
value
=
0
;
cfg
->
emtc_config
.
prach_ce_level_1_enable
.
value
=
0
;
...
...
openair2/LAYER2/MAC/eNB_scheduler.c
View file @
d75dc39a
...
...
@@ -420,12 +420,6 @@ void eNB_dlsch_ulsch_scheduler(module_id_t module_idP, frame_t frameP, sub_frame
int
mbsfn_status
[
MAX_NUM_CCs
];
protocol_ctxt_t
ctxt
;
#if defined(ENABLE_ITTI)
MessageDef
*
msg_p
;
const
char
*
msg_name
;
instance_t
instance
;
int
result
;
#endif
int
CC_id
,
i
;
//,next_i;
UE_list_t
*
UE_list
=&
RC
.
mac
[
module_idP
]
->
UE_list
;
rnti_t
rnti
;
...
...
openair2/LAYER2/MAC/eNB_scheduler_RA.c
View file @
d75dc39a
...
...
@@ -66,7 +66,7 @@ void add_msg3(module_id_t module_idP,int CC_id, RA_TEMPLATE *RA_template, frame_
eNB_MAC_INST
*
eNB
=
RC
.
mac
[
module_idP
];
COMMON_channels_t
*
cc
=
&
eNB
->
common_channels
[
CC_id
];
uint8_t
i
,
j
;
uint8_t
j
;
nfapi_ul_config_request_t
*
ul_req
;
nfapi_ul_config_request_pdu_t
*
ul_config_pdu
;
nfapi_ul_config_request_body_t
*
ul_req_body
;
...
...
@@ -83,8 +83,8 @@ void add_msg3(module_id_t module_idP,int CC_id, RA_TEMPLATE *RA_template, frame_
#ifdef Rel14
if
(
RA_template
->
rach_resource_type
>
0
)
{
LOG_D
(
MAC
,
"[eNB %d][RAPROC] Frame %d, Subframe %d : CC_id %d
RA %d
CE level %d is active, Msg3 in (%d,%d)
\n
"
,
module_idP
,
frameP
,
subframeP
,
CC_id
,
i
,
RA_template
->
rach_resource_type
-
1
,
LOG_D
(
MAC
,
"[eNB %d][RAPROC] Frame %d, Subframe %d : CC_id %d CE level %d is active, Msg3 in (%d,%d)
\n
"
,
module_idP
,
frameP
,
subframeP
,
CC_id
,
RA_template
->
rach_resource_type
-
1
,
RA_template
->
Msg3_frame
,
RA_template
->
Msg3_subframe
);
LOG_D
(
MAC
,
"Frame %d, Subframe %d Adding Msg3 UL Config Request for (%d,%d)
\n
"
,
frameP
,
subframeP
,
RA_template
->
Msg3_frame
,
RA_template
->
Msg3_subframe
);
...
...
@@ -120,8 +120,8 @@ void add_msg3(module_id_t module_idP,int CC_id, RA_TEMPLATE *RA_template, frame_
else
#endif
{
LOG_D
(
MAC
,
"[eNB %d][RAPROC] Frame %d, Subframe %d : CC_id %d RA
%d
is active, Msg3 in (%d,%d)
\n
"
,
module_idP
,
frameP
,
subframeP
,
CC_id
,
i
,
RA_template
->
Msg3_frame
,
RA_template
->
Msg3_subframe
);
LOG_D
(
MAC
,
"[eNB %d][RAPROC] Frame %d, Subframe %d : CC_id %d RA is active, Msg3 in (%d,%d)
\n
"
,
module_idP
,
frameP
,
subframeP
,
CC_id
,
RA_template
->
Msg3_frame
,
RA_template
->
Msg3_subframe
);
LOG_D
(
MAC
,
"Frame %d, Subframe %d Adding Msg3 UL Config Request for (%d,%d)
\n
"
,
frameP
,
subframeP
,
RA_template
->
Msg3_frame
,
RA_template
->
Msg3_subframe
);
...
...
@@ -164,8 +164,8 @@ void add_msg3(module_id_t module_idP,int CC_id, RA_TEMPLATE *RA_template, frame_
// save UL scheduling information for preprocessor
for
(
j
=
0
;
j
<
RA_template
->
msg3_nb_rb
;
j
++
)
cc
->
vrb_map_UL
[
RA_template
->
msg3_first_rb
+
j
]
=
1
;
LOG_D
(
MAC
,
"[eNB %d][PUSCH-RA %x] CC_id %d Frame %d subframeP %d Scheduled (PHICH) RA
%d
(mcs %d, first rb %d, nb_rb %d,round %d)
\n
"
,
module_idP
,
RA_template
->
rnti
,
CC_id
,
frameP
,
subframeP
,
i
,
10
,
LOG_D
(
MAC
,
"[eNB %d][PUSCH-RA %x] CC_id %d Frame %d subframeP %d Scheduled (PHICH) RA (mcs %d, first rb %d, nb_rb %d,round %d)
\n
"
,
module_idP
,
RA_template
->
rnti
,
CC_id
,
frameP
,
subframeP
,
10
,
1
,
1
,
RA_template
->
msg3_round
-
1
);
}
// if (RA_template->msg3_round != 0) { // program HI too
...
...
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
View file @
d75dc39a
...
...
@@ -455,7 +455,6 @@ schedule_ue_spec(
int
N_RBG
[
MAX_NUM_CCs
];
nfapi_dl_config_request_body_t
*
dl_req
;
nfapi_dl_config_request_pdu_t
*
dl_config_pdu
;
nfapi_tx_request_pdu_t
*
TX_req
;
int
tdd_sfa
;
#if 0
...
...
@@ -1319,7 +1318,6 @@ fill_DLSCH_dci(
int
N_RBG
;
int
N_RB_DL
;
COMMON_channels_t
*
cc
;
eNB_UE_STATS
*
eNB_UE_stats
;
start_meas
(
&
eNB
->
fill_DLSCH_dci
);
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_FILL_DLSCH_DCI
,
VCD_FUNCTION_IN
);
...
...
@@ -1347,7 +1345,6 @@ fill_DLSCH_dci(
else
harq_pid
=
((
frameP
*
10
)
+
subframeP
)
&
7
;
nb_rb
=
UE_list
->
UE_template
[
CC_id
][
UE_id
].
nb_rb
[
harq_pid
];
eNB_UE_stats
=
&
UE_list
->
eNB_UE_stats
[
CC_id
][
UE_id
];
/// Synchronizing rballoc with rballoc_sub
...
...
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
View file @
d75dc39a
...
...
@@ -780,7 +780,6 @@ void get_csi_params(COMMON_channels_t *cc,struct CQI_ReportPeriodic *cqi_ReportP
uint8_t
get_dl_cqi_pmi_size_pusch
(
UE_sched_ctrl
*
sched_ctl
,
COMMON_channels_t
*
cc
,
uint8_t
tmode
,
uint8_t
ri
,
CQI_ReportModeAperiodic_t
*
cqi_ReportModeAperiodic
)
{
int
Ntab
[
6
]
=
{
0
,
4
,
7
,
9
,
10
,
13
};
int
Ntab_uesel
[
6
]
=
{
0
,
8
,
13
,
17
,
19
,
25
};
int
N
=
Ntab
[
cc
->
p_eNB
];
int
Ltab_uesel
[
6
]
=
{
0
,
6
,
9
,
13
,
15
,
18
};
int
L
=
Ltab_uesel
[
cc
->
p_eNB
];
...
...
@@ -847,7 +846,8 @@ uint8_t get_dl_cqi_pmi_size_pusch(UE_sched_ctrl *sched_ctl,COMMON_channels_t *cc
break
;
}
AssertFatal
(
1
==
0
,
"Shouldn't get here
\n
"
);
return
(
0
);
}
uint8_t
get_rel8_dl_cqi_pmi_size
(
UE_sched_ctrl
*
sched_ctl
,
int
CC_idP
,
COMMON_channels_t
*
cc
,
uint8_t
tmode
,
struct
CQI_ReportPeriodic
*
cqi_ReportPeriodic
)
{
...
...
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
d75dc39a
...
...
@@ -1178,7 +1178,7 @@ abort();
LOG_I
(
MAC
,
"Frame %d, Subframe %d: Requesting CQI information for UE %d/%x => O_r1 %d, betaCQI %d
\n
"
,
frameP
,
subframeP
,
UE_id
,
rnti
,
ul_config_pdu
->
ulsch_cqi_ri_pdu
.
cqi_ri_information
.
cqi_ri_information_rel9
.
aperiodic_cqi_pmi_ri_report
.
cc
[
0
].
dl_cqi_pmi_size
[
0
],
UE_template
->
physicalConfigDedicated
->
pusch_ConfigDedicated
->
betaOffset_CQI_Index
);
(
int
)
UE_template
->
physicalConfigDedicated
->
pusch_ConfigDedicated
->
betaOffset_CQI_Index
);
}
}
add_ue_ulsch_info
(
module_idP
,
...
...
openair2/LAYER2/MAC/main.c
View file @
d75dc39a
...
...
@@ -79,14 +79,10 @@ void mac_UE_out_of_sync_ind(module_id_t module_idP, frame_t frameP, uint16_t eNB
int
mac_top_init_ue
(
int
eMBMS_active
,
char
*
uecap_xer
,
uint8_t
cba_group_active
,
uint8_t
HO_active
)
{
module_id_t
Mod_id
,
i
,
j
;
RA_TEMPLATE
*
RA_template
;
UE_TEMPLATE
*
UE_template
;
int
size_bytes1
,
size_bytes2
,
size_bits1
,
size_bits2
;
int
CC_id
;
module_id_t
Mod_id
,
i
;
int
list_el
;
UE_list_t
*
UE_list
;
COMMON_channels_t
*
cc
;
LOG_I
(
MAC
,
"[MAIN] Init function start:Nb_UE_INST=%d
\n
"
,
NB_UE_INST
);
if
(
NB_UE_INST
>
0
)
{
...
...
@@ -107,36 +103,6 @@ int mac_top_init_ue(int eMBMS_active, char *uecap_xer, uint8_t cba_group_active,
}
if
(
NB_eNB_INST
>
0
)
{
RC
.
mac
=
(
eNB_MAC_INST
**
)
malloc16
(
NB_eNB_INST
*
sizeof
(
eNB_MAC_INST
*
));
for
(
i
=
0
;
i
<
NB_eNB_INST
;
i
++
)
RC
.
mac
[
i
]
=
(
eNB_MAC_INST
*
)
malloc16
(
sizeof
(
eNB_MAC_INST
));
AssertFatal
(
RC
.
mac
!=
NULL
,
"[MAIN] can't ALLOCATE %zu Bytes for %d eNB_MAC_INST with size %zu
\n
"
,
NB_eNB_INST
*
sizeof
(
eNB_MAC_INST
*
),
NB_eNB_INST
,
sizeof
(
eNB_MAC_INST
));
LOG_D
(
MAC
,
"[MAIN] ALLOCATE %zu Bytes for %d eNB_MAC_INST @ %p
\n
"
,
sizeof
(
eNB_MAC_INST
),
NB_eNB_INST
,
RC
.
mac
);
for
(
i
=
0
;
i
<
NB_eNB_INST
;
i
++
)
bzero
(
RC
.
mac
[
i
],
sizeof
(
eNB_MAC_INST
));
}
else
{
RC
.
mac
=
NULL
;
}
// Initialize Linked-List for Active UEs
for
(
Mod_id
=
0
;
Mod_id
<
NB_eNB_INST
;
Mod_id
++
)
{
UE_list
=
&
RC
.
mac
[
Mod_id
]
->
UE_list
;
UE_list
->
num_UEs
=
0
;
UE_list
->
head
=-
1
;
UE_list
->
head_ul
=-
1
;
UE_list
->
avail
=
0
;
for
(
list_el
=
0
;
list_el
<
NUMBER_OF_UE_MAX
-
1
;
list_el
++
)
{
UE_list
->
next
[
list_el
]
=
list_el
+
1
;
UE_list
->
next_ul
[
list_el
]
=
list_el
+
1
;
}
UE_list
->
next
[
list_el
]
=-
1
;
UE_list
->
next_ul
[
list_el
]
=-
1
;
}
LOG_I
(
MAC
,
"[MAIN] calling RRC
\n
"
);
openair_rrc_top_init_ue
(
eMBMS_active
,
uecap_xer
,
cba_group_active
,
HO_active
);
...
...
@@ -383,7 +349,6 @@ int l2_init_eNB()
{
int
i
;
LOG_I
(
MAC
,
"[MAIN] MAC_INIT_GLOBAL_PARAM IN...
\n
"
);
...
...
openair2/LAYER2/MAC/proto.h
View file @
d75dc39a
...
...
@@ -141,10 +141,14 @@ int8_t get_deltaP_rampup(module_id_t module_idP,uint8_t CC_id);
uint16_t
mac_computeRIV
(
uint16_t
N_RB_DL
,
uint16_t
RBstart
,
uint16_t
Lcrbs
);
void
add_msg3
(
module_id_t
module_idP
,
int
CC_id
,
RA_TEMPLATE
*
RA_template
,
frame_t
frameP
,
sub_frame_t
subframeP
);
//main.c
int
mac_top_init
(
int
eMBMS_active
,
char
*
uecap_xer
,
uint8_t
cba_group_active
,
uint8_t
HO_active
);
int
mac_top_init_eNB
(
void
);
char
layer2_init_UE
(
module_id_t
module_idP
);
char
layer2_init_eNB
(
module_id_t
module_idP
,
uint8_t
Free_ch_index
);
...
...
@@ -997,6 +1001,8 @@ int narrowband_to_first_rb(COMMON_channels_t *cc, int nb_index);
#endif
int
l2_init_eNB
(
void
);
#endif
...
...
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