Commit d089d4a2 authored by Andrew Burger's avatar Andrew Burger

Additional warning/Analysis logs

parent 3483f7ad
......@@ -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);
......
......@@ -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);
......
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