GenerateCtrlCqiReport function in lte-ue-phy

69 views
Skip to first unread message

Bob

unread,
Jan 5, 2015, 4:33:12 PM1/5/15
to ns-3-...@googlegroups.com
I'm looking into this function in the LTE module

void
LteUePhy::GenerateCtrlCqiReport (const SpectrumValue& sinr)

I cannot see it invoked anywhere in the code. Who is calling this function?

Thank you,

Tommaso Pecorella

unread,
Jan 5, 2015, 4:49:29 PM1/5/15
to ns-3-...@googlegroups.com
Hi,

in src/lte/helper/lte-helper.cc you can find:

  Ptr<LteChunkProcessor> pCtrl = Create<LteChunkProcessor> ();
  pCtrl
->AddCallback (MakeCallback (&LteEnbPhy::GenerateCtrlCqiReport, phy));
  ulPhy
->AddCtrlSinrChunkProcessor (pCtrl); // for evaluating SRS UL-CQI

and
  Ptr<LteChunkProcessor> pCtrl = Create<LteChunkProcessor> ();
  pCtrl
->AddCallback (MakeCallback (&LteUePhy::GenerateCtrlCqiReport, phy));
  pCtrl
->AddCallback (MakeCallback (&LteSpectrumPhy::UpdateSinrPerceived, dlPhy));
  dlPhy
->AddCtrlSinrChunkProcessor (pCtrl);

That's how it is called, by LteChunkProcessor.

Cheers,

T.
Reply all
Reply to author
Forward
0 new messages