[srslte-users] Find srsUE cell_search thread in main function in main.cc
Ismael Gomez
ismael.gomez at softwareradiosystems.com
Wed Mar 30 07:02:54 UTC 2016
cell_search() is called when the phch_recv::phy_state variable changes to
CELL_SEARCH, which happens when phch_recv::sync_start() is called, which is
called by mac::run_thread(), which is started in mac::init() which is
started in ue::init()
On Wed, 30 Mar 2016 at 08:57 資策會 - David Yu ( 余偉銓 ) <wcyu at iii.org.tw> wrote:
> Hi Ismael,
>
> Thank you very much.
>
> But we cannot find the function “phch_recv::cell_search()” which
> ue->init() directly or indirectly calls.
>
> Could you show the call flow from main() to phch_recv::cell_search()?
>
>
>
> Regards,
>
> David
>
>
>
>
>
> *From:* Ismael Gomez [mailto:ismael.gomez at softwareradiosystems.com]
> *Sent:* Tuesday, March 29, 2016 4:28 PM
> *To:* 資策會 - David Yu ( 余偉銓 ); srslte-users at lists.softwareradiosystems.com
> *Subject:* Re: [srslte-users] Find srsUE cell_search thread in main
> function in main.cc
>
>
>
> Hi David,
>
>
>
> Yes main() is the entry point of the program ue. It then creates a ue
> object and initializes (ue->init()). The function ue->init() initializes
> all ue layers (PHY, MAC, etc.) and the cell search procedure is done during
> PHY initialization.
>
>
>
> On Mon, 28 Mar 2016 at 08:26 資策會 - David Yu ( 余偉銓 ) <wcyu at iii.org.tw>
> wrote:
>
> Hi SRS members,
>
> In srsUE source code, main() in main.cc is the entry point of the program
> "ue", right?
>
> If yes, but we cannot find any cell search functions to use
> pthread_create() in main.cc.
>
> Could you show me where the cell search functions, like
> phch_recv::cell_search, to be invoke in main() in main.cc file?
>
> Thanks.
>
>
>
> Regards,
>
> David
>
> _______________________________________________
> srslte-users mailing list
> srslte-users at lists.softwareradiosystems.com
> http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20160330/45df2efe/attachment.htm>
More information about the srsran-users
mailing list