Commit Graph

  • ec5a505373 Remove unnecessary code in xpu.c Xianjun Jiao 2023-01-17 13:32:27 +01:00
  • 1fa7cac08e Format sdr.h Xianjun Jiao 2023-01-17 13:24:02 +01:00
  • 342bd25a0b Refactor a bit RING_ROOM_THRESHOLD/MAX_NUM_HW_QUEUE/MAX_NUM_SW_QUEUE Xianjun Jiao 2023-01-17 13:23:20 +01:00
  • 6c6cf95190 Refactor according to ... Some xpu registers are removed Xianjun Jiao 2023-01-17 13:22:17 +01:00
  • d4c3d8108e Though the SIFS definition in 2.4GHz is 10us, the actual gap is still 16us: 1. Confirmed by CMW270 in OFDM mode (10us is for 11b where viterbi decoder is not needed) 2. See Signal Extension in 18.3.2.4 ERP-OFDM PPDU format of 802.11-2020 Xianjun Jiao 2023-01-17 13:21:58 +01:00
  • 26825b8b77 Add OPENWIFI_MIN_SIGNAL_LEN_TH 14 to set min pkt length threshold for FPGA signal watchdog Xianjun Jiao 2023-01-17 13:14:59 +01:00
  • 7f48aacad4 Change default OPENOFDM_RX_RSSI_DBM_TH_DEFAULT to a value that will not affect sensitivity Xianjun Jiao 2023-01-17 13:12:55 +01:00
  • 20d92b40f5 Change the cca threshold to -62dBm. Seems help a lot in 2.4GHz Xianjun Jiao 2023-01-17 13:11:59 +01:00
  • 189290a596 Add channel info into rssi_show.sh and rename it Xianjun Jiao 2023-01-17 13:05:14 +01:00
  • 1f03c61acc Update iq.md Xianjun Jiao 2023-01-17 13:03:05 +01:00
  • 0410b1af1a Add neptunesdr files Xianjun Jiao 2022-10-19 22:18:57 +02:00
  • c0371e3594 Add script to read RSSI from AD9361 thavinga 2023-01-10 16:16:08 +01:00
  • efa47b29f6 Update document and script for antsdr_e200 Xianjun Jiao 2023-01-10 16:05:33 +01:00
  • 9d2c75f1e1 Update publications.md Jiao Xianjun 2022-12-16 13:10:38 +01:00
  • eaf0cb68bb Update publications.md Jiao Xianjun 2022-12-08 15:58:43 +01:00
  • b147dfd152 Update publications.md Jiao Xianjun 2022-11-26 10:17:20 +01:00
  • 31955e7fc8 Update publications.md Jiao Xianjun 2022-11-12 08:50:47 +01:00
  • 0dc81d985e add support for antsdr_e200 (#237) antsdr MicroPhase 2022-10-26 02:30:45 +08:00
  • 3153d9640e Update publications.md sdrpi Jiao Xianjun 2022-10-25 08:15:33 +02:00
  • 372a19b8b0 Add neptunesdr to related scripts neptunesdr Xianjun Jiao 2022-10-19 22:20:04 +02:00
  • cfbbeff431 Add neptunesdr files Xianjun Jiao 2022-10-19 22:18:57 +02:00
  • 873e4e6e84 Update publications.md Jiao Xianjun 2022-10-18 16:44:10 +02:00
  • 9594dc72b7 update sdrpi hexsdr 2022-10-02 20:56:06 +08:00
  • 39ab677c00 Update publications.md Jiao Xianjun 2022-09-24 13:21:43 +02:00
  • a4e76cf696 Update publications.md Jiao Xianjun 2022-09-22 10:16:00 +02:00
  • a870945492 Update publications.md Jiao Xianjun 2022-09-15 11:07:56 +02:00
  • 0e94d49d86 Update img to include sdrpi Xianjun Jiao 2022-09-04 00:51:30 +02:00
  • 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 Xianjun Jiao 2022-09-03 23:18:05 +02:00
  • 2bbf19e8a8 update re-generate .dtb during verifying sdrpi Xianjun Jiao 2022-09-03 22:57:33 +02:00
  • e3155ac1e8 Avoid cf_axi_dds reconnection in load_fpga_img.sh (otherwise crash) Xianjun Jiao 2022-09-03 21:54:22 +02:00
  • a066622e35 Sdrpi (#211) Wei.Li 2022-09-02 22:36:38 +08:00
  • f3b2e60927 Merge pull request #195 from open-sdr/master Jiao Xianjun 2022-08-02 10:57:33 +02:00
  • c6dd9e71e5 Update packet-iq-self-loopback-test.md Jiao Xianjun 2022-06-29 08:28:27 +02:00
  • 7668cd233c Merge pull request #183 from redfast00/iq-self-loopback-docs Jiao Xianjun 2022-06-29 08:23:26 +02:00
  • b6f9140315 Fix instructions for self-loopback redfast00 2022-06-24 16:43:27 +02:00
  • 05506cbaa0 pre trigger length 0 (wh11d0) goes into some coner case. Jiao Xianjun 2022-06-21 11:26:04 +02:00
  • 7fd216edc2 Update publications.md Jiao Xianjun 2022-06-13 15:53:37 +02:00
  • 46f8b19637 Update publications.md Jiao Xianjun 2022-06-02 21:58:01 +02:00
  • 88cef6e242 Add make clean into drv_and_fpga_package_gen.sh csiobfuscation Xianjun Jiao 2022-05-31 12:47:09 +02:00
  • d625adef57 Update videos.md Jiao Xianjun 2022-05-18 21:35:53 +02:00
  • cff2d60ed5 Update README.md Jiao Xianjun 2022-05-16 15:19:05 +02:00
  • e41746cb07 Update drv_fpga_dynamic_loading.md v1.3.1 Jiao Xianjun 2022-05-16 15:07:12 +02:00
  • 33d13ba8b4 Check for check_calib_inf.pid file Thijs Havinga 2022-05-16 13:43:31 +02:00
  • e60c3d1541 120316e70c704a006b8991b121336e145da34303 Xianjun Jiao 2022-05-16 12:23:01 +02:00
  • 55a868b0af Remove unnecessary sync/sleep in rf_init_11n.sh Xianjun Jiao 2022-05-16 12:22:28 +02:00
  • fe92f91563 Update README.md Jiao Xianjun 2022-05-16 10:29:18 +02:00
  • f3d767acbb Update drv_fpga_dynamic_loading.md Jiao Xianjun 2022-05-15 17:28:17 +02:00
  • bca2c023b0 Update README.md Jiao Xianjun 2022-05-14 21:28:13 +02:00
  • 2576903a4d Add Suggested practice to generate variants Jiao Xianjun 2022-05-14 21:27:12 +02:00
  • 70cedb2220 Improve the doc Xianjun Jiao 2022-05-13 22:39:33 +02:00
  • 40773b7882 Add doc for dynamic reloading drv/FPGA Xianjun Jiao 2022-05-13 17:03:29 +02:00
  • 94847d8099 Add dynamic reloading driver and FPGA Rebooting/power-cycle is not needed anymore! Xianjun Jiao 2022-05-13 17:01:41 +02:00
  • 1e86c1aa7d Add conditional compiling to README Xianjun Jiao 2022-05-13 16:59:04 +02:00
  • 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. Xianjun Jiao 2022-05-13 16:57:39 +02:00
  • 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 Xianjun Jiao 2022-05-13 16:51:58 +02:00
  • ab74dd7433 Fix the rssi_correction for WiFi 6E channel (close to 6GHz) Verified by CMW270 Xianjun Jiao 2022-05-13 16:50:27 +02:00
  • 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) Xianjun Jiao 2022-05-13 16:48:30 +02:00
  • 6aaa11651b Improve the link style in README/doc Xianjun Jiao 2022-05-13 16:45:25 +02:00
  • d63b772aca Update frequent_trick.md Jiao Xianjun 2022-04-27 09:38:30 +02:00
  • 1477da1602 Update frequent_trick.md Jiao Xianjun 2022-04-27 09:37:00 +02:00
  • c88a7dfd18 Add WoWMoM2022 paper by Thijs Havinga Jiao Xianjun 2022-04-19 11:48:26 +02:00
  • 5d6b78c965 Add method for increasing Tx power: Jiao Xianjun 2022-04-13 08:58:05 +02:00
  • b9b3abd353 Update README.md Jiao Xianjun 2022-04-04 11:20:58 +02:00
  • 0e84893f08 Update README.md v1.3.0 Jiao Xianjun 2022-04-01 14:12:20 +02:00
  • a816a273f8 Update README.md Jiao Xianjun 2022-04-01 12:31:59 +02:00
  • e91d8a2947 Update README.md Jiao Xianjun 2022-04-01 11:33:41 +02:00
  • 81493bdcfb Update README.md Jiao Xianjun 2022-04-01 10:59:19 +02:00
  • d5242439df Update 64bit image openwifi-1.3.0-wilsele- Jiao Xianjun 2022-04-01 10:50:04 +02:00
  • 1b00373f88 Update FPGA image link for openwifi-1.3.0-wilsele Jiao Xianjun 2022-04-01 10:34:53 +02:00
  • 30d5f3221b Merge pull request #151 from open-sdr/pre-release Jiao Xianjun 2022-04-01 10:32:43 +02:00
  • 90a9618231 doc and app notes update Xianjun Jiao 2022-04-01 10:04:21 +02:00
  • 425e8346ec Add clock architecture and sensing picture Xianjun Jiao 2022-04-01 10:01:42 +02:00
  • 6fdc02fb32 Remove hdmi spdif and clkgen from the devicetree of zc706, because they are removed from the FPGA design Xianjun Jiao 2022-04-01 10:00:39 +02:00
  • 628c5d74a4 inject_80211 make location needs to be changed in post_config.sh Xianjun Jiao 2022-03-30 13:06:16 +02:00
  • 152dcbfbcc Add inject_80211 make into post_config.sh Xianjun Jiao 2022-03-30 11:47:41 +02:00
  • 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) Xianjun Jiao 2022-03-30 11:36:36 +02:00
  • 6bb9ef71e9 Example of how to add debug channel via sysfs and access it via script --> driver Xianjun Jiao 2022-03-29 15:18:55 +02:00
  • e4d5d1a3ce Add code for new statistics and setting channel via sysfs Xianjun Jiao 2022-03-29 15:16:29 +02:00
  • 947b93458d Add missing code in sdr.h for the improved tx queue mechanism in previous commit Xianjun Jiao 2022-03-29 15:08:44 +02:00
  • 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) Xianjun Jiao 2022-03-29 14:44:39 +02:00
  • 2c78ef135f Fix the AMPDU reporting bug in tx interrupt: Xianjun Jiao 2022-03-29 14:20:38 +02:00
  • 106a5e441f Align rx ring init to the new pkt existing flag inserted by FPGA Xianjun Jiao 2022-03-29 14:14:30 +02:00
  • d4661bbd1c Update the RX_BD_BUF_SIZE and NUM_RX_BD in sdr.h Xianjun Jiao 2022-03-29 12:42:17 +02:00
  • 088d2d18c4 Add dmesg printk flag in sdr.h and use it in openwifi_rx-interrupt() accordingly Xianjun Jiao 2022-03-29 12:39:33 +02:00
  • ca865e3837 Move the location of hdr/addr1/addr2 in openwifi_rx_interrupt() preparing for statistics usage Xianjun Jiao 2022-03-29 12:36:53 +02:00
  • d267a5f4fb Add more info when the rx pkt content is abnormal in openwifi_rx_interrupt() Xianjun Jiao 2022-03-29 12:34:51 +02:00
  • 9c7deabd59 Make the freq/band report in openwifi_rx_interrupt from our driver internal variable instead of Linux setting. The latter might be asynchronous and cause issue: if the received management frame has wrong freq/band info, the Linux mac80211 might reject some state or have issue according to Linux kernel doc somewhere Xianjun Jiao 2022-03-29 12:21:25 +02:00
  • 0dc3d33d6e Rename the rssi_val to more meaningful rssi_half_db in openwifi_rx_interrupt, and use the helper function rssi_half_db_to_rssi_dbm to do calculation Xianjun Jiao 2022-03-29 12:17:54 +02:00
  • 1bbdabf023 Remove unnecessary variable initialization and other minor adaptation Xianjun Jiao 2022-03-29 12:16:04 +02:00
  • b62a370457 Change the sc to seqno in openwifi_rx_interrupt() and align the operation logic to openwifi_tx() Xianjun Jiao 2022-03-29 12:14:29 +02:00
  • bca13d88e4 Shorten the openwifi_rx_interrupt message header to openwifi_rx Xianjun Jiao 2022-03-29 12:13:05 +02:00
  • 641a980a9b Disable AD9361 auto calibration and enable openwifi FPGA SPI control in openwifi_start() thavinga 2022-03-29 11:34:57 +02:00
  • 3ac0023386 Try to allocate more room while skb head/tail room is not enough to adopt header/padding in openwifi_tx() Xianjun Jiao 2022-03-29 11:24:42 +02:00
  • e7312859f8 Move the normal print location in openwifi_tx() Xianjun Jiao 2022-03-29 11:23:10 +02:00
  • 09350b04b6 Optimize the type of prio and queue_idx in openwifi_tx() Xianjun Jiao 2022-03-29 11:21:46 +02:00
  • f11dfbd0cf Try to wait a bit instead of quit immediately while status!=DMA_COMPLETE in openwifi_tx() Xianjun Jiao 2022-03-29 11:18:51 +02:00
  • f70dfc6b7b Optimize seq_no in openwifi_tx() Xianjun Jiao 2022-03-29 11:16:49 +02:00
  • 5c65530f0b Calculate the duration/id field in driver: Xianjun Jiao 2022-03-29 11:04:35 +02:00
  • 86032d0bc7 sifs and n_dbps optimization in openwfii_tx() Xianjun Jiao 2022-03-29 11:03:31 +02:00
  • d8b2967699 date type optimization Xianjun Jiao 2022-03-29 11:01:13 +02:00