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
常顺宇
OpenXG-RAN
Commits
28b33ac0
Commit
28b33ac0
authored
Apr 11, 2019
by
Javier Morgade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding some basic prototypes
parent
bffa7ca0
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
1 deletion
+31
-1
openair1/PHY/INIT/lte_parms.c
openair1/PHY/INIT/lte_parms.c
+7
-0
openair1/PHY/defs_UE.h
openair1/PHY/defs_UE.h
+4
-0
openair1/PHY/defs_common.h
openair1/PHY/defs_common.h
+14
-0
openair1/PHY/defs_eNB.h
openair1/PHY/defs_eNB.h
+4
-0
openair2/LAYER2/MAC/defs_NB_IoT.h
openair2/LAYER2/MAC/defs_NB_IoT.h
+2
-1
No files found.
openair1/PHY/INIT/lte_parms.c
View file @
28b33ac0
...
...
@@ -149,6 +149,13 @@ int init_frame_parms(LTE_DL_FRAME_PARMS *frame_parms,uint8_t osf)
frame_parms
->
N_RBGS
=
2
;
frame_parms
->
N_RBG
=
13
;
#if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
frame_parms
->
ofdm_symbol_size_khz_1dot25
=
6144
*
osf
;
frame_parms
->
first_carrier_offset_khz_1dot25
=
frame_parms
->
ofdm_symbol_size_khz_1dot25
-
1800
;
//4344
frame_parms
->
nb_prefix_samples_khz_1dot25
>>=
(
2
-
log2_osf
);
frame_parms
->
nb_prefix_samples0_khz_1dot25
>>=
(
2
-
log2_osf
);
#endif
break
;
case
15
:
...
...
openair1/PHY/defs_UE.h
View file @
28b33ac0
...
...
@@ -703,6 +703,10 @@ typedef struct {
/// mbsfn reference symbols
uint32_t
lte_gold_mbsfn_table
[
10
][
3
][
42
];
#if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
/// mbsfn reference symbols
uint32_t
lte_gold_mbsfn_khz_1dot25_table
[
10
][
150
];
#endif
uint32_t
X_u
[
64
][
839
];
...
...
openair1/PHY/defs_common.h
View file @
28b33ac0
...
...
@@ -632,12 +632,26 @@ typedef struct {
uint8_t
threequarter_fs
;
/// Size of FFT
uint16_t
ofdm_symbol_size
;
#if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
/// Size of FFT
uint16_t
ofdm_symbol_size_khz_1dot25
;
#endif
/// Number of prefix samples in all but first symbol of slot
uint16_t
nb_prefix_samples
;
/// Number of prefix samples in first symbol of slot
uint16_t
nb_prefix_samples0
;
#if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
/// Number of prefix samples in all but first symbol of slot
uint16_t
nb_prefix_samples_khz_1dot25
;
/// Number of prefix samples in first symbol of slot
uint16_t
nb_prefix_samples0_khz_1dot25
;
#endif
/// Carrier offset in FFT buffer for first RE in PRB0
uint16_t
first_carrier_offset
;
#if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
/// Carrier offset in FFT buffer for first RE in PRB0 (FeMBMS
uint16_t
first_carrier_offset_khz_1dot25
;
#endif
/// Number of samples in a subframe
uint32_t
samples_per_tti
;
/// Number of OFDM/SC-FDMA symbols in one subframe (to be modified to account for potential different in UL/DL)
...
...
openair1/PHY/defs_eNB.h
View file @
28b33ac0
...
...
@@ -966,6 +966,10 @@ typedef struct PHY_VARS_eNB_s {
/// mbsfn reference symbols
uint32_t
lte_gold_mbsfn_table
[
10
][
3
][
42
];
#if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
/// mbsfn reference symbols
uint32_t
lte_gold_mbsfn_khz_1dot25_table
[
10
][
150
];
#endif
uint32_t
X_u
[
64
][
839
];
#if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
...
...
openair2/LAYER2/MAC/defs_NB_IoT.h
View file @
28b33ac0
...
...
@@ -63,7 +63,8 @@
/*!\brief DTCH DRB1 logical channel */
#define DTCH 3 // LCID
/*!\brief MCCH logical channel */
#define MCCH 4
//#define MCCH 4
#define MCCH 62
/*!\brief MTCH logical channel */
#define MTCH 1
// DLSCH LCHAN ID
...
...
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