160MHz on Netgear R7800

OpenWRT 18.06.02 hasn't improved the 160MHz situation.

The regulatory db has the correct info, but setting 160MHz in luci causes hostapd to not bring up the adapter. Setting to the AU country code doesn't work either.

<pre>phy#0
country US: DFS-FCC
	(2402 - 2472 @ 40), (N/A, 30), (N/A)
	(5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
	(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
	(5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
	(5735 - 5835 @ 80), (N/A, 30), (N/A)
	(57240 - 63720 @ 2160), (N/A, 40), (N/A)</pre>
<pre>Sat Mar 23 16:10:35 2019 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Sat Mar 23 16:10:42 2019 kern.warn kernel: [977907.692948] ath10k_pci 0000:01:00.0: Unknown eventid: 36933
Sat Mar 23 16:10:42 2019 kern.info kernel: [977907.696105] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sat Mar 23 16:10:42 2019 kern.info kernel: [977907.702019] br-lan: port 3(wlan0) entered blocking state
Sat Mar 23 16:10:42 2019 kern.info kernel: [977907.703667] br-lan: port 3(wlan0) entered disabled state
Sat Mar 23 16:10:42 2019 kern.info kernel: [977907.709154] device wlan0 entered promiscuous mode
Sat Mar 23 16:10:42 2019 daemon.notice hostapd: wlan0: interface state UNINITIALIZED-&gt;COUNTRY_UPDATE
Sat Mar 23 16:10:42 2019 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE-&gt;HT_SCAN
Sat Mar 23 16:10:42 2019 daemon.notice hostapd: wlan0: interface state HT_SCAN-&gt;DFS
Sat Mar 23 16:10:42 2019 daemon.notice hostapd: wlan0: DFS-CAC-START freq=5500 chan=100 sec_chan=1, width=2, seg0=114, seg1=0, cac_time=60s
Sat Mar 23 16:10:42 2019 daemon.err hostapd: DFS start_dfs_cac() failed, -1
Sat Mar 23 16:10:42 2019 daemon.err hostapd: Interface initialization failed
Sat Mar 23 16:10:42 2019 daemon.notice hostapd: wlan0: interface state DFS-&gt;DISABLED
Sat Mar 23 16:10:42 2019 daemon.notice hostapd: wlan0: AP-DISABLED
Sat Mar 23 16:10:42 2019 daemon.notice hostapd: wlan0: interface state DISABLED-&gt;DISABLED
Sat Mar 23 16:10:42 2019 daemon.notice hostapd: wlan0: AP-DISABLED
Sat Mar 23 16:10:42 2019 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Sat Mar 23 16:10:42 2019 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn&apos;t started
Sat Mar 23 16:10:42 2019 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sat Mar 23 16:10:42 2019 kern.info kernel: [977908.071830] device wlan0 left promiscuous mode
Sat Mar 23 16:10:42 2019 kern.info kernel: [977908.071925] br-lan: port 3(wlan0) entered disabled state
Sat Mar 23 16:10:42 2019 kern.warn kernel: [977908.112339] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 1
Sat Mar 23 16:10:42 2019 daemon.notice hostapd: ELOOP: remaining socket: sock=22 eloop_data=0xb6f73aa0 user_data=0 handler=0x42314
Sat Mar 23 16:10:42 2019 daemon.notice netifd: radio0 (15765): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 1400 path ()</pre>

18.06.2 with VHT160 on qca9984 works and speed is very good (about 100 MB/s, not stable - sometimes drivers crashes), but on current master branch with new ath10k-ct drivers (2018-10-10-d366b80d-1) VHT160 did not works at all.
On 18.06.2 iw list shows:
valid interface combinations:
* #{ managed } <= 16, #{ AP, mesh point } <= 16, #{ IBSS } <= 1,
total <= 16, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz, 80+80 MHz, 160 MHz }

On current master branch:
valid interface combinations:
* #{ managed } <= 16, #{ AP, mesh point } <= 16, #{ IBSS } <= 1,
total <= 16, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz }

And i don't know how to fix this.

If you can actually use 160 MHz channels, you can uninstall the -CT drivers and firmware and install the “classic” (no -ct suffix) drivers and firmware as packages (or in your own build).

Even on classic drivers there is no success:
valid interface combinations:
* #{ managed } <= 1, #{ AP, mesh point } <= 16,
total <= 16, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz }

i have tried ath10k-ct driver and classic firmware, VHT160 has start showing in valid combination, but not works.

