Commit 2e7d9574 authored by Robert Schmidt's avatar Robert Schmidt

RRC: demote various log levels

parent e2d5758c
...@@ -523,8 +523,7 @@ static void rrc_gNB_generate_RRCReject(module_id_t module_id, rrc_gNB_ue_context ...@@ -523,8 +523,7 @@ static void rrc_gNB_generate_RRCReject(module_id_t module_id, rrc_gNB_ue_context
static void rrc_gNB_process_RRCSetupComplete(const protocol_ctxt_t *const ctxt_pP, rrc_gNB_ue_context_t *ue_context_pP, NR_RRCSetupComplete_IEs_t *rrcSetupComplete) static void rrc_gNB_process_RRCSetupComplete(const protocol_ctxt_t *const ctxt_pP, rrc_gNB_ue_context_t *ue_context_pP, NR_RRCSetupComplete_IEs_t *rrcSetupComplete)
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
{ {
LOG_A(NR_RRC, PROTOCOL_NR_RRC_CTXT_UE_FMT" [RAPROC] Logical Channel UL-DCCH, " "processing NR_RRCSetupComplete from UE (SRB1 Active)\n", LOG_A(NR_RRC, "UE %d Processing NR_RRCSetupComplete from UE\n", ue_context_pP->ue_context.rrc_ue_id);
PROTOCOL_NR_RRC_CTXT_UE_ARGS(ctxt_pP));
ue_context_pP->ue_context.Srb[1].Active = 1; ue_context_pP->ue_context.Srb[1].Active = 1;
ue_context_pP->ue_context.Srb[2].Active = 0; ue_context_pP->ue_context.Srb[2].Active = 0;
ue_context_pP->ue_context.StatusRrc = NR_RRC_CONNECTED; ue_context_pP->ue_context.StatusRrc = NR_RRC_CONNECTED;
...@@ -1091,9 +1090,7 @@ static void rrc_gNB_process_RRCReestablishmentComplete(const protocol_ctxt_t *co ...@@ -1091,9 +1090,7 @@ static void rrc_gNB_process_RRCReestablishmentComplete(const protocol_ctxt_t *co
const uint8_t xid) const uint8_t xid)
{ {
gNB_RRC_UE_t *ue_p = &ue_context_pP->ue_context; gNB_RRC_UE_t *ue_p = &ue_context_pP->ue_context;
LOG_I(NR_RRC, LOG_I(NR_RRC, "UE %d Processing NR_RRCReestablishmentComplete from UE\n", ue_p->rrc_ue_id);
"[RAPROC] UE %04x Logical Channel UL-DCCH, processing NR_RRCReestablishmentComplete from UE (SRB1 Active)\n",
ue_p->rnti);
int i = 0; int i = 0;
......
...@@ -145,11 +145,6 @@ nr_rrc_pdcp_config_security( ...@@ -145,11 +145,6 @@ nr_rrc_pdcp_config_security(
nr_derive_key(RRC_ENC_ALG, UE->ciphering_algorithm, UE->kgnb, kRRCenc); nr_derive_key(RRC_ENC_ALG, UE->ciphering_algorithm, UE->kgnb, kRRCenc);
nr_derive_key(RRC_INT_ALG, UE->integrity_algorithm, UE->kgnb, kRRCint); nr_derive_key(RRC_INT_ALG, UE->integrity_algorithm, UE->kgnb, kRRCint);
if (!IS_SOFTMODEM_IQPLAYER) {
SET_LOG_DUMP(DEBUG_SECURITY) ;
}
if ( LOG_DUMPFLAG( DEBUG_SECURITY ) ) { if ( LOG_DUMPFLAG( DEBUG_SECURITY ) ) {
if (print_keys == 1 ) { if (print_keys == 1 ) {
print_keys =0; print_keys =0;
...@@ -511,7 +506,7 @@ static NR_CipheringAlgorithm_t rrc_gNB_select_ciphering( ...@@ -511,7 +506,7 @@ static NR_CipheringAlgorithm_t rrc_gNB_select_ciphering(
} }
} }
LOG_I(RRC, "selecting ciphering algorithm %d\n", ret); LOG_D(RRC, "selecting ciphering algorithm %d\n", ret);
return ret; return ret;
} }
...@@ -547,7 +542,7 @@ static e_NR_IntegrityProtAlgorithm rrc_gNB_select_integrity( ...@@ -547,7 +542,7 @@ static e_NR_IntegrityProtAlgorithm rrc_gNB_select_integrity(
} }
} }
LOG_I(RRC, "selecting integrity algorithm %d\n", ret); LOG_D(RRC, "selecting integrity algorithm %d\n", ret);
return ret; return ret;
} }
...@@ -585,13 +580,13 @@ static int rrc_gNB_process_security(const protocol_ctxt_t *const ctxt_pP, rrc_gN ...@@ -585,13 +580,13 @@ static int rrc_gNB_process_security(const protocol_ctxt_t *const ctxt_pP, rrc_gN
} }
LOG_I(NR_RRC, LOG_I(NR_RRC,
"[gNB %d][UE %x] Selected security algorithms (%p): %lx, %x, %s\n", "[gNB %d][UE %d] Selected security algorithms (%p): ciphering %lx, integrity %x (algorithms %s)\n",
ctxt_pP->module_id, ctxt_pP->module_id,
UE->rnti, UE->rrc_ue_id,
security_capabilities_pP, security_capabilities_pP,
(unsigned long)cipheringAlgorithm, cipheringAlgorithm,
integrityProtAlgorithm, integrityProtAlgorithm,
changed ? "changed" : "same"); changed ? "changed" : "are the same");
return changed; return changed;
} }
......
...@@ -72,7 +72,7 @@ rrc_gNB_ue_context_t *rrc_gNB_allocate_new_ue_context(gNB_RRC_INST *rrc_instance ...@@ -72,7 +72,7 @@ rrc_gNB_ue_context_t *rrc_gNB_allocate_new_ue_context(gNB_RRC_INST *rrc_instance
for(int i = 0; i < NB_RB_MAX; i++) for(int i = 0; i < NB_RB_MAX; i++)
new_p->ue_context.pduSession[i].xid = -1; new_p->ue_context.pduSession[i].xid = -1;
LOG_I(NR_RRC, "Returning new RRC UE context RRC ue id: %d\n", new_p->ue_context.rrc_ue_id); LOG_D(NR_RRC, "Returning new RRC UE context RRC ue id: %d\n", new_p->ue_context.rrc_ue_id);
return(new_p); return(new_p);
} }
......
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