Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wifi: increase the sample rate of TX and RX #417

Open
henrychang81 opened this issue Oct 29, 2024 · 1 comment
Open

Wifi: increase the sample rate of TX and RX #417

henrychang81 opened this issue Oct 29, 2024 · 1 comment

Comments

@henrychang81
Copy link

henrychang81 commented Oct 29, 2024

@bastibl Hello, I'm using your example code "wifi_tx.grc" and "wifi_rx.grc", and have modified them into the following 2 images:

  • This is the TX flow graph:
    tx

  • This is the RX flow graph:
    rx

  • Objective: Our main goal is to use WiFi CSI data for object sensing. Increasing the sample rate is crucial for our experiments. We have made some initial attempts but are still not sure how to improve the sample rate. Could you please provide some suggestions?

  • We conducted the following experiments:

    • TX at 10MHz and RX at 10MHz:
      This setting operates normally
      10_10-ezgif com-resize

    • TX at 20MHz and RX at 20MHz:
      With this configuration, there seems to be some delay on the RX side
      20_20-ezgif com-resize

    • TX at 30MHz and RX at 30MHz:
      There are errors on the RX side - the dsp_rate cannot be evenly divided by samp_rate, and the waveform is completely stuck
      30_30-ezgif com-resize

    • TX at 40MHz and RX at 40MHz:
      The other scenario produces the same error
      40_40-ezgif com-resize

    • TX at 50MHz and RX at 50MHz:
      The waveform on the RX side is completely stuck, and no reason is given.
      50_50-ezgif com-resize

  • My hardware configuration:

    • Two USRP X310 units (one for TX, one for RX)
      • Both USRPs connected to the same computer
    • Network card:
      • Intel E810-XXV
        • Features two ports, Both ports support 25GbE
    • Motherboard:
      • Gigabyte X670 AORUS ELITE AX
    • CPU:
      • AMD R7 7700
  • My software configuration:

    • MTU configuration:
      • Set to 9000
    • Socket buffer configuration:
      • rmem_max=33554432
      • wmem_max=33554432
    • Ring Buffer configuration:
      • rx=8160
      • tx=8160
    • Network card features:
      • gro: enabled
      • gso: enabled
      • tso: enabled
  • USRP stream_args configuration:

    • recv_frame_size=8000
    • num_recv_frames=512
    • recv_buff_size=33554432

Any advice you could offer would be greatly appreciated.
Thank you for your time and assistance.

Henry

@bastibl
Copy link
Owner

bastibl commented Oct 29, 2024

I assume you're PC is overloaded. Maybe not all cores but there might be one core (e.g., divide or sync short) that will max out a CPU core. So you will drop most of the samples and not decode the data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants