diff --git a/nfapi/nfapi_pnf.c b/nfapi/nfapi_pnf.c index 5c9c69a8572a9d3a26677f8218fde5304f2d7161..67c57a96fd7d995cdeee6b8e78d480ec95f9a21b 100644 --- a/nfapi/nfapi_pnf.c +++ b/nfapi/nfapi_pnf.c @@ -1879,7 +1879,7 @@ int oai_nfapi_sr_indication(nfapi_sr_indication_t *ind) int retval = nfapi_pnf_p7_sr_ind(p7_config_g, ind); - LOG_E(PHY,"%s() retval:%d\n", __FUNCTION__, retval); + LOG_E(PHY,"%s() SFN/SF:%d srs:%d retval:%d\n", __FUNCTION__, NFAPI_SFNSF2DEC(ind->sfn_sf), ind->sr_indication_body.number_of_srs, retval); //free(ind.rx_indication_body.rx_pdu_list); diff --git a/nfapi/nfapi_vnf.c b/nfapi/nfapi_vnf.c index e8f4a733adffac6adf0cc99e16a1febcb83e2e3c..0e77ca07680462637e87aaef72e1413b4c99f91f 100644 --- a/nfapi/nfapi_vnf.c +++ b/nfapi/nfapi_vnf.c @@ -796,11 +796,15 @@ int phy_sr_indication(struct nfapi_vnf_p7_config* config, nfapi_sr_indication_t* *dest_ind = *ind; dest_ind->sr_indication_body.sr_pdu_list = dest_pdu_list; + LOG_D(MAC,"%s() eNB->UL_INFO.sr_ind.sr_indication_body.number_of_srs:%d\n", eNB->UL_INFO.sr_ind.sr_indication_body.number_of_srs); + for (int i=0;i<eNB->UL_INFO.sr_ind.sr_indication_body.number_of_srs;i++) { nfapi_sr_indication_pdu_t *dest_pdu = &dest_ind->sr_indication_body.sr_pdu_list[i]; nfapi_sr_indication_pdu_t *src_pdu = &ind->sr_indication_body.sr_pdu_list[i]; + LOG_D(MAC, "SR_IND[PDU:%d][rnti:%x cqi:%d channel:%d]\n", i, dest_pdu->rx_ue_information.rnti, dest_pdu->ul_cqi_information.ul_cqi, dest_pdu->ul_cqi_information.channel); + memcpy(dest_pdu, src_pdu, sizeof(*src_pdu)); }