Commit f3d30dae authored by Andrew Burger's avatar Andrew Burger

Removed trailing white space and added subfram and frame log to CRC_IND

parent 7b387999
...@@ -1331,7 +1331,8 @@ const char *hexdump(const void *data, size_t data_len, char *out, size_t out_len ...@@ -1331,7 +1331,8 @@ const char *hexdump(const void *data, size_t data_len, char *out, size_t out_len
break; break;
case NFAPI_CRC_INDICATION: case NFAPI_CRC_INDICATION:
encoded_size = nfapi_p7_message_pack(&UL->crc_ind, buffer, sizeof(buffer), NULL); encoded_size = nfapi_p7_message_pack(&UL->crc_ind, buffer, sizeof(buffer), NULL);
LOG_E(MAC, "CRC_IND sent to Proxy, Size: %d\n", encoded_size); LOG_E(MAC, "CRC_IND sent to Proxy, Size: %d Frame %d Subframe %d\n", encoded_size,
NFAPI_SFNSF2SFN(UL->crc_ind.sfn_sf), NFAPI_SFNSF2SF(UL->crc_ind.sfn_sf));
break; break;
case NFAPI_RX_ULSCH_INDICATION: // is this the right nfapi message_id? Ask Raymond case NFAPI_RX_ULSCH_INDICATION: // is this the right nfapi message_id? Ask Raymond
encoded_size = nfapi_p7_message_pack(&UL->rx_ind, buffer, sizeof(buffer), NULL); encoded_size = nfapi_p7_message_pack(&UL->rx_ind, buffer, sizeof(buffer), NULL);
......
...@@ -735,13 +735,11 @@ int main( int argc, char **argv ) { ...@@ -735,13 +735,11 @@ int main( int argc, char **argv ) {
init_queue(&ul_config_req_queue); init_queue(&ul_config_req_queue);
config_sync_var=0; config_sync_var=0;
if (sem_init(&sfn_semaphore, 0, 0) != 0) if (sem_init(&sfn_semaphore, 0, 0) != 0)
{ {
LOG_E(MAC, "sem_init() error\n"); LOG_E(MAC, "sem_init() error\n");
abort(); abort();
} }
init_UE_stub_single_thread(NB_UE_INST,eMBMS_active,uecap_xer_in,emul_iface); init_UE_stub_single_thread(NB_UE_INST,eMBMS_active,uecap_xer_in,emul_iface);
init_UE_standalone_thread(); init_UE_standalone_thread();
} else { } else {
......
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