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
9e5d79a3
Commit
9e5d79a3
authored
Sep 30, 2019
by
Daniel0326
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add structure and fix error in lte-enb-nbiot.c
parent
72742005
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1307 additions
and
121 deletions
+1307
-121
openair1/PHY/LTE_TRANSPORT/transport_proto.h
openair1/PHY/LTE_TRANSPORT/transport_proto.h
+10
-2
openair1/PHY/NBIoT_TRANSPORT/proto_NB_IoT.h
openair1/PHY/NBIoT_TRANSPORT/proto_NB_IoT.h
+7
-0
openair1/PHY/defs_L1_NB_IoT.h
openair1/PHY/defs_L1_NB_IoT.h
+4
-0
openair1/PHY/defs_eNB.h
openair1/PHY/defs_eNB.h
+6
-0
targets/RT/USER/lte-enb-nbiot.c
targets/RT/USER/lte-enb-nbiot.c
+1280
-119
No files found.
openair1/PHY/LTE_TRANSPORT/transport_proto.h
View file @
9e5d79a3
...
...
@@ -36,6 +36,9 @@
#include "nfapi_interface.h"
#include "transport_common_proto.h"
#include "PHY/defs_L1_NB_IoT.h"
// Functions below implement 36-211 and 36-212
/** @addtogroup _PHY_TRANSPORT_
...
...
@@ -122,8 +125,6 @@ int32_t dlsch_encoding(PHY_VARS_eNB *eNB,
time_stats_t
*
i_stats
);
/** \fn dlsch_encoding_2threads(PHY_VARS_eNB *eNB,
uint8_t *input_buffer,
uint8_t num_pdcch_symbols,
...
...
@@ -514,6 +515,13 @@ int ulsch_decoding_data(PHY_VARS_eNB *eNB,
int
UE_id
,
int
harq_pid
,
int
llr8_flag
);
/*
int ulsch_decoding_data_NB_IoT(PHY_VARS_eNB_NB_IoT *eNB,
int UE_id,
int harq_pid,
int llr8_flag);
*/
void
generate_phich_top
(
PHY_VARS_eNB
*
phy_vars_eNB
,
L1_rxtx_proc_t
*
proc
,
...
...
openair1/PHY/NBIoT_TRANSPORT/proto_NB_IoT.h
View file @
9e5d79a3
...
...
@@ -283,6 +283,13 @@ uint8_t generate_dci_top_NB_IoT(NB_IoT_eNB_NPDCCH_t *npdcch,
// NB_IoT_eNB_NULSCH_t *new_eNB_ulsch_NB_IoT(uint8_t abstraction_flag);
int
ulsch_decoding_data_NB_IoT
(
PHY_VARS_eNB_NB_IoT
*
eNB
,
int
UE_id
,
int
harq_pid
,
int
llr8_flag
);
uint8_t
subframe2harq_pid_NB_IoT
(
LTE_DL_FRAME_PARMS
*
frame_parms
,
uint32_t
frame
,
uint8_t
subframe
);
...
...
openair1/PHY/defs_L1_NB_IoT.h
View file @
9e5d79a3
...
...
@@ -364,6 +364,10 @@ typedef struct eNB_proc_NB_IoT_t_s {
int
instance_cnt_asynch_rxtx
;
/// pthread structure for FH processing thread
pthread_t
pthread_FH
;
/// pthread structure for eNB single processing thread
pthread_t
pthread_single
;
//NB-IoT
/// pthread structure for asychronous RX/TX processing thread
pthread_t
pthread_asynch_rxtx
;
/// flag to indicate first RX acquisition
...
...
openair1/PHY/defs_eNB.h
View file @
9e5d79a3
...
...
@@ -762,6 +762,12 @@ typedef struct {
uint16_t
HFN
;
//NB-IoT
/// mutex for RXn-TXnp4 processing thread
pthread_mutex_t
mutex_rxtx
;
//NB-IoT
/// pthread structure for RXn-TXnp4 processing thread
pthread_t
pthread_rxtx
;
//NB-IoT
/// pthread attributes for RXn-TXnp4 processing thread
pthread_attr_t
attr_rxtx
;
//NB-IoT
/// condition variable for tx processing thread
pthread_cond_t
cond_rxtx
;
//NB-IoT
int
instance_cnt_rxtx
;
...
...
targets/RT/USER/lte-enb-nbiot.c
View file @
9e5d79a3
This diff is collapsed.
Click to expand it.
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