Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QCA9984: low performance on clients connected with 802.11w enabled #32

Closed
huaracheguarache opened this issue Aug 28, 2018 · 6 comments
Closed

Comments

@huaracheguarache
Copy link

Now that #31 has been fixed I decided to try out the new driver. I experience low throughput on 802.11w clients, with speeds over 10 times lower when compared to stock ath10k. I was told to try out a beta firmware, but it didn't solve the problem.

Router hardware
Model: NETGEAR R7800
Wireless chip: [ 13.646667] ath10k_pci 0000:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe

Router software
OS: OpenWrt SNAPSHOT r7964-23366b6dc6
Kernel: 4.14.66

Client hardware
Model: Dell Vostro 3300
Wireless chip: Intel 7620AC

Client software
OS: Fedora 28
Kernel: Linux linko 4.17.17-200.fc28.x86_64 ##1 SMP Mon Aug 20 15:56:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Logs

/etc/config/wireless:

root@telia:~# cat /etc/config/wireless 

config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11a'
	option path 'soc/1b500000.pci/pci0000:00/0000:00:00.0/0000:01:00.0'
	option htmode 'VHT80'
	option country 'NO'
	option legacy_rates '0'
	option channel '112'
	option txpower '26'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'openwrt'
	option encryption 'psk2+ccmp'
	option key 'psk'
	option ieee80211w '1'

config wifi-device 'radio1'
	option type 'mac80211'
	option channel '11'
	option hwmode '11g'
	option path 'soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0'
	option htmode 'HT20'
	option txpower '19'
	option country 'NO'
	option legacy_rates '0'

config wifi-iface 'default_radio1'
	option device 'radio1'
	option network 'lan'
	option mode 'ap'
	option ssid 'openwrt'
	option encryption 'psk2+ccmp'
	option key 'psk'
	option ieee80211w '1'

/var/run/hostapd-phy0.conf:

root@telia:~# cat /var/run/hostapd-phy0.conf 
driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
country_code=NO
ieee80211d=1
ieee80211h=1
hw_mode=a
beacon_int=100
channel=112


ieee80211n=1
ht_coex=0
ht_capab=[HT40-][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][MAX-AMSDU-7935][DSSS_CCK-40]
vht_oper_chwidth=1
vht_oper_centr_freq_seg0_idx=106
ieee80211ac=1
vht_capab=[RXLDPC][SHORT-GI-80][SHORT-GI-160][TX-STBC-2BY1][SU-BEAMFORMER][SU-BEAMFORMEE][MU-BEAMFORMER][MU-BEAMFORMEE][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][VHT160-80PLUS80][MAX-MPDU-11454][MAX-A-MPDU-LEN-EXP7]

interface=wlan0
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
wpa_passphrase=psk
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=openwrt
bridge=br-lan
wpa_disable_eapol_key_retries=0
wpa_key_mgmt=WPA-PSK WPA-PSK-SHA256
okc=0
disable_pmksa_caching=1
ieee80211w=1
group_mgmt_cipher=AES-128-CMAC
bssid=a0:40:a0:7c:cb:b9

ipef3 on stock ath10k:

[michael@linko ~]$ iperf3 -c bouygues.iperf.fr -R -p 5207
Connecting to host bouygues.iperf.fr, port 5207
Reverse mode, remote host bouygues.iperf.fr is sending
[  5] local 192.168.1.204 port 36304 connected to 89.84.1.222 port 5207
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  31.1 MBytes   261 Mbits/sec                  
[  5]   1.00-2.00   sec  35.0 MBytes   294 Mbits/sec                  
[  5]   2.00-3.00   sec  36.1 MBytes   303 Mbits/sec                  
[  5]   3.00-4.00   sec  37.6 MBytes   315 Mbits/sec                  
[  5]   4.00-5.00   sec  37.5 MBytes   315 Mbits/sec                  
[  5]   5.00-6.00   sec  37.5 MBytes   315 Mbits/sec                  
[  5]   6.00-7.00   sec  37.6 MBytes   315 Mbits/sec                  
[  5]   7.00-8.00   sec  37.6 MBytes   316 Mbits/sec                  
[  5]   8.00-9.00   sec  33.0 MBytes   277 Mbits/sec                  
[  5]   9.00-10.00  sec  34.9 MBytes   293 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   361 MBytes   303 Mbits/sec  1067             sender
[  5]   0.00-10.00  sec   358 MBytes   300 Mbits/sec                  receiver

iperf Done.

[michael@linko ~]$ iperf3 -c bouygues.iperf.fr -p 5207
Connecting to host bouygues.iperf.fr, port 5207
[  5] local 192.168.1.204 port 36308 connected to 89.84.1.222 port 5207
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  27.3 MBytes   229 Mbits/sec    0   1.99 MBytes       
[  5]   1.00-2.00   sec  41.2 MBytes   346 Mbits/sec    0   3.08 MBytes       
[  5]   2.00-3.00   sec  38.8 MBytes   325 Mbits/sec    0   3.08 MBytes       
[  5]   3.00-4.00   sec  40.0 MBytes   336 Mbits/sec    0   3.08 MBytes       
[  5]   4.00-5.00   sec  37.5 MBytes   315 Mbits/sec    0   3.08 MBytes       
[  5]   5.00-6.00   sec  43.8 MBytes   367 Mbits/sec    0   3.08 MBytes       
[  5]   6.00-7.00   sec  37.5 MBytes   315 Mbits/sec    0   3.08 MBytes       
[  5]   7.00-8.00   sec  41.2 MBytes   346 Mbits/sec    0   3.08 MBytes       
[  5]   8.00-9.00   sec  40.0 MBytes   336 Mbits/sec    0   3.08 MBytes       
[  5]   9.00-10.00  sec  37.5 MBytes   315 Mbits/sec    0   3.08 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   385 MBytes   323 Mbits/sec    0             sender
[  5]   0.00-10.00  sec   384 MBytes   322 Mbits/sec                  receiver

iperf Done.

ipef3 on ath10k-ct with latest firmware in openwrt master tree:

[michael@linko ~]$ iperf3 -c bouygues.iperf.fr -R -p 5207
Connecting to host bouygues.iperf.fr, port 5207
Reverse mode, remote host bouygues.iperf.fr is sending
[  5] local 192.168.1.204 port 36368 connected to 89.84.1.222 port 5207
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  2.89 MBytes  24.3 Mbits/sec                  
[  5]   1.00-2.00   sec  3.20 MBytes  26.9 Mbits/sec                  
[  5]   2.00-3.00   sec  3.17 MBytes  26.6 Mbits/sec                  
[  5]   3.00-4.00   sec  3.12 MBytes  26.2 Mbits/sec                  
[  5]   4.00-5.00   sec  3.13 MBytes  26.3 Mbits/sec                  
[  5]   5.00-6.00   sec   796 KBytes  6.52 Mbits/sec                  
[  5]   6.00-7.00   sec  3.01 MBytes  25.3 Mbits/sec                  
[  5]   7.00-8.00   sec  3.12 MBytes  26.2 Mbits/sec                  
[  5]   8.00-9.00   sec  3.09 MBytes  26.0 Mbits/sec                  
[  5]   9.00-10.00  sec  3.11 MBytes  26.1 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  31.0 MBytes  26.0 Mbits/sec    1             sender
[  5]   0.00-10.00  sec  28.6 MBytes  24.0 Mbits/sec                  receiver

iperf Done.

[michael@linko ~]$ iperf3 -c bouygues.iperf.fr -p 5207
Connecting to host bouygues.iperf.fr, port 5207
[  5] local 192.168.1.204 port 36372 connected to 89.84.1.222 port 5207
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   129 KBytes  1.05 Mbits/sec    1   1.41 KBytes       
[  5]   1.00-2.00   sec  2.21 MBytes  18.5 Mbits/sec    2   84.8 KBytes       
[  5]   2.00-3.00   sec  2.73 MBytes  22.9 Mbits/sec    0    105 KBytes       
[  5]   3.00-4.00   sec  2.73 MBytes  22.9 Mbits/sec    6   60.8 KBytes       
[  5]   4.00-5.00   sec  1.74 MBytes  14.6 Mbits/sec    0   82.0 KBytes       
[  5]   5.00-6.00   sec  2.49 MBytes  20.9 Mbits/sec    0    102 KBytes       
[  5]   6.00-7.00   sec  2.30 MBytes  19.3 Mbits/sec    3   63.6 KBytes       
[  5]   7.00-8.00   sec  1.99 MBytes  16.7 Mbits/sec    0   84.8 KBytes       
[  5]   8.00-9.00   sec  2.55 MBytes  21.4 Mbits/sec    3   76.4 KBytes       
[  5]   9.00-10.00  sec  2.24 MBytes  18.8 Mbits/sec    0   94.7 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  21.1 MBytes  17.7 Mbits/sec   15             sender
[  5]   0.00-10.00  sec  20.7 MBytes  17.3 Mbits/sec                  receiver

iperf Done.

iperf3 on ath10k-ct and beta firmware (firmware-5-ct-full-htt-mgt-community.bin):

[michael@linko ~]$ iperf3 -c bouygues.iperf.fr -R -p 5207
Connecting to host bouygues.iperf.fr, port 5207
Reverse mode, remote host bouygues.iperf.fr is sending
[  5] local 192.168.1.204 port 36414 connected to 89.84.1.222 port 5207
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  2.75 MBytes  23.1 Mbits/sec                  
[  5]   1.00-2.00   sec  3.08 MBytes  25.9 Mbits/sec                  
[  5]   2.00-3.00   sec  3.09 MBytes  25.9 Mbits/sec                  
[  5]   3.00-4.00   sec  3.10 MBytes  26.0 Mbits/sec                  
[  5]   4.00-5.00   sec  3.10 MBytes  26.0 Mbits/sec                  
[  5]   5.00-6.00   sec  3.09 MBytes  25.9 Mbits/sec                  
[  5]   6.00-7.00   sec  3.09 MBytes  25.9 Mbits/sec                  
[  5]   7.00-8.00   sec  3.08 MBytes  25.9 Mbits/sec                  
[  5]   8.00-9.00   sec  3.10 MBytes  26.0 Mbits/sec                  
[  5]   9.00-10.00  sec  3.08 MBytes  25.9 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  33.3 MBytes  27.9 Mbits/sec    0             sender
[  5]   0.00-10.00  sec  30.6 MBytes  25.6 Mbits/sec                  receiver

iperf Done.

[michael@linko ~]$ iperf3 -c bouygues.iperf.fr -p 5207
Connecting to host bouygues.iperf.fr, port 5207
[  5] local 192.168.1.204 port 36418 connected to 89.84.1.222 port 5207
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  79.2 KBytes   648 Kbits/sec    1   1.41 KBytes       
[  5]   1.00-2.00   sec  1.48 MBytes  12.4 Mbits/sec    3   60.8 KBytes       
[  5]   2.00-3.00   sec  2.05 MBytes  17.2 Mbits/sec    0   83.4 KBytes       
[  5]   3.00-4.00   sec  2.30 MBytes  19.3 Mbits/sec    1   74.9 KBytes       
[  5]   4.00-5.00   sec  2.42 MBytes  20.3 Mbits/sec    0   96.2 KBytes       
[  5]   5.00-6.00   sec  2.92 MBytes  24.5 Mbits/sec    0    117 KBytes       
[  5]   6.00-7.00   sec  2.55 MBytes  21.4 Mbits/sec    4   70.7 KBytes       
[  5]   7.00-8.00   sec  2.24 MBytes  18.8 Mbits/sec    0   91.9 KBytes       
[  5]   8.00-9.00   sec  2.49 MBytes  20.9 Mbits/sec    2   80.6 KBytes       
[  5]   9.00-10.00  sec  2.24 MBytes  18.8 Mbits/sec    1   73.5 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  20.8 MBytes  17.4 Mbits/sec   12             sender
[  5]   0.00-10.00  sec  20.2 MBytes  17.0 Mbits/sec                  receiver

iperf Done.
@greearb
Copy link
Owner

greearb commented Aug 30, 2018

Did you try the 'b' firmware? I built a large series of images, the first of which is very similar to stock recent upstream QCA firmware. Can you see if first works and later fails, and if so bisect?

http://www.candelatech.com/downloads/ath10k-9984-10-4b/ath10k-fw-beta/all_builds-9984b-full-community-5-862.tar.gz

@huaracheguarache
Copy link
Author

Unfortunately I'm still having issues, even with the beta firmware.

firmware-5-full-community-commit-006-16325d0.bin

System log (to confirm firmware version):

[ 15.046149] ath10k_pci 0000:01:00.0: firmware ver 10.4b-ct-9984-fW-000-16325d0 api 5 features peer-flow-ctrl,wmi-10.x-CT crc32 92e56899

Download:

[michael@linko openwrt]$ iperf3 -c bouygues.iperf.fr -R -p 5207
Connecting to host bouygues.iperf.fr, port 5207
Reverse mode, remote host bouygues.iperf.fr is sending
[  5] local 192.168.1.204 port 56438 connected to 89.84.1.222 port 5207
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  2.10 MBytes  17.7 Mbits/sec                  
[  5]   1.00-2.00   sec  2.80 MBytes  23.5 Mbits/sec                  
[  5]   2.00-3.00   sec  2.87 MBytes  24.1 Mbits/sec                  
[  5]   3.00-4.00   sec  2.85 MBytes  23.9 Mbits/sec                  
[  5]   4.00-5.00   sec  2.73 MBytes  22.9 Mbits/sec                  
[  5]   5.00-6.00   sec  2.81 MBytes  23.6 Mbits/sec                  
[  5]   6.00-7.00   sec  2.77 MBytes  23.3 Mbits/sec                  
[  5]   7.00-8.00   sec  2.75 MBytes  23.1 Mbits/sec                  
[  5]   8.00-9.00   sec  2.82 MBytes  23.6 Mbits/sec                  
[  5]   9.00-10.00  sec  2.66 MBytes  22.3 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  30.0 MBytes  25.2 Mbits/sec    0             sender
[  5]   0.00-10.00  sec  27.2 MBytes  22.8 Mbits/sec                  receiver

iperf Done.

Upload (worth noting is that speeds are better than before):

[michael@linko ~]$ iperf3 -c bouygues.iperf.fr -p 5207
Connecting to host bouygues.iperf.fr, port 5207
[  5] local 192.168.1.204 port 56468 connected to 89.84.1.222 port 5207
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  6.25 MBytes  52.4 Mbits/sec    0    365 KBytes       
[  5]   1.00-2.00   sec  8.33 MBytes  69.9 Mbits/sec    0    717 KBytes       
[  5]   2.00-3.00   sec  6.25 MBytes  52.4 Mbits/sec    0   1.02 MBytes       
[  5]   3.00-4.00   sec  6.25 MBytes  52.4 Mbits/sec    0   1.34 MBytes       
[  5]   4.00-5.00   sec  7.50 MBytes  62.9 Mbits/sec    0   1.71 MBytes       
[  5]   5.00-6.00   sec  6.25 MBytes  52.4 Mbits/sec    0   2.06 MBytes       
[  5]   6.00-7.00   sec  7.50 MBytes  62.9 Mbits/sec    0   2.39 MBytes       
[  5]   7.00-8.00   sec  7.50 MBytes  62.9 Mbits/sec    0   2.75 MBytes       
[  5]   8.00-9.00   sec  7.50 MBytes  62.9 Mbits/sec    0   3.08 MBytes       
[  5]   9.00-10.00  sec  7.50 MBytes  62.9 Mbits/sec    0   3.08 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  70.8 MBytes  59.4 Mbits/sec    0             sender
[  5]   0.00-10.00  sec  70.7 MBytes  59.3 Mbits/sec                  receiver

iperf Done.

firmware-5-full-community-commit-862-f9581cd.bin

System log:

[ 15.385436] ath10k_pci 0000:01:00.0: firmware ver 10.4b-ct-9984-fW-011-f9581cd api 5 features peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,cust-stats-CT crc32 99c4ca32

Download:

[michael@linko dl]$ iperf3 -c bouygues.iperf.fr -R -p 5207
Connecting to host bouygues.iperf.fr, port 5207
Reverse mode, remote host bouygues.iperf.fr is sending
[  5] local 192.168.1.204 port 56766 connected to 89.84.1.222 port 5207
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  2.39 MBytes  20.1 Mbits/sec                  
[  5]   1.00-2.00   sec  2.98 MBytes  25.0 Mbits/sec                  
[  5]   2.00-3.00   sec  3.04 MBytes  25.5 Mbits/sec                  
[  5]   3.00-4.00   sec  3.11 MBytes  26.1 Mbits/sec                  
[  5]   4.00-5.00   sec  3.07 MBytes  25.8 Mbits/sec                  
[  5]   5.00-6.00   sec  3.12 MBytes  26.2 Mbits/sec                  
[  5]   6.00-7.00   sec  3.13 MBytes  26.3 Mbits/sec                  
[  5]   7.00-8.00   sec  3.13 MBytes  26.3 Mbits/sec                  
[  5]   8.00-9.00   sec  3.14 MBytes  26.3 Mbits/sec                  
[  5]   9.00-10.00  sec  3.13 MBytes  26.2 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  33.5 MBytes  28.1 Mbits/sec    0             sender
[  5]   0.00-10.00  sec  30.2 MBytes  25.4 Mbits/sec                  receiver

iperf Done.

Upload (speeds are better still):

[michael@linko dl]$ iperf3 -c bouygues.iperf.fr -p 5207
Connecting to host bouygues.iperf.fr, port 5207
[  5] local 192.168.1.204 port 56770 connected to 89.84.1.222 port 5207
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  4.96 MBytes  41.6 Mbits/sec    0    260 KBytes       
[  5]   1.00-2.00   sec  9.76 MBytes  81.9 Mbits/sec    0    682 KBytes       
[  5]   2.00-3.00   sec  8.75 MBytes  73.4 Mbits/sec    0   1.11 MBytes       
[  5]   3.00-4.00   sec  8.75 MBytes  73.4 Mbits/sec    0   1.53 MBytes       
[  5]   4.00-5.00   sec  10.0 MBytes  83.9 Mbits/sec    0   2.01 MBytes       
[  5]   5.00-6.00   sec  10.0 MBytes  83.9 Mbits/sec    0   2.52 MBytes       
[  5]   6.00-7.00   sec  10.0 MBytes  83.9 Mbits/sec    0   3.01 MBytes       
[  5]   7.00-8.00   sec  12.5 MBytes   105 Mbits/sec    0   3.01 MBytes       
[  5]   8.00-9.00   sec  11.2 MBytes  94.4 Mbits/sec    0   3.01 MBytes       
[  5]   9.00-10.00  sec  10.0 MBytes  83.9 Mbits/sec    0   3.01 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  96.0 MBytes  80.5 Mbits/sec    0             sender
[  5]   0.00-10.00  sec  96.0 MBytes  80.5 Mbits/sec                  receiver

iperf Done.

@huaracheguarache
Copy link
Author

I tried the firmware you suggested on IRC, and it seems to have solved the issues:

https://www.candelatech.com/downloads/firmware-5-full-community.bin-9984b-006-mfp

System log:

[ 15.511177] ath10k_pci 0000:01:00.0: firmware ver 10.4-ct-9984-fW-000-16325d0 api 5 features mfp,peer-flow-ctrl,wmi-10.x-CT crc32 237b8fb6

Download:

[michael@linko openwrt]$ iperf3 -c bouygues.iperf.fr -R -p 5207
Connecting to host bouygues.iperf.fr, port 5207
Reverse mode, remote host bouygues.iperf.fr is sending
[  5] local 192.168.1.204 port 37256 connected to 89.84.1.222 port 5207
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  30.1 MBytes   253 Mbits/sec                  
[  5]   1.00-2.00   sec  38.2 MBytes   321 Mbits/sec                  
[  5]   2.00-3.00   sec  35.6 MBytes   298 Mbits/sec                  
[  5]   3.00-4.00   sec  34.7 MBytes   291 Mbits/sec                  
[  5]   4.00-5.00   sec  34.8 MBytes   292 Mbits/sec                  
[  5]   5.00-6.00   sec  32.0 MBytes   268 Mbits/sec                  
[  5]   6.00-7.00   sec  33.2 MBytes   279 Mbits/sec                  
[  5]   7.00-8.00   sec  33.2 MBytes   278 Mbits/sec                  
[  5]   8.00-9.00   sec  33.6 MBytes   282 Mbits/sec                  
[  5]   9.00-10.00  sec  30.9 MBytes   259 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   339 MBytes   285 Mbits/sec  1113             sender
[  5]   0.00-10.00  sec   336 MBytes   282 Mbits/sec                  receiver

iperf Done.

Upload:

[michael@linko openwrt]$ iperf3 -c bouygues.iperf.fr -p 5207
Connecting to host bouygues.iperf.fr, port 5207
[  5] local 192.168.1.204 port 37260 connected to 89.84.1.222 port 5207
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  31.0 MBytes   260 Mbits/sec    0   2.76 MBytes       
[  5]   1.00-2.00   sec  36.2 MBytes   304 Mbits/sec    0   2.91 MBytes       
[  5]   2.00-3.00   sec  37.5 MBytes   315 Mbits/sec    0   3.13 MBytes       
[  5]   3.00-4.00   sec  35.0 MBytes   294 Mbits/sec    0   3.13 MBytes       
[  5]   4.00-5.00   sec  35.0 MBytes   294 Mbits/sec    0   3.13 MBytes       
[  5]   5.00-6.00   sec  36.2 MBytes   304 Mbits/sec    0   3.13 MBytes       
[  5]   6.00-7.00   sec  35.0 MBytes   294 Mbits/sec    0   3.13 MBytes       
[  5]   7.00-8.00   sec  37.5 MBytes   315 Mbits/sec    0   3.13 MBytes       
[  5]   8.00-9.00   sec  36.2 MBytes   304 Mbits/sec    0   3.13 MBytes       
[  5]   9.00-10.00  sec  36.2 MBytes   304 Mbits/sec    0   3.13 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   356 MBytes   299 Mbits/sec    0             sender
[  5]   0.00-10.00  sec   355 MBytes   297 Mbits/sec                  receiver

iperf Done.

@huaracheguarache
Copy link
Author

I can confirm that the firmware with the rest of the patches applied works.

https://www.candelatech.com/downloads/firmware-5-full-htt-mgt-community.bin-9984b-master-mfp

System log:

[ 14.465606] ath10k_pci 0000:01:00.0: firmware ver 10.4b-ct-9984-fH-011-da5cf99 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,htt-mgt-CT,set-special-CT,cust-stats-CT crc32 3983b437

Download:

[michael@linko openwrt]$ iperf3 -c bouygues.iperf.fr -R -p 5207
Connecting to host bouygues.iperf.fr, port 5207
Reverse mode, remote host bouygues.iperf.fr is sending
[  5] local 192.168.1.204 port 43176 connected to 89.84.1.222 port 5207
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  12.2 MBytes   103 Mbits/sec                  
[  5]   1.00-2.00   sec  33.9 MBytes   284 Mbits/sec                  
[  5]   2.00-3.00   sec  37.4 MBytes   314 Mbits/sec                  
[  5]   3.00-4.00   sec  43.4 MBytes   364 Mbits/sec                  
[  5]   4.00-5.00   sec  39.3 MBytes   330 Mbits/sec                  
[  5]   5.00-6.00   sec  38.3 MBytes   321 Mbits/sec                  
[  5]   6.00-7.00   sec  36.3 MBytes   304 Mbits/sec                  
[  5]   7.00-8.00   sec  34.4 MBytes   288 Mbits/sec                  
[  5]   8.00-9.00   sec  34.3 MBytes   288 Mbits/sec                  
[  5]   9.00-10.00  sec  31.7 MBytes   266 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   344 MBytes   289 Mbits/sec  415             sender
[  5]   0.00-10.00  sec   341 MBytes   286 Mbits/sec                  receiver

iperf Done.

Upload:

[michael@linko openwrt]$ iperf3 -c bouygues.iperf.fr -p 5207
Connecting to host bouygues.iperf.fr, port 5207
[  5] local 192.168.1.204 port 43180 connected to 89.84.1.222 port 5207
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  32.2 MBytes   270 Mbits/sec    0   3.10 MBytes       
[  5]   1.00-2.00   sec  41.2 MBytes   346 Mbits/sec    0   3.10 MBytes       
[  5]   2.00-3.00   sec  40.0 MBytes   336 Mbits/sec    0   3.10 MBytes       
[  5]   3.00-4.00   sec  38.8 MBytes   325 Mbits/sec    0   3.10 MBytes       
[  5]   4.00-5.00   sec  38.8 MBytes   325 Mbits/sec    0   3.10 MBytes       
[  5]   5.00-6.00   sec  41.2 MBytes   346 Mbits/sec    0   3.10 MBytes       
[  5]   6.00-7.00   sec  38.8 MBytes   325 Mbits/sec    0   3.10 MBytes       
[  5]   7.00-8.00   sec  36.2 MBytes   304 Mbits/sec    1   2.17 MBytes       
[  5]   8.00-9.00   sec  36.2 MBytes   304 Mbits/sec    0   2.38 MBytes       
[  5]   9.00-10.00  sec  42.5 MBytes   357 Mbits/sec    0   2.57 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   386 MBytes   324 Mbits/sec    1             sender
[  5]   0.00-10.00  sec   384 MBytes   322 Mbits/sec                  receiver

