mirror of
https://github.com/open-sdr/openwifi.git
synced 2024-12-19 05:38:09 +00:00
Add ack rx control into the doc
This commit is contained in:
parent
49daf26a3e
commit
98d83bb1cb
@ -58,6 +58,7 @@ antsdr|[MicroPhase](https://github.com/MicroPhase/) enhanced ADALM-PLUTO [Notes]
|
||||
antsdr_e200|[MicroPhase](https://github.com/MicroPhase/) enhanced ADALM-PLUTO [Notes](kernel_boot/boards/antsdr_e200/README.md)|Done|[32bit img](https://users.ugent.be/~xjiao/openwifi-1.3.1-wilsele-1-32bit.img.xz)|**NO** need
|
||||
sdrpi|[HexSDR](https://github.com/HexSDR/) Powerful SDR in Raspberry Pi size [Notes](kernel_boot/boards/sdrpi/notes.md)|Done|[32bit img](https://users.ugent.be/~xjiao/openwifi-1.3.1-wilsele-1-32bit.img.xz)|**NO** need
|
||||
zcu102_fmcs2|[Xilinx ZCU102 board](https://www.xilinx.com/products/boards-and-kits/ek-u1-zcu102-g.html) + [FMCOMMS2/3/4](https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/eval-ad-fmcomms2.html)|Done|[64bit img](https://users.ugent.be/~xjiao/openwifi-1.3.1-wilsele-64bit.img.xz)|Need
|
||||
neptunesdr|Low cost Zynq 7020 + AD9361 board|Done|[32bit img](https://users.ugent.be/~xjiao/openwifi-1.3.1-wilsele-1-32bit.img.xz)|**NO** need
|
||||
zcu102_9371|[Xilinx ZCU102 board](https://www.xilinx.com/products/boards-and-kits/ek-u1-zcu102-g.html) + [ADRV9371](https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/eval-adrv9371.html)|Future|Future|Need
|
||||
|
||||
- board_name is used to identify FPGA design in openwifi-hw/boards/
|
||||
|
@ -204,7 +204,7 @@ reg_idx|meaning|comment
|
||||
8|RSSI threshold for CCA (channel idle/busy)|set by ad9361_rf_set_channel automatically. the unit is rssi_half_db, check rssi_half_db_to_rssi_dbm()/rssi_dbm_to_rssi_half_db() in sdr.c to see the relation to rssi dBm
|
||||
9|some low MAC time setting|bit31 0:auto, 1:manual. When manual, bit6-0: PHY rx delay, bit13-7: SIFS, bit18-14: slot time, bit23-19: ofdm symbol time, bit30-24: preamble+SIG time. unit us. check xpu.v (search slv_reg9)
|
||||
10|BB RF delay setting|unit 0.1us. bit7-0: BB RF delay, bit14-8: RF end extended time on top of the delay. bit22-16: delay between bb tx start to RF tx on (lo or port control via spi). bit30-24: delay between bb tx end to RF tx off. check xpu.v (search slv_reg10)
|
||||
11|ACK control and max num retransmission|bit4: 0:normal ACK, 1:disable auto ACK reply in FPGA. bit3-0: if bit3==0, the number of retransmission is decided by Linux. if bit3==1, the max num retransmission is taken from bit2-0
|
||||
11|ACK control and max num retransmission|bit4: 0:normal ACK tx/reply, 1:disable auto ACK tx/reply in FPGA. bit5: 0:normal ACK rx from peer, 1:not expecting ACK rx from peer. bit3-0: if bit3==0, the number of retransmission is decided by Linux. if bit3==1, the max num retransmission is taken from bit2-0
|
||||
12|AMPDU control|bit0: indicate low MAC start to receive AMPDU. bit4-1: tid. bit31: tid enable (by default, tid is not enabled and we decode AMPDU of all tid)
|
||||
13|spi controller config|1: disable spi control and Tx RF is always on; 0: enable spi control and Tx RF only on (lo/port) when pkt sending
|
||||
16|setting when wait for ACK in 2.4GHz|unit 0.1us. bit14-0: OFDM decoding timeout (after detect PHY header), bit30-16: timeout for PHY header detection, bit31: 0: FCS valid is not needed for ACK packet, 1: FCS valid is needed for ACK packet
|
||||
|
@ -1,7 +1,7 @@
|
||||
Some usual/frequent control trick over the openwifi FPGA. You need to do these controls on board in the openwifi directory.
|
||||
|
||||
[[CCA LBT threshold and disable](#CCA-LBT-threshold-and-disable)]
|
||||
[[Retransmission and ACK tx control](#Retransmission-and-ACK-tx-control)]
|
||||
[[Retransmission and ACK control](#Retransmission-and-ACK-control)]
|
||||
[[NAV DIFS EIFS CW disable and enable](#NAV-DIFS-EIFS-CW-disable-and-enable)]
|
||||
[[CW max and min config](#CW-max-and-min-config)]
|
||||
|
||||
@ -39,7 +39,7 @@ Disable the CCA by setting a very strong level as threshold, for example -1dBm:
|
||||
```
|
||||
After above command, the CCA engine will always believe the channel is idle, because the rx signal strength not likely could exceed -1dBm.
|
||||
|
||||
## Retransmission and ACK tx control
|
||||
## Retransmission and ACK control
|
||||
|
||||
The best way of override the maximum number of re-transmission for a Tx packet is doing it in the driver openwifi_tx() function.
|
||||
```
|
||||
@ -60,7 +60,7 @@ To override the maximum number of re-transmission, set bit3 to 1, and set the va
|
||||
|
||||
9 in binary form is 01001.
|
||||
|
||||
To disable the ACK TX after receive a packet, set bit4 to 1. (Assume we want to preserve the above re-transmission overriding setting)
|
||||
To disable the ACK TX after receiving a packet, set bit4 to 1. (Assume we want to preserve the above re-transmission overriding setting)
|
||||
```
|
||||
./sdrctl dev sdr0 set reg xpu 11 25
|
||||
```
|
||||
@ -69,6 +69,8 @@ To disable the ACK TX after receive a packet, set bit4 to 1. (Assume we want to
|
||||
|
||||
Disabling ACK TX might be useful for monitor mode and packet injection.
|
||||
|
||||
To disable the ACK RX after sending a packet, set bit5 to 1.
|
||||
|
||||
## NAV DIFS EIFS CW disable and enable
|
||||
|
||||
To check the current NAV/DIFS/EIFS/CW disable status, just run
|
||||
|
Loading…
Reference in New Issue
Block a user