open-sdr / openwifi

open-source IEEE 802.11 WiFi baseband FPGA (chip) design: driver, software
GNU Affero General Public License v3.0
3.83k stars 647 forks source link

Reducing the minimum plateau length causes problems #263

Closed Aaron3219 closed 1 year ago

Aaron3219 commented 1 year ago

Hello,

In this README you write that the minimum plateau length can be adjusted with the command:

$ sdrctl dev sdr0 set reg rx 3 X

Where X is the desired length. This works fine when setting it to X = 90 or X = 80. However, when reducing it even further to values like X = 40 the system does not receive packages any more.

I tested the short preamble detection in a simulation according to your guide and determined that the short preamble detection works fine. The LTS is also detected, but I don't understand why the system fails.

I am using a ZedBoard.

JiaoXianjun commented 1 year ago

You can caputure I/Q from the air according to https://github.com/open-sdr/openwifi/blob/master/doc/app_notes/iq.md, then feed the I/Q to your simulation to verify what is happening.

You can also try to do I/Q self loop back test while changing the parameters: https://github.com/open-sdr/openwifi/blob/master/doc/app_notes/packet-iq-self-loopback-test.md