iperf Done.

@huaracheguarache
Copy link
Author

As requested I tested the stable firmware as well, and it works fine.

https://www.candelatech.com/downloads/firmware-5-full-htt-mgt-community.bin-9984-master-mfp

System log:

[ 13.665899] ath10k_pci 0000:01:00.0: firmware ver 10.4-ct-9984-fH-011-b2dfa1a api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,htt-mgt-CT,set-special-CT,cust-stats-CT crc32 7f043899

Download:

[michael@linko openwrt]$ iperf3 -c bouygues.iperf.fr -R -p 5207
Connecting to host bouygues.iperf.fr, port 5207
Reverse mode, remote host bouygues.iperf.fr is sending
[  5] local 192.168.1.204 port 44602 connected to 89.84.1.222 port 5207
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  30.6 MBytes   257 Mbits/sec                  
[  5]   1.00-2.00   sec  38.0 MBytes   319 Mbits/sec                  
[  5]   2.00-3.00   sec  37.9 MBytes   318 Mbits/sec                  
[  5]   3.00-4.00   sec  34.8 MBytes   292 Mbits/sec                  
[  5]   4.00-5.00   sec  34.9 MBytes   293 Mbits/sec                  
[  5]   5.00-6.00   sec  37.5 MBytes   315 Mbits/sec                  
[  5]   6.00-7.00   sec  37.7 MBytes   316 Mbits/sec                  
[  5]   7.00-8.00   sec  36.2 MBytes   304 Mbits/sec                  
[  5]   8.00-9.00   sec  32.8 MBytes   275 Mbits/sec                  
[  5]   9.00-10.00  sec  32.9 MBytes   276 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   357 MBytes   299 Mbits/sec  589             sender
[  5]   0.00-10.00  sec   353 MBytes   296 Mbits/sec                  receiver

iperf Done.

Upload:

[michael@linko openwrt]$ iperf3 -c bouygues.iperf.fr -p 5207
Connecting to host bouygues.iperf.fr, port 5207
[  5] local 192.168.1.204 port 44606 connected to 89.84.1.222 port 5207
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  31.1 MBytes   261 Mbits/sec    0   2.75 MBytes       
[  5]   1.00-2.00   sec  41.2 MBytes   346 Mbits/sec    0   3.04 MBytes       
[  5]   2.00-3.00   sec  40.0 MBytes   336 Mbits/sec    0   3.04 MBytes       
[  5]   3.00-4.00   sec  41.2 MBytes   346 Mbits/sec    0   3.04 MBytes       
[  5]   4.00-5.00   sec  38.8 MBytes   325 Mbits/sec    0   3.04 MBytes       
[  5]   5.00-6.00   sec  41.2 MBytes   346 Mbits/sec    0   3.04 MBytes       
[  5]   6.00-7.00   sec  35.0 MBytes   294 Mbits/sec    0   3.04 MBytes       
[  5]   7.00-8.00   sec  42.5 MBytes   357 Mbits/sec    0   3.04 MBytes       
[  5]   8.00-9.00   sec  40.0 MBytes   336 Mbits/sec    0   3.04 MBytes       
[  5]   9.00-10.00  sec  40.0 MBytes   336 Mbits/sec    0   3.04 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   391 MBytes   328 Mbits/sec    0             sender
[  5]   0.00-10.00  sec   389 MBytes   327 Mbits/sec                  receiver

iperf Done.

@greearb
Copy link
Owner

greearb commented Sep 7, 2018

Fixed by enabling the pmf feature flag in firmware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants