Commit ae25ec02 authored by Michele Paffetti's avatar Michele Paffetti

add ConnectionRelease message and introduction of SRB1bis, some bug fixed,...

add ConnectionRelease message and introduction of SRB1bis,  some bug fixed, code not tested (may not compile)
parent d86cb3ad
......@@ -289,3 +289,12 @@ uint8_t do_RRCConnectionReestablishment_NB(
const LTE_DL_FRAME_PARMS* const frame_parms, //to be changed
SRB_ToAddModList_NB_r13_t** SRB_configList_NB
);
/**
\brief Generate an RRCConnectionRelease-NB DL-DCCH-Message (eNB)
@param Mod_id Module ID of eNB
@param buffer Pointer to PER-encoded ASN.1 description of DL-DCCH-Message PDU
@param transaction_id Transaction index
@returns Size of encoded bit stream in bytes*/
uint8_t do_RRCConnectionRelease_NB(uint8_t Mod_id, uint8_t *buffer,int Transaction_id);
......@@ -355,9 +355,7 @@ typedef struct eNB_RRC_UE_NB_s {
//in NB-IoT only SRB0, SRB1 and SRB1bis (until AS security activation) exist
SRB_ToAddModList_NB_r13_t* SRB_configList;//for SRB1 and SRB1bis
// SRB_ToAddModList_NB_r13_t* SRB1_configList_NB; //for SRB1
// SRB_ToAddModList_NB_r13_t* SRB1bis_configList_NB; //only for SRB1bis
SRB_ToAddModList_NB_r13_t* SRB_configList2[RRC_TRANSACTION_IDENTIFIER_NUMBER]; //only for SRB1
SRB_ToAddModList_NB_r13_t* SRB1_configList[RRC_TRANSACTION_IDENTIFIER_NUMBER]; //only for SRB1
DRB_ToAddModList_NB_r13_t* DRB_configList; //for all the DRBs
DRB_ToAddModList_NB_r13_t* DRB_configList2[RRC_TRANSACTION_IDENTIFIER_NUMBER]; //for the configured DRBs of a xid
uint8_t DRB_active[2];//in LTE was 8 --> at most 2 for NB-IoT
......@@ -734,7 +732,7 @@ typedef struct eNB_RRC_INST_NB_s {
//
//} UE_RRC_INST;
#include "proto_nb_iot.h"
#include "proto_nb_iot.h" //should be put here otherwise compilation error
#endif
/** @} */
This diff is collapsed.
......@@ -68,7 +68,7 @@ unsigned short Data_to_read;
#define MAX_U32 0xFFFFFFFF
uint8_t DRB2LCHAN[8]; //max can be 2 DRBs for NB_IoT
uint8_t DRB2LCHAN[8]; //max can be 2 DRBs for NB_IoT --> it used for saving the LCID of DRBs
long logicalChannelGroup0 = 0;
long logicalChannelSR_Mask_r9=0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment