Commit Graph

162 Commits

Author SHA1 Message Date
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
Xianjun Jiao
0a17272215 sdcard_boot_udpate.sh: when downloading fails, warning will be given and old file will be used 2021-05-05 16:54:36 +02:00
Xianjun Jiao
56fcab2044 udpate ad9361 driver related stuffs:
we do not maintain our own (modified) ad9361 driver anymore! The original ad9361 driver in the Linux kernel tree can be used with some extra EXPORT_SYMBOL.
2021-05-05 16:44:39 +02:00
Xianjun Jiao
46886bdf9e To avoid compiling error of inject_80211.c with new kernel (2019_R2), the rand_char size needs to be 1484 due to the space occupied by u8aRadiotapHeader and ieee_hdr in buffer 2021-05-03 09:58:01 +02:00
Xianjun Jiao
e1a9c183bc update jpg in webserver 2021-04-07 10:00:20 +02:00
Xianjun Jiao
f0f5e22fc1 add libpcap-dev into the post_config.sh. it is needed by packet injection program compiling 2021-04-05 21:56:17 +02:00
Xianjun Jiao
1196ed1fef remove our customized xilinx_dma.c. the original xilinx_dma.c in kernel can be used now 2021-04-05 21:45:27 +02:00
Xianjun Jiao
266e956643 make sdcard_boot_update.sh more fail safe 2021-03-23 00:00:23 +01:00
luz paz
b1dd94e387 Fix various typos
Found via codespell v2.1.dev0  
`codespell -q 3 -L ans,filp,fils,hsi`
2021-02-04 20:41:51 +01:00
Jiao Xianjun
995e5a48c4
Update nl80211.h 2021-02-03 16:19:45 +01:00
Jiao Xianjun
e07d2876e8
Update wgd.sh 2021-02-03 16:01:04 +01:00
Jiao Xianjun
20aa12c209
Update update_sdcard.sh 2021-02-03 16:00:48 +01:00
Jiao Xianjun
87979c5b0a
Update slice_cfg.sh 2021-02-03 16:00:30 +01:00
Jiao Xianjun
fe6c78a558
Update side_ch_ctl.c 2021-02-03 16:00:07 +01:00
Jiao Xianjun
0c8f0042fa
Update set_csma_normal.sh 2021-02-03 15:59:38 +01:00
Jiao Xianjun
43458c4d8f
Update set_csma_high.sh 2021-02-03 15:59:25 +01:00
Jiao Xianjun
2b772c5e40
Update set_ant.sh 2021-02-03 15:59:06 +01:00
Jiao Xianjun
7728f0169a
Update version.sh 2021-02-03 15:58:47 +01:00
Jiao Xianjun
90a0e608fc
Update sections.c 2021-02-03 15:58:17 +01:00
Jiao Xianjun
c654e5ed88
Update sdrctl.h 2021-02-03 15:57:47 +01:00
Jiao Xianjun
d41937caf8
Update sdrctl.c 2021-02-03 15:57:21 +01:00
Jiao Xianjun
717c7bfc90
Update nl80211_testmode_def.h 2021-02-03 15:56:52 +01:00
Jiao Xianjun
b2cb0f0ffb
Update cmd.c 2021-02-03 15:56:18 +01:00
Jiao Xianjun
402ab59395
Update sdr-ad-hoc-up.sh 2021-02-03 15:55:41 +01:00
Jiao Xianjun
b1b9970125
Update sdr-ad-hoc-join.sh 2021-02-03 15:55:26 +01:00
Jiao Xianjun
7be237bdc0
Update sdcard_boot_update.sh 2021-02-03 15:55:07 +01:00
Jiao Xianjun
fe360a663a
Update rf_init.sh 2021-02-03 15:54:51 +01:00
Jiao Xianjun
f56c9fb1b6
Update prepare_kernel.sh 2021-02-03 15:54:36 +01:00
Jiao Xianjun
dfdc60c422
Update post_config.sh 2021-02-03 15:54:19 +01:00
Jiao Xianjun
37f8306bff
Update nic_back_to_normal.sh 2021-02-03 15:54:04 +01:00
Jiao Xianjun
c13ae9ec61
Update monitor_ch.sh 2021-02-03 15:53:47 +01:00
Jiao Xianjun
f5ad45c8db
Update link_perf_test.sh 2021-02-03 15:53:05 +01:00
Jiao Xianjun
0a94bc0010
Update inject_80211.sh 2021-02-03 15:52:46 +01:00
Jiao Xianjun
90cf64d3b5
Update inject_80211.h 2021-02-03 15:52:17 +01:00
Jiao Xianjun
e69a4568d9
Update inject_80211.c 2021-02-03 15:51:16 +01:00
Jiao Xianjun
b53d54cf38
Update analyze_80211.c 2021-02-03 15:49:56 +01:00
Jiao Xianjun
53aeab506d
Update get_fpga.sh 2021-02-03 15:48:51 +01:00
Jiao Xianjun
423380721d
Update fosdem.sh 2021-02-03 15:48:33 +01:00
Jiao Xianjun
8d5a3b2bf0
Update fosdem-11ag.sh 2021-02-03 15:47:45 +01:00
Jiao Xianjun
fd92a0b520
Update build_wpa_supplicant_wo11b.sh 2021-02-03 15:47:20 +01:00
Jiao Xianjun
1e2aab33e0
Update boot_bin_gen_zynqmp.sh 2021-02-03 15:46:47 +01:00
Jiao Xianjun
596ef126cb
Update boot_bin_gen.sh 2021-02-03 15:46:25 +01:00
Jiao Xianjun
7e1ab0c46f
Update openwifi-logo-small.jpg.license 2021-02-03 15:18:07 +01:00
Jiao Xianjun
a7c1dab25d
Update openwifi-detail.jpg.license 2021-02-03 15:17:58 +01:00
Lina Ceballos
a6085186d9 adding license and copyright headers 2021-01-20 13:30:12 +01:00
Lina Ceballos
b3aca84e3b creating license files for images 2021-01-20 13:28:48 +01:00
Xianjun Jiao
9aa482478c by default fosdem.sh now runs in 11n mode. add 11ag related scripts 2020-12-17 16:49:31 +01:00
Xianjun Jiao
9634f24ef2 improve the kernel build procedure 2020-12-16 15:37:29 +01:00
Xianjun Jiao
5deb8d18f6 sync internal 2020-12-14 13:32:15 +01:00
Michael Mehari
ca5df0f675
802.11n related configuration 2020-11-07 11:32:21 +01:00
mmehari
7273ec43e1 802.11 packet injector, analyzer and user guide 2020-11-05 18:28:31 +01:00
Xianjun Jiao
f71252c537 iq capture feature 2020-10-19 10:13:51 +02:00
Xianjun Jiao
22dd0cc486 the side channel (timestamp, frequency offset, CSI, equalizer) feature 2020-10-08 15:07:57 +02:00
weiliu1011
f80c9b329c
Update update_sdcard.sh
typo fix
2020-09-05 14:11:26 +02:00
Xianjun Jiao
0a92505df2 add recent update:
1. add git revision software register 7 to DRV_XPU module (not FPGA XPU module)
2. fix the print of hdr->seq_ctrl in sdr.c
3. add ht_flag display to sdr.c
4. remove the sysid from devicetree because new we have our own git revision read back solution in FPGA (XPU register 63) and driver (the sotware register 7 of drv_xpu)
5. add sudo to update_sdcard.sh to make the image generation without SD card in the test-bed easier
2020-09-04 10:57:04 +02:00
Jiao Xianjun
9f24c72e4e
Update set_csma_normal.sh 2020-07-04 13:07:34 +02:00
Jiao Xianjun
4ecf49bb3e
4 fpga queues and better driver/fpga flow control to avoid crash. improved slice cfg and printing (#23) 2020-06-12 11:11:47 +02:00
Xianjun Jiao
7763a39e8e fix the branch name, since we use master in public repositry 2020-04-27 15:06:42 +02:00