Commit Graph

836 Commits

Author SHA1 Message Date
Jiao Xianjun
f3b2e60927
Merge pull request #195 from open-sdr/master
Sync master
2022-08-02 10:57:33 +02:00
Jiao Xianjun
c6dd9e71e5
Update packet-iq-self-loopback-test.md 2022-06-29 08:28:27 +02:00
Jiao Xianjun
7668cd233c
Merge pull request #183 from redfast00/iq-self-loopback-docs
Fix instructions for self-loopback
2022-06-29 08:23:26 +02:00
redfast00
b6f9140315
Fix instructions for self-loopback 2022-06-24 16:43:27 +02:00
Jiao Xianjun
05506cbaa0
pre trigger length 0 (wh11d0) goes into some coner case.
Change it to more safe value > 0. (At least 1!)
2022-06-21 11:26:04 +02:00
Jiao Xianjun
7fd216edc2
Update publications.md 2022-06-13 15:53:37 +02:00
Jiao Xianjun
46f8b19637
Update publications.md 2022-06-02 21:58:01 +02:00
Xianjun Jiao
88cef6e242 Add make clean into drv_and_fpga_package_gen.sh 2022-05-31 12:47:09 +02:00
Jiao Xianjun
d625adef57
Update videos.md 2022-05-18 21:35:53 +02:00
Jiao Xianjun
cff2d60ed5
Update README.md 2022-05-16 15:19:05 +02:00
Jiao Xianjun
e41746cb07
Update drv_fpga_dynamic_loading.md 2022-05-16 15:07:12 +02:00
Thijs Havinga
33d13ba8b4
Check for check_calib_inf.pid file
And kill only when it exists. Avoids error message on first call of wgd.sh
2022-05-16 13:43:31 +02:00
Xianjun Jiao
e60c3d1541 120316e70c704a006b8991b121336e145da34303 2022-05-16 12:23:01 +02:00
Xianjun Jiao
55a868b0af Remove unnecessary sync/sleep in rf_init_11n.sh 2022-05-16 12:22:28 +02:00
Jiao Xianjun
fe92f91563
Update README.md 2022-05-16 10:29:18 +02:00
Jiao Xianjun
f3d767acbb
Update drv_fpga_dynamic_loading.md 2022-05-15 17:28:17 +02:00
Jiao Xianjun
bca2c023b0
Update README.md 2022-05-14 21:28:13 +02:00
Jiao Xianjun
2576903a4d
Add Suggested practice to generate variants 2022-05-14 21:27:12 +02:00
Xianjun Jiao
70cedb2220 Improve the doc 2022-05-13 22:39:33 +02:00
Xianjun Jiao
40773b7882 Add doc for dynamic reloading drv/FPGA 2022-05-13 17:03:29 +02:00
Xianjun Jiao
94847d8099 Add dynamic reloading driver and FPGA
Rebooting/power-cycle is not needed anymore!
2022-05-13 17:01:41 +02:00
Xianjun Jiao
1e86c1aa7d Add conditional compiling to README 2022-05-13 16:59:04 +02:00
Xianjun Jiao
e9919b3785 Add conditional compiling for driver:
C pre-defined macros can be set when running make_all.sh.
See change/help in the make_all.sh script or running the script.
2022-05-13 16:57:39 +02:00
Xianjun Jiao
1895c3ae46 Only support allowed channel to avoid:
the issue of Let openwifi work at arbitrary frequency: ./sdrctl dev sdr0 set reg rf 1/5 NMPQ
the wpa_supplicant scanning does scan those not allowed channel (originally reported by our driver capabilities), but hostpad already actually uses a not allowed channel (by sdrctl) while beacon still indicates an allowed channel (hostapd rejects to run on not allowed channel). So, after wpa_supplicant discovers the beacon on a not allowed channel while the beacon contains an allowed channel, it gets confused
2022-05-13 16:51:58 +02:00
Xianjun Jiao
ab74dd7433 Fix the rssi_correction for WiFi 6E channel (close to 6GHz)
Verified by CMW270
2022-05-13 16:50:27 +02:00
Xianjun Jiao
b0d1d08222 Remove the reg 3 init in rx_intf.c:
to avoid openwifi_start calling hw_init to override the FPGA loopback flag in reg 3 (value 256)
2022-05-13 16:48:30 +02:00
Xianjun Jiao
6aaa11651b Improve the link style in README/doc 2022-05-13 16:45:25 +02:00
Jiao Xianjun
d63b772aca
Update frequent_trick.md 2022-04-27 09:38:30 +02:00
Jiao Xianjun
1477da1602
Update frequent_trick.md 2022-04-27 09:37:00 +02:00
Jiao Xianjun
c88a7dfd18
Add WoWMoM2022 paper by Thijs Havinga 2022-04-19 11:48:26 +02:00
Jiao Xianjun
5d6b78c965
Add method for increasing Tx power:
In the app note.
2022-04-13 08:58:05 +02:00
Jiao Xianjun
b9b3abd353
Update README.md 2022-04-04 11:20:58 +02:00
Jiao Xianjun
0e84893f08
Update README.md 2022-04-01 14:12:20 +02:00
Jiao Xianjun
a816a273f8
Update README.md 2022-04-01 12:31:59 +02:00
Jiao Xianjun
e91d8a2947
Update README.md 2022-04-01 11:33:41 +02:00
Jiao Xianjun
81493bdcfb
Update README.md 2022-04-01 10:59:19 +02:00
Jiao Xianjun
d5242439df
Update 64bit image openwifi-1.3.0-wilsele- 2022-04-01 10:50:04 +02:00
Jiao Xianjun
1b00373f88
Update FPGA image link for openwifi-1.3.0-wilsele 2022-04-01 10:34:53 +02:00
Jiao Xianjun
30d5f3221b
Merge pull request #151 from open-sdr/pre-release
openwifi-1.3.0-wilsele
2022-04-01 10:32:43 +02:00
Xianjun Jiao
90a9618231 doc and app notes update 2022-04-01 10:04:21 +02:00
Xianjun Jiao
425e8346ec Add clock architecture and sensing picture 2022-04-01 10:01:42 +02:00
Xianjun Jiao
6fdc02fb32 Remove hdmi spdif and clkgen from the devicetree of zc706, because they are removed from the FPGA design 2022-04-01 10:00:39 +02:00
Xianjun Jiao
628c5d74a4 inject_80211 make location needs to be changed in post_config.sh 2022-03-30 13:06:16 +02:00
Xianjun Jiao
152dcbfbcc Add inject_80211 make into post_config.sh 2022-03-30 11:47:41 +02:00
Xianjun Jiao
d6c1c3f7f5 Easier way to set arbitrary trx frequency via register rf 1 and 5:
Create helper function ad9361_tx_calibration() and openwifi_rf_rx_update_after_tuning() for frequency tuning. No matter it is from Linux request or rf register 1 (Tx freq override MHz) and 5 (Rx freq override MHz)
2022-03-30 11:36:36 +02:00
Xianjun Jiao
6bb9ef71e9 Example of how to add debug channel via sysfs and access it via script --> driver 2022-03-29 15:18:55 +02:00
Xianjun Jiao
e4d5d1a3ce Add code for new statistics and setting channel via sysfs 2022-03-29 15:16:29 +02:00
Xianjun Jiao
947b93458d Add missing code in sdr.h for the improved tx queue mechanism in previous commit 2022-03-29 15:08:44 +02:00
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
Xianjun Jiao
2c78ef135f Fix the AMPDU reporting bug in tx interrupt:
When pkt_cnt is 1, it is also possible the aggregation case (single packet aggregation). So the reporting type (non aggregation or aggregation) should be decided automatically based on a dedicated use_ht_aggr flag instead of pkt_cnt, otherwise the Linux minstrel_ht link adaptation can not get correct TX status report in the aggregation case and will keep using the lowest MCS0
2022-03-29 14:20:38 +02:00