Added custom error codes for p5
This commit is contained in:
@@ -419,7 +419,7 @@ int pnf_config_request(nfapi_pnf_config_t *config, nfapi_pnf_config_request_t *r
|
||||
|
||||
void nfapi_send_pnf_start_resp(nfapi_pnf_config_t *config, uint16_t phy_id) {
|
||||
printf("Sending NFAPI_START_RESPONSE config:%p phy_id:%d\n", config, phy_id);
|
||||
nfapi_start_response_t start_resp;
|
||||
nfapi_nr_start_response_scf_t start_resp;
|
||||
memset(&start_resp, 0, sizeof(start_resp));
|
||||
start_resp.header.message_id = NFAPI_START_RESPONSE;
|
||||
start_resp.header.phy_id = phy_id;
|
||||
|
||||
@@ -1017,14 +1017,6 @@ extern uint32_t to_earfcn(int eutra_bandP,uint32_t dl_CarrierFreq,uint32_t bw);
|
||||
|
||||
int param_resp_cb(nfapi_vnf_config_t *config, int p5_idx, nfapi_nr_param_response_scf_t *resp) {
|
||||
|
||||
#ifdef TEST
|
||||
if(resp->cell_param.phy_state.tl.tag == NFAPI_NR_PARAM_TLV_PHY_STATE_TAG)
|
||||
printf("\n\nMatched\n\n");
|
||||
// like this we can check for all the tags
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
printf("[VNF] Received NFAPI_PARAM_RESP idx:%d phy_id:%d\n", p5_idx, resp->header.phy_id);
|
||||
vnf_info *vnf = (vnf_info *)(config->user_data);
|
||||
vnf_p7_info *p7_vnf = vnf->p7_vnfs;
|
||||
@@ -1093,7 +1085,7 @@ int config_resp_cb(nfapi_vnf_config_t *config, int p5_idx, nfapi_nr_config_respo
|
||||
return 0;
|
||||
}
|
||||
|
||||
int start_resp_cb(nfapi_vnf_config_t *config, int p5_idx, nfapi_start_response_t *resp) {
|
||||
int start_resp_cb(nfapi_vnf_config_t *config, int p5_idx, nfapi_nr_start_response_scf_t *resp) {
|
||||
printf("[VNF] Received NFAPI_START_RESP idx:%d phy_id:%d\n", p5_idx, resp->header.phy_id);
|
||||
vnf_info *vnf = (vnf_info *)(config->user_data);
|
||||
pnf_info *pnf = vnf->pnfs;
|
||||
|
||||
Reference in New Issue
Block a user