Hardcoding TI and UL_CQI in stub function.
Also, the allocation of the eNB measurement report keeps getting commented out becasue the compiler throws an error. I have un-commented the allocation of memory (becasue it breaks NSA mode) and added a memset to ensure we are using the allocated memory. This gets rid of the warning and ensures NSA mode still works.
This commit is contained in:
@@ -4293,9 +4293,8 @@ ssize_t do_nrMeasurementReport(uint8_t *buffer,
|
||||
LTE_MeasResultListEUTRA_t *measResultListEUTRA2=&measResultNeighCells->choice.measResultListEUTRA;
|
||||
asn1cSequenceAdd(measResultListEUTRA2->list, struct LTE_MeasResultEUTRA, measresulteutra_list);
|
||||
measresulteutra_list->physCellId = phy_id;
|
||||
//asn1cCalloc(measresulteutra_list->cgi_Info, measresult_cgi2);
|
||||
//measresult_cgi2->cellGlobalId= {0};
|
||||
//measresult_cgi2->trackingAreaCode= {0};
|
||||
asn1cCalloc(measresulteutra_list->cgi_Info, measresult_cgi2);
|
||||
memset(measresult_cgi2, 0, sizeof(LTE_CellGlobalIdEUTRA_t));
|
||||
struct LTE_MeasResultEUTRA__measResult* measResult= &measresulteutra_list->measResult;
|
||||
asn1cCallocOne(measResult->rsrpResult, rsrp_tar);
|
||||
asn1cCallocOne(measResult->rsrqResult, rsrq_tar);
|
||||
|
||||
Reference in New Issue
Block a user