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
c343f5ef
Commit
c343f5ef
authored
Oct 19, 2017
by
Nick Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set up the environment for thread testing
parent
259df1e7
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
7 deletions
+16
-7
openair1/SCHED/phy_procedures_lte_eNb_NB_IoT.c
openair1/SCHED/phy_procedures_lte_eNb_NB_IoT.c
+1
-1
openair2/PHY_INTERFACE/IF_Module_L2_primitives_NB_IoT.c
openair2/PHY_INTERFACE/IF_Module_L2_primitives_NB_IoT.c
+2
-2
openair2/RRC/LITE/rrc_eNB_NB_IoT.c
openair2/RRC/LITE/rrc_eNB_NB_IoT.c
+6
-4
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+7
-0
No files found.
openair1/SCHED/phy_procedures_lte_eNb_NB_IoT.c
View file @
c343f5ef
...
...
@@ -764,7 +764,7 @@ void generate_eNB_ulsch_params_NB_IoT(PHY_VARS_eNB_NB_IoT *eNB,eNB_rxtx_proc_NB_
//LOG for ULSCH DCI Resource allocation
//CBA is not used in NB-IoT
eNB
->
nulsch
[
(
uint32_t
)
UE_id
]
->
harq_process
->
subframe_scheduling_flag
=
1
;
eNB
->
nulsch
[
UE_id
]
->
harq_process
->
subframe_scheduling_flag
=
1
;
}
...
...
openair2/PHY_INTERFACE/IF_Module_L2_primitives_NB_IoT.c
View file @
c343f5ef
...
...
@@ -6,7 +6,7 @@
void
UL_indication
(
UL_IND_t
*
UL_INFO
)
{
int
i
=
0
;
UE_TEMPLATE_NB_IoT
*
UE_info
;
//
UE_TEMPLATE_NB_IoT *UE_info;
//mac_NB_IoT_t *mac_inst;
//If there is a preamble, do the initiate RA procedure
...
...
@@ -39,7 +39,7 @@ void UL_indication(UL_IND_t *UL_INFO)
{
//unsuccessfully received this UE PDU
//UE_info = get_ue_from_rnti(mac_inst,((UL_INFO->crc_ind.crc_pdu_list)+i)->rx_ue_information.rnti);
UE_info
->
HARQ_round
++
;
//
UE_info->HARQ_round++;
}
}
}
...
...
openair2/RRC/LITE/rrc_eNB_NB_IoT.c
View file @
c343f5ef
...
...
@@ -34,6 +34,7 @@
#include "LAYER2/MAC/extern_NB_IoT.h"
//#include "RRC/LITE/proto_NB_IoT.h"
#include "defs_NB_IoT.h"
#include "openair1/SCHED/defs_NB_IoT.h"
#include "RRC/LITE/MESSAGES/asn1_msg_NB_IoT.h"
#include "RRCConnectionRequest-NB.h"
#include "RRCConnectionReestablishmentRequest-NB.h"
...
...
@@ -139,7 +140,8 @@ void rrc_eNB_free_UE_NB_IoT(const module_id_t enb_mod_idP,const struct rrc_eNB_u
LOG_W
(
RRC
,
"[eNB %d] Removing UE RNTI %x
\n
"
,
enb_mod_idP
,
rnti
);
#if defined(ENABLE_USE_MME)
rrc_eNB_send_S1AP_UE_CONTEXT_RELEASE_REQ
(
enb_mod_idP
,
ue_context_pP
,
S1AP_CAUSE_RADIO_NETWORK
,
21
);
// send cause 21: connection with ue lost
// warning here because of we don't have NB-IoT S1AP functions
//rrc_eNB_send_S1AP_UE_CONTEXT_RELEASE_REQ(enb_mod_idP, ue_context_pP, S1AP_CAUSE_RADIO_NETWORK, 21); // send cause 21: connection with ue lost
/* From 3GPP 36300v10 p129 : 19.2.2.2.2 S1 UE Context Release Request (eNB triggered)
* If the E-UTRAN internal reason is a radio link failure detected in the eNB, the eNB shall wait a sufficient time before
* triggering the S1 UE Context Release Request procedure
...
...
@@ -1153,11 +1155,11 @@ void rrc_eNB_process_RRCConnectionSetupComplete_NB_IoT(
#if defined(ENABLE_USE_MME)
if
(
EPC_MODE_ENABLED
==
1
)
{
// Forward message to S1AP layer
rrc_eNB_send_S1AP_NAS_FIRST_REQ
(
// Forward message to S1AP layer
we don't have S1 AP functions for the moment
/*
rrc_eNB_send_S1AP_NAS_FIRST_REQ(
ctxt_pP,
ue_context_pP,
rrcConnectionSetupComplete_NB
);
rrcConnectionSetupComplete_NB);
*/
}
else
#endif
{
...
...
targets/RT/USER/lte-softmodem.c
View file @
c343f5ef
...
...
@@ -49,10 +49,17 @@
#include "LAYER2/MAC/defs.h"
#include "LAYER2/MAC/vars.h"
#include "LAYER2/MAC/proto.h"
#include "RRC/LITE/vars.h"
#include "PHY_INTERFACE/vars.h"
#include "PHY_INTERFACE/defs.h"
//NB-IoT Parameters here
#include "LAYER2/MAC/proto_NB_IoT.h"
//#include "LAYER2/MAC/defs_NB_IoT.h"
//#include "LAYER2/MAC/vars_NB_IoT.h"
#ifdef SMBV
#include "PHY/TOOLS/smbv.h"
unsigned
short
config_frames
[
4
]
=
{
2
,
9
,
11
,
13
};
...
...
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