This commit adds RX and TX functionality for the bladeRF. The driver uses a ring buffer of URBs that are allocated when the driver probe()s each bladeRF. At the moment the driver allocates 1024 4KB URB buffers for RX and TX, meaning that each bladeRF requires at least 8MB of RAM. The total number of allocated URBs (NUM_DATA_URB) can be lowered when operating at USB 2.0, but the number should be a power of 2 for the ring buffer to work. Test read/write speeds of 320MB/s were observed with this driver on an Intel xHCI. |
||
|---|---|---|
| .. | ||
| bladeRF.c | ||
| bladeRF.h | ||
| Makefile | ||