Commit Graph

119 Commits

Author SHA1 Message Date
thavinga
c0371e3594 Add script to read RSSI from AD9361 2023-01-10 16:16:08 +01:00
MicroPhase
0dc81d985e
add support for antsdr_e200 (#237)
Co-authored-by: black_pigeon <1530604142@qq.com>
2022-10-25 20:30:45 +02:00
Xianjun Jiao
38e452ce23 Rename rootfs/root/openwifi/system_top.bit.bin to other while building sd card img, in case afterwards the wgd.sh load the wrong fpga img onboard 2022-09-03 23:18:05 +02:00
Xianjun Jiao
e3155ac1e8 Avoid cf_axi_dds reconnection in load_fpga_img.sh (otherwise crash) 2022-09-03 21:54:22 +02:00
Wei.Li
a066622e35
Sdrpi (#211)
Add sdrpi support
2022-09-02 16:36:38 +02:00
Xianjun Jiao
88cef6e242 Add make clean into drv_and_fpga_package_gen.sh 2022-05-31 12:47:09 +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
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
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
6bb9ef71e9 Example of how to add debug channel via sysfs and access it via script --> driver 2022-03-29 15:18:55 +02:00
thavinga
9fde3bff20 Displaying side channel plots with interactive mode to avoid jumping to foreground on update
Plus small fix for file closing
2022-03-28 16:53:07 +02:00
Xianjun Jiao
7d361288db Add testmode argument (1 for AMPDU) to fosdem.sh 2022-03-28 12:35:17 +02:00
Xianjun Jiao
d572f3b04e Remove the short GI capability from hostapd conf:
This brings us more stable (a bit less throughput in extreme case) system
2022-03-28 12:34:06 +02:00
Xianjun Jiao
bf351a865f Improve the post_config.sh after the 1st time power on with new SD card:
1. chmod +x for all onboard .sh files
2. install the package for bridge functionalities by default
2022-03-28 12:32:36 +02:00
Xianjun Jiao
7d48624548 New rf/ad9361 initialization script with new ad9361 filter file:
1. Wider bandwidth for 11n (4 extra subcarriers than 11a/g)
2. No offset tuning anymore
2022-03-28 12:28:11 +02:00
Xianjun Jiao
a5bde87733 Update rf_init.sh -- less use for now:
We mainly use rf_init_11n.sh
2022-03-28 12:25:50 +02:00
Xianjun Jiao
0c346c2006 Script to set lbt (listen before talk) threshold 2022-03-28 12:23:36 +02:00
Xianjun Jiao
7efd1542d4 Userspace script for arbitrary IQ tx via tx_intf 2022-03-28 12:22:58 +02:00
Xianjun Jiao
10cc847f81 Script to enable/disable/show driver level tx/rx statistics 2022-03-28 12:21:30 +02:00
Xianjun Jiao
efb7b60626 Add script to limit statistics for packets from target/peer MAC address only 2022-03-28 12:20:28 +02:00
Xianjun Jiao
8c9b1b478d Add script to enable all rx packet collecting for:
rx statistics.
For example, the received ACK normally will not be reported to the rx driver statistics. After this script, we collect all packet (including ACK, all control/management packet) for statistics
2022-03-28 12:19:33 +02:00
Xianjun Jiao
b1a9fd07da Add scripts to ease rx gain setting 2022-03-28 12:17:16 +02:00
Xianjun Jiao
a918498713 Add script to restrict openwifi only use a fixed frequency:
to avoid extra tuning/scanning operation/procedure bringing ad9361 calibration and Linux channenl setting activities
2022-03-28 12:16:41 +02:00
Xianjun Jiao
0cfbe31c70 Add scripts to ease cw/max/min/difs/eifs/nav disable/enable 2022-03-28 12:14:55 +02:00
Xianjun Jiao
4eaae4b893 add on board helper script cd_adi_iio_dir.sh:
to find out the correct adi iio sysfs directory
2022-03-28 12:11:15 +02:00
thavinga
dce2bea9db Make check_calib_inf.sh work for all boards
Search for direct_reg_access location.
2022-03-28 12:10:55 +02:00
Xianjun Jiao
b375844f73 improve the matlab script of iq capture:
1. more flexible
2. align the rx iq to the new hardware: natural order: lsb 16bit for I; msb 16bit for Q
2022-03-28 11:51:07 +02:00
thavinga
8a2eaff38f Add useful files to user_space
- Continuously checking whether Tx Quadrature Calibration did not reach maximum convergence count, otherwise print warning. Started and killed by wgd.sh.
- set_tx_lo.sh to set or get Tx LO status
- set_tx_port.sh to set or get Tx RF Port A or B
2022-03-28 11:34:48 +02:00
Xianjun Jiao
4a12fa0498 Improve the wgd.sh according to the new design 2022-03-28 11:20:22 +02:00
Xianjun Jiao
80ccea555a Add wpa_supplicant conf file for R&S CMW270 WiFi tester AP 2022-03-28 11:18:38 +02:00
Xianjun Jiao
e2f9904a29 Remove unnecessary scripts 2022-03-28 11:08:28 +02:00
Xianjun Jiao
e557222ed1 Add value print only option to side_ch_ctl.c:
When two arguments are input (no matter the exact value/form of the 2nd input), the side_ch_ctl will print value only to ease some bash script to call/use further (avoid extra parsing while extra info present)
2022-03-28 11:06:44 +02:00
Xianjun Jiao
ce26cc15c7 Userspace tool/example for arbitrary IQ generation via tx_intf 2022-03-28 11:02:59 +02:00
weiliu
7e3e6749ba change xilinx dma and ad9361 drv location to avoid booting problem 2022-03-26 21:03:08 +01:00
Xianjun Jiao
ce40e055d2 Add modified ad9361_conv.c of our own:
Sometimes the unstable hardware can not pass the 61.44Msps self-test/calibration. Override it to 40Msps
2022-03-26 20:34:55 +01:00
Xianjun Jiao
e9a08f26b4 Add more packet type and sub-type support into inject_80211.c 2022-03-15 13:01:26 +01:00
Xianjun Jiao
a4eb20013d Add openwifi CSI radar app note 2022-02-23 12:29:59 +01:00
Jiao Xianjun
abdb610f56
Scripts are adapted for SW HW decouple
To avoid openwifi-hw github submodule in openwifi. More flexible now.
2021-10-20 22:50:30 +02:00
Jiao Xianjun
61bd473364
Create wpa-openwifi.conf 2021-09-12 17:17:37 +02:00
MicroPhase
96a72425e7
Update get_fpga.sh 2021-08-24 11:17:53 +08:00
black-pigeon
d45655f234 the submodule uri keep the same with upstream 2021-08-24 11:14:33 +08:00
black-pigeon
0530334c7a get_fpga.h is switch to branch antsdr instead of master 2021-08-13 17:57:55 +08:00
black-pigeon
ad0b112aa3 change openwifi-hw submodule url, add new sdr hardware antsdr-e310, add necessary modifications 2021-08-13 11:07:44 +08:00
Xianjun Jiao
eaaa3bfcfe Improve the IQ sample Matlab script
For displaying and saving I/Q sample captured by openwifi side channel feature
2021-07-08 18:10:34 +02:00
Xianjun Jiao
d14d06e508 CSI fuzzer feature -- document to be finished 2021-05-13 17:45:39 +02:00
Xianjun Jiao
b66028eed3 Change the example packet in inject_80211.c from broadcast to unicast to ease the loopback debug based on dmesg printing (broadcast packet is not printed) 2021-05-06 16:03:01 +02:00
Xianjun Jiao
21e7ff9184 udpate_sdcard.sh: backup BOOT.BIN devicetree and kernel in SD card openwifi directory to collabrate with sdcard_boot_udpate.sh 2021-05-05 16:57:06 +02:00