Hi Hui Huang,
I suggest you take a look at the max C/I multiband scheduler, a maximum throughput scheduler that works on a per band basis. You can find it at src/stack/mac/scheduling_modules/LteMaxCiMultiband.cc
@ line 44 you find the following line:
std::vector<Cqi> vect = eNbScheduler_->mac_->getAmc()->readMultiBandCqi(nodeId,direction_);
which simply reads the per-band CQI for the given UE id and direction (UL or DL).
Note that, if you want to have 1 band for each RB, you have to set it via .ini file. You only need to keep the parameters numBands and numRbDl/numRbUl at the same value.
Please find and example below
**.deployer.numRbDl = 6
**.deployer.numRbUl = 6
**.deployer.numBands = 6
Hope this helps, BR Antonio
|
|
|