Hi Nicola,
I got the hack to work. Essentially, I defined (as you suggested) a public function SetCellid in lte-enb-mac which is called from lte-helper to pass the cell id. Then I pass the cellid to the scheduler (say pf-ff-mac) through the params. Not sure if this is the cleanest way but it works. If you think there is a better way please let me know.
Regarding passing back the rbgrnti variable in the scheduler to the macstathelper using the callback: I need to make the rbgrnti visible to lteenbmac because that's were the callback is being fired. So I need to write have a public method in the scheduler to get this data when the callback is fired, right?
BTW, have you done any more work on the two level scheduler?
Best regards,
Dipak