Commit 3ac94d80 authored by bussotti's avatar bussotti

Update pdcp_benchmark.c

parent fa15d391
......@@ -127,6 +127,7 @@ RAN_CONTEXT_t RC;
int main(int argc, char *argv[])
{
printf("1");
int resQ;
resQ=1;
/*if(argc < 2)
......@@ -136,8 +137,9 @@ int main(int argc, char *argv[])
resQ = atoi(argv[1]);
*/pool_buffer_init();
list_init(&pdu_tx_list, NULL);
printf("2");
logInit();
printf("3");
pdcp_el.next_pdcp_tx_sn = 0;
pdcp_el.next_pdcp_rx_sn = 0;
pdcp_el.tx_hfn = 0;
......@@ -145,9 +147,9 @@ int main(int argc, char *argv[])
pdcp_el.last_submitted_pdcp_rx_sn = 4095;
pdcp_el.seq_num_size = 12;
pdcp_el.cipheringAlgorithm = (resQ==1?EEA1_128_ALG_ID:EEA2_128_ALG_ID);
printf("4");
pdcp_init_seq_numbers(&pdcp_el);
printf("5");
pdcp_data_req(NULL, //ctxt_pP
0, //srb_flagP
......
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