In all cases iw list shows:
VHT Capabilities (0x339b79fa):
Max MPDU length: 11454
Supported Channel Width: 160 MHz, 80+80 MHz
RX LDPC
short GI (80 MHz)
short GI (160/80+80 MHz)
but not works.

Describe "not works."

  • Are you using a clear channel (including ALL adjacent 40 MHz channels included)?
  • Are you actually testing when you have that much traffic passing on your WiFi?

"Not works" is simple, i have two flash disk:

  1. on stable branch 18.06.2 with kmod-ath10k-ct and ath10k-firmware-qca9984-ct-htt
  2. on current master branch OpenWrt SNAPSHOT r9855-8f17c019a1 / LuCI Master (f138fc93) with kmod-ath10k-ct (have tried kmod-ath10k) and ath10k-firmware-qca9984-ct-htt (have tried classic/ct/ct-htt).
    1 - works VHT160 (successfully set and show 1733 mbit speed in WLAN card) ;
    2 - not works (entering disable state and hangs, wireless did not up).

How did you get VHT160 to work on 18.06.2? I've tried numerous combinations, but hostapd refuses to start up. Please describe your settings. Your channel, regulatory domain, etc.

You need to setup
Country Code: HT
Channel: 36
and wait about 1 min, than AP appears.

That did not work for me.

Sun Apr 21 11:04:30 2019 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Sun Apr 21 11:04:30 2019 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->HT_SCAN
Sun Apr 21 11:04:30 2019 daemon.notice hostapd: wlan0: interface state HT_SCAN->DFS
Sun Apr 21 11:04:30 2019 daemon.notice hostapd: wlan0: DFS-CAC-START freq=5180 chan=36 sec_chan=1, width=2, seg0=50, seg1=0, cac_time=60s
Sun Apr 21 11:04:30 2019 daemon.err hostapd: DFS start_dfs_cac() failed, -1
Sun Apr 21 11:04:30 2019 daemon.err hostapd: Interface initialization failed
Sun Apr 21 11:04:30 2019 daemon.notice hostapd: wlan0: interface state DFS->DISABLED
Sun Apr 21 11:04:30 2019 daemon.notice hostapd: wlan0: AP-DISABLED

DFS seems to indicate you can’t use those channels. The is nothing you can legally do to override that. 160 MHz channels are seldom usable because they are already occupied by other services that have higher priority.

1 Like

I did't see that you set up right country code: HT...

And you need kmod-ath10k-ct (non classic) kernel module driver (you may use it with classic/ct/ct-htt firmware). In kmod-ath you must set:
%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5

P.S.
But all that did not work at all in current master branch, vht160 AP did not appear...

OK, the driver you use was a very important detail that you left out of your original posts.

I was using country code of HT. Verified it with 'iw reg get' as well. I am using the upstream kernel driver ath10k, which is also the 18.06.2 default driver. Using a forked driver does not interest me.

I am in the USA and not near any military or weather radar. It appears those in the USA are unable to use 160mhz bonding. All of these new 160mhz cards and APs are useless.

within how many meters from an AP do you get this rate?

About 2 meters behind the concrete wall.

Concrete wall or a brick wall in a concrete building?

10 cm reinforced concrete wall :slight_smile:
VHT160 (as on VHT80) is very unstable for high speed file transfer, but i have seen about 130 MB/s on VHT160 1733 mbit, but behind the 2 walls speed is drops to 866 mbit (50-80 MB/s).

Wires still rules.

2 Likes

I see you mentioned 9994, what hardware are you using? (base system + wlan card) ?

Unstable as in crashes or fluctuations?

I have use QCA9994 on J3060 (X86) board, works very good on CT driver and classic firmware, but VHT160 on current branch master OpenWrt is broken (on 18.06.2 stable works).

So I assume Compex WLE1216V5-20-I ?

Its working stable now (even at high speed transfer)?

Are you the author of the youtube vid with the pcie extension etc? I'm contemplating a build using this pcie card and the purpose is primarily high speed wifi (80MB+), would appreciate your thoughts since it seems you've been using this system for a few months.

Did you try the card on bare metal (I see you using VMs) and allocate more than 128MB ram?

I have try it in Windows Server 2016/2019 Hyper-V under OpenWrt (it works), but server is in very long distance from wireless clients, and now i make another miniPC (Q3060G2-P board) with emergency 4G connection and 2.4/5 GHz WiFi in center of my apartments...
Compex WLE1216V5-20-I with the latest 18.06.2 works very stable and with 60-100 MB/s on Broadcom BCM4360 WiFi adapter, but it's VERY HOT, with max rate (~100 MB/s) in 30 minutes on open air temps in chip hits 130'C. It needs AIR cooling.