Commit dd2189e5 authored by bussotti's avatar bussotti

Trying to solve segmentation fault (cause by the necessity to have a non null...

Trying to solve segmentation fault (cause by the necessity to have a non null context in a function)
parent bdb258ce
......@@ -150,8 +150,15 @@ int main(int argc, char *argv[])
printf("4");
pdcp_init_seq_numbers(&pdcp_el);
printf("5");
/*pdcp_data_req(NULL, //ctxt_pP
protocol_ctxt_t ctxt;
ctxt.module_id = 0 ;
ctxt.instance = 0;
ctxt.rnti = 0;
ctxt.enb_flag = 1;
ctxt.frame = 0;
ctxt.subframe = 0;
pdcp_data_req(ctxt, //ctxt_pP
0, //srb_flagP
3, // rb_id
0, // muiP
......@@ -159,7 +166,7 @@ int main(int argc, char *argv[])
DUMMY_BUFFER_SIZE, //sdu_buffer_size
DUMMY_BUFFER, // sdu_buffer
PDCP_TRANSMISSION_MODE_DATA, // pdcp_transmission_mod
0,0);*/
0,0);
}
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