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
af9833ff
Commit
af9833ff
authored
May 30, 2017
by
Nick Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Warning fixed, add defs_nb_iot.h in PHY
parent
f3b6c491
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
332 additions
and
13 deletions
+332
-13
openair1/PHY/defs_nb_iot.h
openair1/PHY/defs_nb_iot.h
+321
-0
openair1/PHY/impl_defs_lte_nb_iot.h
openair1/PHY/impl_defs_lte_nb_iot.h
+3
-1
openair1/SCHED/phy_procedures_lte_eNb_nb_iot.c
openair1/SCHED/phy_procedures_lte_eNb_nb_iot.c
+8
-12
No files found.
openair1/PHY/defs_nb_iot.h
0 → 100644
View file @
af9833ff
This diff is collapsed.
Click to expand it.
openair1/PHY/impl_defs_lte_nb_iot.h
View file @
af9833ff
...
@@ -30,7 +30,8 @@
...
@@ -30,7 +30,8 @@
* \warning
* \warning
*/
*/
#ifndef __PHY_IMPL_DEFS_NB_IOT__H__
#define __PHY_IMPL_DEFS_NB_IOT__H__
#include "types.h"
#include "types.h"
//#include "defs.h"
//#include "defs.h"
...
@@ -220,3 +221,4 @@ typedef struct {
...
@@ -220,3 +221,4 @@ typedef struct {
}
NB_DL_FRAME_PARMS
;
}
NB_DL_FRAME_PARMS
;
#endif
\ No newline at end of file
openair1/SCHED/phy_procedures_lte_eNb_nb_iot.c
View file @
af9833ff
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
#include "assertions.h"
#include "assertions.h"
#include "msc.h"
#include "msc.h"
#include "PHY/defs_nb_iot.h"
#include <time.h>
#include <time.h>
#if defined(ENABLE_ITTI)
#if defined(ENABLE_ITTI)
...
@@ -697,9 +697,9 @@ void NB_phy_procedures_eNB_uespec_RX(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,con
...
@@ -697,9 +697,9 @@ void NB_phy_procedures_eNB_uespec_RX(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,con
void
NB_generate_eNB_dlsch_params
(
PHY_VARS_eNB
*
eNB
,
eNB_rxtx_proc_t
*
proc
,
Sched_Rsp_t
*
Sched_Rsp
,
const
int
UE_id
)
void
NB_generate_eNB_dlsch_params
(
PHY_VARS_eNB
*
eNB
,
eNB_rxtx_proc_t
*
proc
,
Sched_Rsp_t
*
Sched_Rsp
,
const
int
UE_id
)
{
{
LTE_DL_FRAME_PARMS
*
fp
=&
eNB
->
frame_parms
;
//
LTE_DL_FRAME_PARMS *fp=&eNB->frame_parms;
int
frame
=
proc
->
frame_tx
;
int
frame
=
proc
->
frame_tx
;
int
subframe
=
proc
->
subframe_tx
;
//
int subframe = proc->subframe_tx;
// In NB-IoT, there is no DCI for SI, we might use the scheduling infomation from SIB1-NB to get the phyical layer configuration.
// In NB-IoT, there is no DCI for SI, we might use the scheduling infomation from SIB1-NB to get the phyical layer configuration.
...
@@ -737,11 +737,7 @@ void NB_generate_eNB_dlsch_params(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t * proc,Sched
...
@@ -737,11 +737,7 @@ void NB_generate_eNB_dlsch_params(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t * proc,Sched
void
NB_generate_eNB_ulsch_params
(
PHY_VARS_eNB
*
eNB
,
eNB_rxtx_proc_t
*
proc
,
Sched_Rsp_t
*
Sched_Rsp
,
const
int
UE_id
)
{
void
NB_generate_eNB_ulsch_params
(
PHY_VARS_eNB
*
eNB
,
eNB_rxtx_proc_t
*
proc
,
Sched_Rsp_t
*
Sched_Rsp
,
const
int
UE_id
)
{
int
harq_pid
;
int
harq_pid
=
0
;
LTE_DL_FRAME_PARMS
*
fp
=&
eNB
->
frame_parms
;
int
frame
=
proc
->
frame_tx
;
int
subframe
=
proc
->
subframe_tx
;
/*Log for generate ULSCH DCI*/
/*Log for generate ULSCH DCI*/
...
@@ -768,12 +764,12 @@ void NB_phy_procedures_eNB_TX(PHY_VARS_eNB *eNB,
...
@@ -768,12 +764,12 @@ void NB_phy_procedures_eNB_TX(PHY_VARS_eNB *eNB,
{
{
int
frame
=
proc
->
frame_tx
;
int
frame
=
proc
->
frame_tx
;
int
subframe
=
proc
->
subframe_tx
;
int
subframe
=
proc
->
subframe_tx
;
uint32_t
i
,
j
,
aa
;
uint32_t
i
,
aa
;
uint8_t
harq_pid
;
uint8_t
harq_pid
;
DCI_PDU_NB
*
DCI_pdu
;
//
DCI_PDU_NB *DCI_pdu;
DCI_PDU_NB
DCI_pdu_tmp
;
//
DCI_PDU_NB DCI_pdu_tmp;
LTE_DL_FRAME_PARMS
*
fp
=
&
eNB
->
frame_parms
;
LTE_DL_FRAME_PARMS
*
fp
=
&
eNB
->
frame_parms
;
DCI_ALLOC_t
*
dci_alloc
=
(
DCI_ALLOC_t
*
)
NULL
;
//
DCI_ALLOC_t *dci_alloc = (DCI_ALLOC_t *)NULL;
int
oai_exit
=
0
;
int
oai_exit
=
0
;
int8_t
UE_id
=
0
;
int8_t
UE_id
=
0
;
uint8_t
ul_subframe
;
uint8_t
ul_subframe
;
...
...
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