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
canghaiwuhen
OpenXG-RAN
Commits
d6b6cb91
Commit
d6b6cb91
authored
Jun 28, 2017
by
Michele Paffetti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit before merge with nick
parent
32aa59e0
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
126 additions
and
98 deletions
+126
-98
openair1/PHY/LTE_TRANSPORT/dci_tools_nb_iot.c
openair1/PHY/LTE_TRANSPORT/dci_tools_nb_iot.c
+1
-1
openair1/SCHED/IF_Module_L1_primitives_nb_iot.c
openair1/SCHED/IF_Module_L1_primitives_nb_iot.c
+7
-7
openair2/PHY_INTERFACE/IF_Module_nb_iot.h
openair2/PHY_INTERFACE/IF_Module_nb_iot.h
+14
-8
openair2/RRC/LITE/L2_interface_nb_iot.c
openair2/RRC/LITE/L2_interface_nb_iot.c
+101
-81
openair2/RRC/LITE/vars_nb_iot.c
openair2/RRC/LITE/vars_nb_iot.c
+1
-1
targets/SIMU/USER/init_lte.c
targets/SIMU/USER/init_lte.c
+2
-0
No files found.
openair1/PHY/LTE_TRANSPORT/dci_tools_nb_iot.c
View file @
d6b6cb91
...
...
@@ -143,7 +143,7 @@ int NB_generate_eNB_dlsch_params_from_dci(PHY_VARS_eNB *eNB,
DCI_CONTENT
*
DCI_Content
,
uint16_t
rnti
,
DCI_format_NB_t
dci_format
,
LTE_eNB_DLSCH_t
*
dlsch
,
LTE_eNB_DLSCH_t
*
dlsch
,
NB_DL_FRAME_PARMS
*
frame_parms
,
uint8_t
aggregation
,
uint8_t
Num_dci
...
...
openair1/SCHED/IF_Module_L1_primitives_nb_iot.c
View file @
d6b6cb91
...
...
@@ -16,10 +16,10 @@ void PHY_config_req(PHY_Config_t* config_INFO){
NB_phy_config_mib_eNB
(
config_INFO
->
mod_id
,
config_INFO
->
CC_id
,
config_INFO
->
frequency_band_indicator
,
config_INFO
->
sch_config
.
physical_cell_id
.
value
,
config_INFO
->
subframe_config
.
dl_cyclic_prefix_type
.
value
,
config_INFO
->
subframe_config
.
ul_cyclic_prefix_type
.
value
,
config_INFO
->
rf_config
.
tx_antenna_ports
.
value
,
config_INFO
->
cfg
->
sch_config
.
physical_cell_id
.
value
,
config_INFO
->
cfg
->
subframe_config
.
dl_cyclic_prefix_type
.
value
,
config_INFO
->
cfg
->
subframe_config
.
ul_cyclic_prefix_type
.
value
,
config_INFO
->
cfg
->
rf_config
.
tx_antenna_ports
.
value
,
config_INFO
->
dl_CarrierFreq
,
config_INFO
->
ul_CarrierFreq
);
}
...
...
@@ -29,9 +29,9 @@ void PHY_config_req(PHY_Config_t* config_INFO){
//Common Configuration included in SIB2-NB
NB_phy_config_sib2_eNB
(
config_INFO
->
mod_id
,
config_INFO
->
CC_id
,
&
config_INFO
->
nb_iot_config
,
// FIXME to be evaluated is should be passed a pointer
&
config_INFO
->
rf_config
,
&
config_INFO
->
uplink_reference_signal_config
,
&
config_INFO
->
cfg
->
nb_iot_config
,
// FIXME to be evaluated is should be passed a pointer
&
config_INFO
->
cfg
->
rf_config
,
&
config_INFO
->
cfg
->
uplink_reference_signal_config
,
&
config_INFO
->
extra_phy_parms
);
}
...
...
openair2/PHY_INTERFACE/IF_Module_nb_iot.h
View file @
d6b6cb91
...
...
@@ -77,14 +77,20 @@ typedef struct{
uint32_t
ul_CarrierFreq
;
/*FAPI style config. parameters*/
nfapi_uplink_reference_signal_config_t
uplink_reference_signal_config
;
nfapi_subframe_config_t
subframe_config
;
nfapi_rf_config_t
rf_config
;
nfapi_sch_config_t
sch_config
;
nfapi_nb_iot_config_t
nb_iot_config
;
nfapi_l23_config_t
l23_config
;
/*FAPI style config. parameters
*
* useful config message contents:
* -nfapi_uplink_reference_signal_config_t uplink_reference_signal_config
* -nfapi_subframe_config_t subframe_config;
* -nfapi_rf_config_t rf_config;
* -nfapi_sch_config_t sch_config;
* -nfapi_nb_iot_config_t nb_iot_config;
* -nfapi_l23_config_t l23_config;
*
* */
//XXX where allocate memory??
nfapi_config_request_t
*
cfg
;
/*Dedicated configuration -->not supported by FAPI
* In OAI at least are needed when we manage the phy_procedures_eNB_TX in which we call the phy_config_dedicated_eNB_step2
...
...
openair2/RRC/LITE/L2_interface_nb_iot.c
View file @
d6b6cb91
This diff is collapsed.
Click to expand it.
openair2/RRC/LITE/vars_nb_iot.c
View file @
d6b6cb91
...
...
@@ -69,7 +69,7 @@ unsigned short Data_to_read;
eNB_RRC_INST_NB
*
eNB_rrc_inst_NB
;
uint8_t
DRB2LCHAN_NB
[
2
];
//max can be 2 DRBs for NB_IoT --> it used for saving the LCID of DRBs
//structure for FAPI-like configuration
//structure for FAPI-like configuration
(memory for this is allocated in init_SI)
PHY_Config_t
*
config_INFO
;
BOOLEAN_t
logicalChannelSR_Prohibit
=
1
;
...
...
targets/SIMU/USER/init_lte.c
View file @
d6b6cb91
...
...
@@ -148,6 +148,8 @@ PHY_VARS_eNB* init_lte_eNB(LTE_DL_FRAME_PARMS *frame_parms,
return
(
PHY_vars_eNB
);
}
/*this is a function just for initialization of NB-IoT stuff*/
void
init_lte_eNB_NB
(
PHY_VARS_eNB
*
PHY_vars_eNB
,
NB_DL_FRAME_PARMS
*
frame_parms
,
...
...
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