Commit Graph

  • db25dabc2b Optimize the pkt_need_ack flag check and rate_hw_value override Xianjun Jiao 2022-03-29 10:56:47 +02:00
  • 6e0ffbea06 Add abnormal detection prio >= MAX_NUM_HW_QUEUE in openwifi_tx() Xianjun Jiao 2022-03-29 10:48:12 +02:00
  • 5e4bffc1ef Optimize some variable type Xianjun Jiao 2022-03-29 10:47:32 +02:00
  • 56d25ef86c We try to handle all tid, so qos_hdr can be optimized Xianjun Jiao 2022-03-29 10:45:49 +02:00
  • 9f3a7b7fcf Merge branch 'pre-release' of github.com:open-sdr/openwifi into pre-release aslaamshaafi 2022-03-29 10:21:17 +02:00
  • 616c431c9e replace len_mpdu+LEN_PHY_CRC with num_dma_symbol in sdr.c because axis interface in tx_intf IP use it as num_dma_symbol. aslaamshaafi 2022-03-29 10:21:04 +02:00
  • 4bdc210e86 Open the 4 queue gates all the time during xpu initialization Xianjun Jiao 2022-03-29 10:13:16 +02:00
  • b597510ce3 Relax the ACK waiting condition for non block ACK case: If the packet type/sub-type is ACK and the length field is 14, we believe it is ACK. No matter the fcs is valid or not Xianjun Jiao 2022-03-29 10:11:14 +02:00
  • 066dd1bba2 fine tuning of ack tx wait time for new design Xianjun Jiao 2022-03-29 10:06:27 +02:00
  • e3fb22a4b3 gpio gain delay and rssi: Xianjun Jiao 2022-03-29 10:05:33 +02:00
  • b96c234d09 Remove unnecessary ht aggr related flag reset: Xianjun Jiao 2022-03-29 10:04:25 +02:00
  • bc98f5bb6c Driver changes for FPGA SPI Tx LO control - Manually issue Tx Quadrature calibration if frequency change is more than 100MHz - Disable FPGA SPI module before calibration - Add xpu reg 13 to disable control manually thavinga 2022-03-29 09:56:20 +02:00
  • f6ba34deac Add/adjust missing register modification in tx_intf Xianjun Jiao 2022-03-28 20:49:37 +02:00
  • 585a56016e openofdm_rx initialization with the help of macro definition in hw_def.h: Xianjun Jiao 2022-03-28 20:48:36 +02:00
  • 12b235cd18 Remove the unnecessary variable and code from openofdm_rx interface Xianjun Jiao 2022-03-28 20:44:42 +02:00
  • 54c67c7a2f No need to consider 4 last pkt from 4 queue in master branch: Always assume Linux schedule 4 priority queue to 4 FPGA queue via 1 on 1 mapping Xianjun Jiao 2022-03-28 20:41:00 +02:00
  • 0cbb687387 Change the default bb_gain from 290 to 250 in tx_intf: Xianjun Jiao 2022-03-28 20:38:25 +02:00
  • 469b96d342 Remove/modify the tx_intf register API according to the new FPGA: 1. mixer/duc is not needed because we will not use offset tuning after the ad9361 tx lo control via FPGA is supported. 2. source selection register is not needed as well. 3. arbitrary IQ register is added. Xianjun Jiao 2022-03-28 20:35:17 +02:00
  • 4d39160b06 Add the missing TX_INTF_BW_20MHZ_AT_0MHZ_ANT_BOTH into tx_intf_mode Xianjun Jiao 2022-03-28 20:29:26 +02:00
  • a7396dd938 Some minor unused comments Xianjun Jiao 2022-03-28 20:27:36 +02:00
  • 9fde3bff20 Displaying side channel plots with interactive mode to avoid jumping to foreground on update Plus small fix for file closing thavinga 2022-03-28 16:53:07 +02:00
  • a7d34401ff Update ad9361_rf_set_channel() for easier rssi_half_db rssi_dbm rssi_correction stuffs: by using the helper functions: rssi_correction_lookup_table(), rssi_dbm_to_rssi_half_db(), rssi_half_db_to_rssi_dbm() Xianjun Jiao 2022-03-28 16:44:52 +02:00
  • dbf0324b60 Restructure a bit ad9361_rf_set_channel() for actual lo tuning and priv lo variable update Xianjun Jiao 2022-03-28 16:39:32 +02:00
  • 534627041e Remove unused code in ad9361_rf_set_channel() Xianjun Jiao 2022-03-28 16:35:25 +02:00
  • d2bd08e02e Add useful function definition at the beginning of sdr.c Xianjun Jiao 2022-03-28 16:14:33 +02:00
  • df53600a86 Remove the unused code Xianjun Jiao 2022-03-28 16:13:42 +02:00
  • 747a245fd7 Add a printing via comment in openwifi_beacon_work() in case debug Xianjun Jiao 2022-03-28 16:08:23 +02:00
  • dc35c00409 Add MAC addr setting support into driver via openwifi_add_interface() Xianjun Jiao 2022-03-28 16:07:37 +02:00
  • dbf47e17aa Add more print into openwifi_bss_info_changed() when vif_priv->enable_beacon Xianjun Jiao 2022-03-28 16:06:24 +02:00
  • 16494306ff Add more info printing into openwifi_ampdu_action Xianjun Jiao 2022-03-28 16:00:01 +02:00
  • 20936d67e1 Remove unused variable from openwifi_dev_probe() Xianjun Jiao 2022-03-28 15:27:50 +02:00
  • f73b4f429f Tell mac80211 we need extra_tx_headroom = LEN_MPDU_DELIM Xianjun Jiao 2022-03-28 15:27:07 +02:00
  • 72d992a6ec More correct hw flag set via ieee80211_hw_set to prevent: Xianjun Jiao 2022-03-28 15:26:35 +02:00
  • 921f612e86 Only support 40MHz sps and non offset tuning now Xianjun Jiao 2022-03-28 15:25:20 +02:00
  • 9f07176e80 Remove the unused code in openwifi_dev_probe() Xianjun Jiao 2022-03-28 15:24:49 +02:00
  • cb81054882 Add helper functions for rssi_half_db rssi_dbm conversion and rssi_correction lookup table: and use them for priv->rssi_correction/priv->last_auto_fpga_lbt_th initialization in openwifi_dev_probe() Xianjun Jiao 2022-03-28 15:23:53 +02:00
  • 7b2f8bdfff Align the inital actual_tx_lo/actual_rx_lo to rf_init_11n.sh: Make it far from our usual 2.4/5GHz to force ad9361 to calibration while up in 2.4/5GHz due to large tuning offset from the original frequency (1GHz) Xianjun Jiao 2022-03-28 15:20:03 +02:00
  • ffd377ca42 Adjust the err code and print in openwifi_dev_probe() Xianjun Jiao 2022-03-28 15:17:12 +02:00
  • 7b3805608b Remove the short GI capability report from driver for: stability with minor throughput loss Xianjun Jiao 2022-03-28 15:14:55 +02:00
  • 8e13e72bca Add set_antenna and get_antenna implementations to ieee80211_ops Xianjun Jiao 2022-03-28 15:12:50 +02:00
  • 76b1a6a12c Adjust the driver arguments while loading/insert: 1. test_mode 0 -- normal, no aggregation (AMPDU); test_mode 1 -- experimental, has AMPDU support 2. init_tx_att -- initial tx attenuation in dB*1000 format. example: put 20000 for 20dB Xianjun Jiao 2022-03-28 15:08:01 +02:00
  • 91a6d83146 Improve the openwifi_is_radio_enabled() according to the new design Xianjun Jiao 2022-03-28 14:58:46 +02:00
  • 68314a4614 Add the missing rf_reg_val in priv Xianjun Jiao 2022-03-28 14:57:49 +02:00
  • e21492d767 Driver register initialization optimization: keep software registers persistent between NIC down and up for multiple times Xianjun Jiao 2022-03-28 14:55:57 +02:00
  • 56203843f5 Add runtime tx/rx antenna switch support to driver Xianjun Jiao 2022-03-28 14:49:15 +02:00
  • 11d048d944 Re-structure/define drv reg idx. Add (drv) RF reg Xianjun Jiao 2022-03-28 14:18:35 +02:00
  • d3ce582a3d Add the missing sdrctl reg category Xianjun Jiao 2022-03-28 14:16:57 +02:00
  • b196f496df Add priv->actual_tx_lo preparing for further tx/rx related setting Xianjun Jiao 2022-03-28 14:14:49 +02:00
  • 2ae501ca2e Disable TID in sdr.c: Xianjun Jiao 2022-03-28 14:02:23 +02:00
  • 0b4b8cc75d Add all Europe 5GHz channel support into driver Xianjun Jiao 2022-03-28 13:58:05 +02:00
  • 6a9949ee81 Replace some constants of number of NIC by MAX_NUM_VIF Xianjun Jiao 2022-03-28 13:56:19 +02:00
  • 61a639784b Add sysfs file based driver/FPGA access interface Xianjun Jiao 2022-03-28 12:46:49 +02:00
  • 7d0af6df9e Move sdrctl testmode cmd out to sdrctl_intf.c Xianjun Jiao 2022-03-28 12:46:18 +02:00
  • 7d361288db Add testmode argument (1 for AMPDU) to fosdem.sh Xianjun Jiao 2022-03-28 12:35:17 +02:00
  • d572f3b04e Remove the short GI capability from hostapd conf: This brings us more stable (a bit less throughput in extreme case) system Xianjun Jiao 2022-03-28 12:34:06 +02:00
  • 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 Xianjun Jiao 2022-03-28 12:32:36 +02:00
  • 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 Xianjun Jiao 2022-03-28 12:28:11 +02:00
  • a5bde87733 Update rf_init.sh -- less use for now: We mainly use rf_init_11n.sh Xianjun Jiao 2022-03-28 12:25:50 +02:00
  • 0c346c2006 Script to set lbt (listen before talk) threshold Xianjun Jiao 2022-03-28 12:23:36 +02:00
  • 7efd1542d4 Userspace script for arbitrary IQ tx via tx_intf Xianjun Jiao 2022-03-28 12:22:58 +02:00
  • 10cc847f81 Script to enable/disable/show driver level tx/rx statistics Xianjun Jiao 2022-03-28 12:21:30 +02:00
  • efb7b60626 Add script to limit statistics for packets from target/peer MAC address only Xianjun Jiao 2022-03-28 12:20:28 +02:00
  • 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 Xianjun Jiao 2022-03-28 12:19:33 +02:00
  • b1a9fd07da Add scripts to ease rx gain setting Xianjun Jiao 2022-03-28 12:17:16 +02:00
  • 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 Xianjun Jiao 2022-03-28 12:16:41 +02:00
  • 0cfbe31c70 Add scripts to ease cw/max/min/difs/eifs/nav disable/enable Xianjun Jiao 2022-03-28 12:14:55 +02:00
  • 4eaae4b893 add on board helper script cd_adi_iio_dir.sh: to find out the correct adi iio sysfs directory Xianjun Jiao 2022-03-28 12:11:15 +02:00
  • dce2bea9db Make check_calib_inf.sh work for all boards Search for direct_reg_access location. thavinga 2022-03-28 12:10:55 +02:00
  • b375844f73 improve the matlab script of iq capture: Xianjun Jiao 2022-03-28 11:51:07 +02:00
  • 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 thavinga 2022-03-28 11:34:48 +02:00
  • 4a12fa0498 Improve the wgd.sh according to the new design Xianjun Jiao 2022-03-28 11:20:22 +02:00
  • 80ccea555a Add wpa_supplicant conf file for R&S CMW270 WiFi tester AP Xianjun Jiao 2022-03-28 11:18:38 +02:00
  • f4c9b0720a Improve the README Xianjun Jiao 2022-03-28 11:17:46 +02:00
  • e2f9904a29 Remove unnecessary scripts Xianjun Jiao 2022-03-28 11:08:28 +02:00
  • 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) Xianjun Jiao 2022-03-28 11:06:44 +02:00
  • ce26cc15c7 Userspace tool/example for arbitrary IQ generation via tx_intf Xianjun Jiao 2022-03-28 11:02:59 +02:00
  • 17cfeb0bf7 Add more app notes: 1. Packet/event statistics in FPGA 2. Packet/event statistics in driver 3. Some frequent/usual trick for openwifi configuration/fine-tuning/special-setting/etc Xianjun Jiao 2022-03-28 11:02:00 +02:00
  • 7e3e6749ba change xilinx dma and ad9361 drv location to avoid booting problem weiliu 2022-03-26 21:03:08 +01:00
  • 8dc97f7f08 Avoid the git_rev.h issue: Xianjun Jiao 2022-03-26 20:47:02 +01:00
  • 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 Xianjun Jiao 2022-03-26 20:34:55 +01:00
  • e9d2be2efd Update radar-self-csi.md Jiao Xianjun 2022-03-25 20:44:12 +01:00
  • e1597ba864 Update radar-self-csi.md Jiao Xianjun 2022-03-25 20:44:12 +01:00
  • 38796372a8 Update the devicetree and kernel config preparing for new release: 1. Devicetree needs to be simplified due to that we remove/disable lots of unnecessary adi FPGA blocks/functionalities 2. Add more Linux kernel modules/functionalities to easy more powerful/flexible network setup/features Xianjun Jiao 2022-03-25 15:34:48 +01:00
  • b075baec2e Merge branch 'master' into pre-release Xianjun Jiao 2022-03-25 14:29:47 +01:00
  • 97873317cc Update publications.md Jiao Xianjun 2022-03-23 20:09:12 +01:00
  • c20da22486 Add files via upload Jiao Xianjun 2022-03-22 16:36:53 +01:00
  • dbcf06d18f Update packet-iq-self-loopback-test.md Jiao Xianjun 2022-03-22 16:24:20 +01:00
  • d16022c7a2 Update README.md Jiao Xianjun 2022-03-22 15:54:02 +01:00
  • 529690b6c1 Create packet-iq-self-loopback-test.md Jiao Xianjun 2022-03-22 15:52:35 +01:00
  • 20dd837968 Update README.md Jiao Xianjun 2022-03-16 15:00:47 +01:00
  • e9a08f26b4 Add more packet type and sub-type support into inject_80211.c Xianjun Jiao 2022-03-15 13:01:26 +01:00
  • 1f288d27e9 Update README.md Jiao Xianjun 2022-03-14 18:56:20 +01:00
  • 705130a120 Update README.md Jiao Xianjun 2022-03-14 18:54:23 +01:00
  • abac655ded Update iq_2ant.md Jiao Xianjun 2022-03-08 10:17:25 +01:00
  • 57b28bf209 Update iq.md Jiao Xianjun 2022-03-08 10:17:03 +01:00
  • 981758c008 fix the link in README Xianjun Jiao 2022-02-24 11:16:31 +01:00
  • 56ab2d850e Update radar-self-csi.md Jiao Xianjun 2022-02-23 12:33:34 +01:00
  • 4369f38ae0 Update radar-self-csi.md Jiao Xianjun 2022-02-23 12:31:22 +01:00
  • a4eb20013d Add openwifi CSI radar app note Xianjun Jiao 2022-02-23 12:29:59 +01:00
  • d692cb8dcc Add fosdem2022 presentation video Jiao Xianjun 2022-02-09 15:41:44 +01:00