Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void simulate_ul_pwr_meas_resp()
- {
- // prepare response msg
- pwr_resp.numOfPuschUe = UE_COUNT;
- pwr_resp.numOfUeResp = UE_COUNT;
- pwr_resp.numOfRssiRows = 1;
- pwr_resp.numOfSinrRows = 1;
- float* pusch_sinr_ptr = phydata::GetPuschUeSinrArray(pwr_resp);
- float* pusch_rssi_ptr = phydata::GetPuschUeRssiArray(pwr_resp);
- set_m_configuration();
- for (int cell_idx = 0; cell_idx < CELL_COUNT; cell_idx ++)
- {
- // fill all ue responses
- for (int ue_idx = 0; ue_idx < UE_COUNT; ue_idx ++)
- {
- pusch_sinr_ptr[ue_idx] = rssi[cell_idx][ue_idx];
- pusch_rssi_ptr[ue_idx] = sinr[cell_idx][ue_idx];
- }
- pwr_resp.lnCelId = cell_idx + 1;
- // pass response msg to tested object
- m_tput_handler->process_ul_pwr_meas_resp(pwr_resp);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement