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
ZhouShuya
OpenXG-RAN
Commits
4d1452e1
Commit
4d1452e1
authored
Jul 23, 2017
by
Matthieu Kanj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding new file : openair1/SCHED/phy_procedures_lte_common_NB_IoT.c
+ replacing find_ue_NB by find_ue_NB_IoT
parent
7078d939
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1287 additions
and
6 deletions
+1287
-6
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+1
-0
openair1/SCHED/IF_Module_L1_primitives_nb_iot.c
openair1/SCHED/IF_Module_L1_primitives_nb_iot.c
+1
-1
openair1/SCHED/defs.h
openair1/SCHED/defs.h
+1
-1
openair1/SCHED/defs_nb_iot.h
openair1/SCHED/defs_nb_iot.h
+3
-0
openair1/SCHED/phy_procedures_lte_common.c
openair1/SCHED/phy_procedures_lte_common.c
+3
-2
openair1/SCHED/phy_procedures_lte_common_NB_IoT.c
openair1/SCHED/phy_procedures_lte_common_NB_IoT.c
+1276
-0
openair1/SCHED/phy_procedures_lte_eNb_nb_iot.c
openair1/SCHED/phy_procedures_lte_eNb_nb_iot.c
+2
-2
No files found.
cmake_targets/CMakeLists.txt
View file @
4d1452e1
...
...
@@ -968,6 +968,7 @@ set(SCHED_SRC
${
OPENAIR1_DIR
}
/SCHED/phy_procedures_lte_eNb_nb_iot.c
${
OPENAIR1_DIR
}
/SCHED/phy_procedures_lte_ue.c
${
OPENAIR1_DIR
}
/SCHED/phy_procedures_lte_common.c
${
OPENAIR1_DIR
}
/SCHED/phy_procedures_lte_common_NB_IoT.c
${
OPENAIR1_DIR
}
/SCHED/phy_mac_stub.c
${
OPENAIR1_DIR
}
/SCHED/IF_Module_L1_primitives_nb_iot.c
${
OPENAIR1_DIR
}
/SCHED/pucch_pc.c
...
...
openair1/SCHED/IF_Module_L1_primitives_nb_iot.c
View file @
4d1452e1
...
...
@@ -135,7 +135,7 @@ void handle_nfapi_dlsch_pdu_NB(PHY_VARS_eNB_NB_IoT *eNB,
//int UE_id = find_dlsch(rel13->rnti,eNB,SEARCH_EXIST);
UE_id
=
find_ue_NB
(
rel13
->
rnti
,
eNB
);
UE_id
=
find_ue_NB
_IoT
(
rel13
->
rnti
,
eNB
);
AssertFatal
(
UE_id
==-
1
,
"no existing ue specific dlsch_context
\n
"
);
ndlsch
=
eNB
->
ndlsch
[(
uint8_t
)
UE_id
];
...
...
openair1/SCHED/defs.h
View file @
4d1452e1
...
...
@@ -375,7 +375,7 @@ uint16_t get_Np(uint8_t N_RB_DL,uint8_t nCCE,uint8_t plus1);
int8_t
find_ue
(
uint16_t
rnti
,
PHY_VARS_eNB
*
phy_vars_eNB
);
//NB-IoT
int8_t
find_ue_NB
(
uint16_t
rnti
,
PHY_VARS_eNB
*
eNB
);
//int8_t find_ue_NB_IoT(uint16_t rnti, PHY_VARS_eNB_NB_IoT
*eNB);
int32_t
add_ue
(
int16_t
rnti
,
PHY_VARS_eNB
*
phy_vars_eNB
);
int
mac_phy_remove_ue
(
module_id_t
Mod_idP
,
rnti_t
rnti
);
...
...
openair1/SCHED/defs_nb_iot.h
View file @
4d1452e1
...
...
@@ -25,6 +25,9 @@ void generate_eNB_dlsch_params_NB_IoT(PHY_VARS_eNB_NB_IoT *eNB,eNB_rxtx_proc_t *
/*Process all the scheduling result from MAC and also common signals.*/
void
phy_procedures_eNB_TX_NB_IoT
(
PHY_VARS_eNB_NB_IoT
*
eNB
,
eNB_rxtx_proc_t
*
proc
,
int
do_meas
);
int8_t
find_ue_NB_IoT
(
uint16_t
rnti
,
PHY_VARS_eNB_NB_IoT
*
eNB
);
#endif
openair1/SCHED/phy_procedures_lte_common.c
View file @
4d1452e1
...
...
@@ -1111,7 +1111,8 @@ int8_t find_ue(uint16_t rnti, PHY_VARS_eNB *eNB)
return
(
-
1
);
}
int8_t
find_ue_NB
(
uint16_t
rnti
,
PHY_VARS_eNB
*
eNB
)
/*
int8_t find_ue_NB_IoT(uint16_t rnti, PHY_VARS_eNB_NB_IoT *eNB)
{
uint8_t i;
...
...
@@ -1126,7 +1127,7 @@ int8_t find_ue_NB(uint16_t rnti, PHY_VARS_eNB *eNB)
return(-1);
}
*/
...
...
openair1/SCHED/phy_procedures_lte_common_NB_IoT.c
0 → 100644
View file @
4d1452e1
This diff is collapsed.
Click to expand it.
openair1/SCHED/phy_procedures_lte_eNb_nb_iot.c
View file @
4d1452e1
...
...
@@ -542,7 +542,7 @@ void generate_eNB_dlsch_params_NB_IoT(PHY_VARS_eNB_NB_IoT *eNB,eNB_rxtx_proc_t *
{
//managing data
//TODO target/SIMU/USER?init_lte/init_lte_eNB we should allocate the ndlsch structures
UE_id
=
find_ue_NB
(
dl_config_pdu
->
npdcch_pdu
.
npdcch_pdu_rel13
.
rnti
,
eNB
);
UE_id
=
find_ue_NB
_IoT
(
dl_config_pdu
->
npdcch_pdu
.
npdcch_pdu_rel13
.
rnti
,
eNB
);
AssertFatal
(
UE_id
!=
-
1
,
"no ndlsch context available or no ndlsch context corresponding to that rnti
\n
"
);
...
...
@@ -633,7 +633,7 @@ void generate_eNB_ulsch_params_NB_IoT(PHY_VARS_eNB_NB_IoT *eNB,eNB_rxtx_proc_t *
UE_id
=
find_ue_NB
(
hi_dci0_pdu
->
npdcch_dci_pdu
.
npdcch_dci_pdu_rel13
.
rnti
,
eNB
);
UE_id
=
find_ue_NB
_IoT
(
hi_dci0_pdu
->
npdcch_dci_pdu
.
npdcch_dci_pdu_rel13
.
rnti
,
eNB
);
AssertFatal
(
UE_id
==
-
1
,
"no ndlsch context available or no ndlsch context corresponding to that rnti
\n
"
);
...
...
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