fairwaves / UHD-Fairwaves

Fairwaves version of the UHD drivers, tweaked to support Fairwaves UmTRX.
http://umtrx.org
24 stars 21 forks source link

fix/recover - fifo control timeout looking for ack #12

Open guruofquality opened 9 years ago

guruofquality commented 9 years ago

Seen on some machines, this is probably a network issue of dropped packets causing the control fifo to lose package and causing the host code to error out. Although the exact cause is not known, a possible work-around involves shrinking the control fifo window size to 0 so multiple control packets will not be in-flight -- needs testing.

guruofquality commented 9 years ago

I have pushed an extra debugging hook onto master: https://github.com/fairwaves/UHD-Fairwaves/commit/08c05c5f1ba2c916db4c11dac18af2e37527745d

This commit should have no changes by default, however, one can specify

--args="fifo_ctrl_window=0"

on systems that are exhibiting the problem to test if the errors go away. At least I hope that is the case, and this change provides a way to move forward while debugging this issue.