Additional warning/Analysis logs

This commit is contained in:
Andrew Burger
2020-09-06 11:45:18 -07:00
parent 3483f7ad36
commit d089d4a289
2 changed files with 10 additions and 2 deletions
+2 -2
View File
@@ -948,7 +948,7 @@ int memcpy_dl_config_req(L1_rxtx_proc_t *proc,
req->dl_config_request_body.dl_config_pdu_list[i];
}
LOG_A(MAC, "dl_config_req in memcpy Frame: %d Subframe: %d",
LOG_A(MAC, "dl_config_req in memcpy Frame: %d Subframe: %d\n",
p->sfn_sf >> 4, p->sfn_sf & 15);
if (!put_queue(&dl_config_req_queue, p)) {
@@ -1217,7 +1217,7 @@ void *ue_standalone_pnf_task(void *context)
}
else
{
LOG_A(MAC, "dl_config_req fresh off socket Frame: %d Subframe: %d",
LOG_A(MAC, "dl_config_req fresh off socket Frame: %d Subframe: %d\n",
dl_config_req.sfn_sf >> 4, dl_config_req.sfn_sf & 15);
// check to see if dl_config_req is null
memcpy_dl_config_req(NULL, NULL, &dl_config_req);
+8
View File
@@ -1030,6 +1030,7 @@ static void *UE_phy_stub_standalone_pnf_task(void *arg)
int num_pairs = 0;
int num_lone = 0;
int last_sfn_sf = -1;
while (!oai_exit) {
bool sent_any = false;
@@ -1037,7 +1038,14 @@ static void *UE_phy_stub_standalone_pnf_task(void *arg)
LOG_E(MAC, "sem_wait() error\n");
abort();
}
int sfn_sf = current_sfn_sf;
if (sfn_sf == last_sfn_sf)
{
LOG_W(MAC, "repeated sfn_sf = %d.%d\n",
sfn_sf >> 4, sfn_sf & 15);
}
last_sfn_sf = sfn_sf;
nfapi_dl_config_request_t *dl_config_req = get_queue(&dl_config_req_queue);
nfapi_tx_request_pdu_t *tx_request_pdu_list = get_queue(&tx_req_pdu_queue);