Commit 8cd775c0 authored by Swetank Srivastava's avatar Swetank Srivastava

VNF and Multi Proxy Changes for Multi Cell

parent 8a76f69c
This diff is collapsed.
......@@ -1145,30 +1145,37 @@ void vnf_handle_p4_p5_message(void *pRecvMsg, int recvMsgLen, int p5_idx, nfapi_
switch (messageHeader.message_id)
{
case NFAPI_PNF_PARAM_RESPONSE:
fprintf(stdout, "swetank: NFAPI_PNF_PARAM_RESPONSE\n");
vnf_handle_pnf_param_response(pRecvMsg, recvMsgLen, config, p5_idx);
break;
case NFAPI_PNF_CONFIG_RESPONSE:
fprintf(stdout, "swetank: NFAPI_PNF_CONFIG_RESPONSE \n");
vnf_handle_pnf_config_response(pRecvMsg, recvMsgLen, config, p5_idx);
break;
case NFAPI_PNF_START_RESPONSE:
fprintf(stdout, "swetank: NFAPI_PNF_START_RESPONSE\n");
vnf_handle_pnf_start_response(pRecvMsg, recvMsgLen, config, p5_idx);
break;
case NFAPI_PNF_STOP_RESPONSE:
fprintf(stdout, "swetank: NFAPI_PNF_STOP_RESPONSE\n");
vnf_handle_pnf_stop_response(pRecvMsg, recvMsgLen, config, p5_idx);
break;
case NFAPI_PARAM_RESPONSE:
fprintf(stdout, "swetank: NFAPI_PARAM_RESPONSE\n");
vnf_handle_param_response(pRecvMsg, recvMsgLen, config, p5_idx);
break;
case NFAPI_CONFIG_RESPONSE:
fprintf(stdout, "swetank: NFAPI_CONFIG_RESPONSE \n");
vnf_handle_config_response(pRecvMsg, recvMsgLen, config, p5_idx);
break;
case NFAPI_START_RESPONSE:
fprintf(stdout, "swetank: NFAPI_START_RESPONSE \n");
vnf_handle_start_response(pRecvMsg, recvMsgLen, config, p5_idx);
break;
......@@ -1189,10 +1196,12 @@ void vnf_handle_p4_p5_message(void *pRecvMsg, int recvMsgLen, int p5_idx, nfapi_
break;
case NFAPI_CELL_SEARCH_RESPONSE:
fprintf(stdout, "swetank: NFAPI_CELL_SEARCH_RESPONSE\n");
vnf_handle_cell_search_response(pRecvMsg, recvMsgLen, config, p5_idx);
break;
case NFAPI_CELL_SEARCH_INDICATION:
fprintf(stdout, "swetank: NFAPI_CELL_SEARCH_INDICATION \n");
vnf_handle_cell_search_indication(pRecvMsg, recvMsgLen, config, p5_idx);
break;
......
This diff is collapsed.
......@@ -204,7 +204,7 @@ extern "C"
dl_config_req.dl_config_request_body.tl.tag = NFAPI_DL_CONFIG_REQUEST_BODY_TAG;
dl_config_req.dl_config_request_body.number_pdu = rand_range(4, max_num_dl_pdus);
uint16_t i = 0;
fprintf(stdout, "swetank: file:%s fxn:%s line:%d\n", __FILE__, __FUNCTION__, __LINE__);
for(i = 0; i < dl_config_req.dl_config_request_body.number_pdu; ++i) {
dl_config_pdus[i].pdu_type = rand_range(0, 11);
......
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