LOG_E(RRC,"NB_rrc_mac_config_req_eNB: NB-IoT operating Mode (MIB-NB) not set\n");
LOG_E(RRC,"rrc_mac_config_req_eNB_NB_IoT: NB-IoT operating Mode (MIB-NB) not set\n");
break;
}
...
...
@@ -475,7 +475,7 @@ void config_sib2_NB_fapi(
break;
default:
LOG_E(RRC,"NB_rrc_mac_config_req_eNB: nprach_ParametersList size not valid\n");
LOG_E(RRC,"rrc_mac_config_req_eNB_NB_IoT: nprach_ParametersList size not valid\n");
break;
}
...
...
@@ -559,7 +559,7 @@ void config_sib2_NB_fapi(
//defined in MAC/config.c
//FIXME: this function has no implication in terms of logical channel configuration for MAC
intNB_rrc_mac_config_req_eNB(
intrrc_mac_config_req_eNB_NB_IoT(
module_id_tMod_idP,
intCC_idP,
intrntiP,
...
...
@@ -636,7 +636,7 @@ int NB_rrc_mac_config_req_eNB(
*/
//XXX where allocate memory for cfg??
if(config_INFO->cfg==NULL)LOG_E(MAC,"NB_rrc_mac_config_req_eNB: trying to configure PHY but no config.request message in config_INFO is allocated\n");
if(config_INFO->cfg==NULL)LOG_E(MAC,"rrc_mac_config_req_eNB_NB_IoT: trying to configure PHY but no config.request message in config_INFO is allocated\n");
//Mapping OAI params into FAPI params
...
...
@@ -661,7 +661,7 @@ int NB_rrc_mac_config_req_eNB(
if(radioResourceConfigCommon!=NULL){
if(config_INFO->cfg==NULL)LOG_E(MAC,"NB_rrc_mac_config_req_eNB: trying to configure PHY but no config.request message in config_INFO is allocated\n");
if(config_INFO->cfg==NULL)LOG_E(MAC,"rrc_mac_config_req_eNB_NB_IoT: trying to configure PHY but no config.request message in config_INFO is allocated\n");
config_INFO->get_COMMON=1;
...
...
@@ -684,7 +684,7 @@ int NB_rrc_mac_config_req_eNB(
if(logicalChannelConfig!=NULL){
if(config_INFO->cfg==NULL)LOG_E(MAC,"NB_rrc_mac_config_req_eNB: trying to configure PHY but no config.request message in config_INFO is allocated\n");
if(config_INFO->cfg==NULL)LOG_E(MAC,"rrc_mac_config_req_eNB_NB_IoT: trying to configure PHY but no config.request message in config_INFO is allocated\n");
@@ -698,7 +698,7 @@ int NB_rrc_mac_config_req_eNB(
if(physicalConfigDedicated!=NULL){
if(config_INFO->cfg==NULL)LOG_E(MAC,"NB_rrc_mac_config_req_eNB: trying to configure PHY but no config.request message in config_INFO is allocated\n");
if(config_INFO->cfg==NULL)LOG_E(MAC,"rrc_mac_config_req_eNB_NB_IoT: trying to configure PHY but no config.request message in config_INFO is allocated\n");
//therefore setting securityActivated=0 for the corresponding PDCP entity in the PDCP but still start the usage of SRB1
// pdcp_pP-> security_activated modified (=1) by pdcp_config_set_security in NB_pdcp_config_req_asn1 at configuration time
// pdcp_pP-> security_activated modified (=1) by pdcp_config_set_security in pdcp_config_req_asn1_NB_IoT at configuration time
// we now create a particular case for pdcp_config_set_securityy function in which for a particular securityMode (= -1) we deactivate security.
// we first invoke the NB_rrc_pdcp_config_asn1_req that with the particular case of securityMode = -1 will disable security through the pdcp_config_set_security
// we first invoke the rrc_pdcp_config_asn1_req_NB_IoT that with the particular case of securityMode = -1 will disable security through the pdcp_config_set_security
//MP: the integrity protection is still not used in OAI --> MAC-I is padded always to 0 so no need to modify it
NB_rrc_pdcp_config_asn1_req(
rrc_pdcp_config_asn1_req_NB_IoT(
ctxt_pP,
ue_context_p->ue_context.SRB_configList,
(DRB_ToAddModList_NB_r13_t*)NULL,
...
...
@@ -2602,7 +2588,7 @@ rrc_eNB_decode_dcch_NB(
DCCH1//its only for check purposes (if correctly called could be deleted)