Xianjun Jiao
f73b4f429f
Tell mac80211 we need extra_tx_headroom = LEN_MPDU_DELIM
2022-03-28 15:27:07 +02:00
Xianjun Jiao
72d992a6ec
More correct hw flag set via ieee80211_hw_set to prevent:
...
Some client, like iPhone, always has frequent PS (Power Saving) state change like this:
sdr0: STA e2:72:49:82:a6:a0 aid 1 enters power save mode
sdr0: STA e2:72:49:82:a6:a0 aid 1 exits power save mode
sdr0: STA e2:72:49:82:a6:a0 aid 1 sending 0 filtered/0 PS frames since STA woke up
Now with these correct hw flag setting, the link is more stable
2022-03-28 15:26:35 +02:00
Xianjun Jiao
921f612e86
Only support 40MHz sps and non offset tuning now
2022-03-28 15:25:20 +02:00
Xianjun Jiao
9f07176e80
Remove the unused code in openwifi_dev_probe()
2022-03-28 15:24:49 +02:00
Xianjun Jiao
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()
2022-03-28 15:23:53 +02:00
Xianjun Jiao
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)
2022-03-28 15:20:03 +02:00
Xianjun Jiao
ffd377ca42
Adjust the err code and print in openwifi_dev_probe()
2022-03-28 15:17:12 +02:00
Xianjun Jiao
7b3805608b
Remove the short GI capability report from driver for:
...
stability with minor throughput loss
2022-03-28 15:14:55 +02:00
Xianjun Jiao
8e13e72bca
Add set_antenna and get_antenna implementations to ieee80211_ops
2022-03-28 15:12:50 +02:00
Xianjun Jiao
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
2022-03-28 15:08:01 +02:00
Xianjun Jiao
91a6d83146
Improve the openwifi_is_radio_enabled() according to the new design
2022-03-28 14:58:46 +02:00
Xianjun Jiao
68314a4614
Add the missing rf_reg_val in priv
2022-03-28 14:57:49 +02:00
Xianjun Jiao
e21492d767
Driver register initialization optimization:
...
keep software registers persistent between NIC down and up for multiple times
2022-03-28 14:55:57 +02:00
Xianjun Jiao
56203843f5
Add runtime tx/rx antenna switch support to driver
2022-03-28 14:49:15 +02:00
Xianjun Jiao
11d048d944
Re-structure/define drv reg idx. Add (drv) RF reg
2022-03-28 14:18:35 +02:00
Xianjun Jiao
d3ce582a3d
Add the missing sdrctl reg category
2022-03-28 14:16:57 +02:00
Xianjun Jiao
b196f496df
Add priv->actual_tx_lo preparing for further tx/rx related setting
2022-03-28 14:14:49 +02:00
Xianjun Jiao
2ae501ca2e
Disable TID in sdr.c:
...
By default the TID is disabled in FPGA, because we currently try to TX and RX traffic for all TIDs. So, the TID related operations in sdr.c are removed.
2022-03-28 14:02:23 +02:00
Xianjun Jiao
0b4b8cc75d
Add all Europe 5GHz channel support into driver
2022-03-28 13:58:05 +02:00
Xianjun Jiao
6a9949ee81
Replace some constants of number of NIC by MAX_NUM_VIF
2022-03-28 13:56:19 +02:00
Xianjun Jiao
61a639784b
Add sysfs file based driver/FPGA access interface
2022-03-28 12:46:49 +02:00
Xianjun Jiao
7d0af6df9e
Move sdrctl testmode cmd out to sdrctl_intf.c
2022-03-28 12:46:18 +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
f4c9b0720a
Improve the README
2022-03-28 11:17:46 +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
Xianjun Jiao
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
2022-03-28 11:02:00 +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
8dc97f7f08
Avoid the git_rev.h issue:
...
When user download the repo instead of clone it.
2022-03-26 20:47:02 +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
Jiao Xianjun
e9d2be2efd
Update radar-self-csi.md
2022-03-25 21:09:22 +01:00