Hello Thomas,
Essentially, you have to ensure that the CQI computed is reflective of the true interference condition over protected subframes. If I were to guess what you are doing, you are not scheduling any users at the aggressor cell, so as to minimize interference to the victim cells during protected subframes.
Strictly speaking, you can "hack" the correct behavior by ensuring PDCCH is not transmitted during protected subframes of aggressor cell and using existing CQI computation mechanism in NS3, and maintain two sets of state information corresponding to cqi computed over protected and unprotected subframes.
A more "correct" implementation would be the following:
- Ensure that PDCCH is not transmitted during protected subframes. This means you have to not schedule any users at aggressor cell (not just lower transmit power). This can be ensured via modifying void LteEnbPhy::SendControlChannels (std::list<Ptr<LteControlMessage> > ctrlMsgList)
- Compute the downlink cqi relative to the SINR computed over PDSCH (not PDCCH as in the current implementation). You need to modify LteDataSinrChunkProcessor::End () to call the associated function void LteUePhy::GenerateDataCqiReport (const SpectrumValue& sinr).Note that by default, inside NS3, the downlink CQI is derived in lte-ue-phy.cc based on the UE's SINR as computed over the physical downlink control channel (PDCCH) via LteUePhy::GenerateCtrlCqiReport (const SpectrumValue& sinr). Note that this cqi report is called from within lte-sinr-chunk-processor.cc via LteCtrlSinrChunkProcessor::End ().
- Modify void LteUePhy::GenerateDataCqiReport to compute te downlink CQI. A simple fix would be to call GenerateCtrlCqiReport from within GenerateDataCqiReport.
- You also need to ensure you compute two sets of cqi, one over protected and one over unprotected subframes. This is to accurately model resource restricted CQI measurements, as introduced during Rel-10. Otherwise, the cqi are computed over unprotected subrames will result in pessimistic link adaptation.
Good luck,
- Vikram