openwifi/driver
Xianjun Jiao 8b7c849019 The improved tx queue handling mechanism between openwifi_tx() and openwifi_tx_interrupt():
1. Consider more corner cases: interrupt missing will cause a bd in the driver ring will never be cleaned. this need to be considered in the openwifi_tx()
2. Another corner case in openwifi_tx_interrupt: a packet is just sent and an interrupt calls the routine, but it finds that the bd in the driver ring has been cleared somehow
3. The driver ring and FPGA queue are always 1 on 1 mapping. User needs to map the higher level Linux priority to the driver ring idx instead of FPGA queue idx
4. Record the information about which FPGA queue (driver ring) has stopped which Linux priority before, and do exhausted search after a packet is sent (in the interrupt routine) to wake that Linux priority queue (in mac80211) up
5. Reserve more room before the FPGA queue full to adopt the last packet before we decide to stop the mac80211 queue. In this way, the last packet before the queue stop will still be put into FPGA and is expected to be sent (not lost/drop actively)
2022-03-29 14:44:39 +02:00
..
ad9361 Driver changes for FPGA SPI Tx LO control 2022-03-29 09:56:20 +02:00
openofdm_rx openofdm_rx initialization with the help of macro definition in hw_def.h: 2022-03-28 20:48:36 +02:00
openofdm_tx Update openofdm_tx.c 2021-02-03 15:38:47 +01:00
rx_intf openofdm_rx initialization with the help of macro definition in hw_def.h: 2022-03-28 20:48:36 +02:00
side_ch Scripts are adapted for SW HW decouple 2021-10-20 22:50:30 +02:00
tx_intf No need to consider 4 last pkt from 4 queue in master branch: 2022-03-28 20:41:00 +02:00
xilinx_dma Scripts are adapted for SW HW decouple 2021-10-20 22:50:30 +02:00
xpu Open the 4 queue gates all the time during xpu initialization 2022-03-29 10:13:16 +02:00
hw_def.h Driver changes for FPGA SPI Tx LO control 2022-03-29 09:56:20 +02:00
make_all.sh Avoid the git_rev.h issue: 2022-03-26 20:47:02 +01:00
Makefile prepare upgrade 2020-04-27 09:37:04 +02:00
sdr.c The improved tx queue handling mechanism between openwifi_tx() and openwifi_tx_interrupt(): 2022-03-29 14:44:39 +02:00
sdr.h Update the RX_BD_BUF_SIZE and NUM_RX_BD in sdr.h 2022-03-29 12:42:17 +02:00
sdrctl_intf.c Move sdrctl testmode cmd out to sdrctl_intf.c 2022-03-28 12:46:18 +02:00
sysfs_intf.c Add sysfs file based driver/FPGA access interface 2022-03-28 12:46:49 +02:00