Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2025 12:16:13 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        "Bjoern A. Zeeb" <bz@FreeBSD.org>
Cc:        Adrian Chadd <adrian@freebsd.org>, FreeBSD wireless mailing list <wireless@freebsd.org>
Subject:   Re: rtwn/rtl8821au: strange issue with 5GHz channels
Message-ID:  <1fcadaba-361b-45f1-bd8f-e1dae8d2bcb1@FreeBSD.org>
In-Reply-To: <ec598f51-6c0d-41e6-af86-bfbc950dc5a8@FreeBSD.org>
References:  <4cb1c608-d534-4bfb-8cc9-92251000e0fd@FreeBSD.org> <CAJ-VmonQ7x%2BX=g5Gd4ZsJ1Ku3uTNKBEH34D=n8Xnw1nkAKudrw@mail.gmail.com> <9243aad2-20d1-4c17-8f9a-f5b682eb1f85@freebsd.org> <b7453c2b-13dc-4864-a899-2cfaf36bc5b1@FreeBSD.org> <p84s6005-no21-r42o-3n09-qr49s0n746s9@SerrOFQ.bet> <ec598f51-6c0d-41e6-af86-bfbc950dc5a8@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

On 20/08/2025 11:43, Andriy Gapon wrote:
> I did a short experiment and set regdomain ETSI country DE.
> Strange thing is that "list scan" did not show any 5GHz channels (from my and 
> neighboring APs) at all.
> "list chan" did list them correctly.

After writing this I did another experiment and finally got some success.
Previously I noticed that the channels I tried to use had some restrictions 
(passive and/or DFS), so I decided to try ETSI and channel 36 (no restrictions).

That worked!
In ac / VHT80 mode.

$ ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         options=200001<RXCSUM,RXCSUM_IPV6>
         ether 08:be:ac:3e:a9:ee
         groups: wlan
         ssid HolyLan channel 36 (5180 MHz 11a vht/80+) bssid 7a:d2:94:80:1f:ec
         regdomain ETSI country DE indoor authmode WPA2/802.11i privacy ON
         deftxkey UNDEF AES-CCM 2:128-bit txpower 23 bmiss 7 mcastrate 6
         mgmtrate 6 scanvalid 60 ampdulimit 64k shortgi -stbc ldpctx -ldpcrx
         -uapsd vht vht40 vht80 -vht160 -vht80p80 wme roaming MANUAL
         parent interface: rtwn0
         media: IEEE 802.11 Wireless Ethernet VHT mode 11ac
         status: associated
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

iperf measured real bandwidth of 146 Mbits/sec.


Another quirk that I noticed during my experiments is that it is best to unplug 
and re-plug the adapter after making any config changes on the AP side, 
otherwise the adapter (or its firmware, or the driver) remembers some old things 
and sees some new things and is very confused.
Even ifconfig wlan0 destroy + ifconfig wlan0 create ... does not help.

-- 
Andriy Gapon


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1fcadaba-361b-45f1-bd8f-e1dae8d2bcb1>