Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openairinterface5G openairinterface5G
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 69
    • Issues 69
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 53
    • Merge requests 53
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • oaioai
  • openairinterface5Gopenairinterface5G
  • Merge requests
  • !1933

bugfix: try to handle USRP devices correctly to avoid crashes

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Cédric Roux requested to merge bugfix-release-usrp into develop Jan 31, 2023
  • Overview 16
  • Commits 1
  • Pipelines 0
  • Changes 1

Some problems when we release the device:

- Calling the destructors is wrong, we should set the pointers to NULL.
  These are shared pointers, this is C++.
- We have to stop rx by doing a STREAM_MODE_STOP_CONTINUOUS.
- The end-of-burst for tx has been simplified.

This problem when we acquire the device:

- Calling get_rx_stream() many times seems to be problematic.

We now should have a better behavior with UHD 4.2 and N310. (Hopefully with others too.) No crash seen so far.

Edited Feb 04, 2023 by Cédric Roux
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: bugfix-release-usrp