From nobody Wed Nov 01 13:53:14 2023 X-Original-To: freebsd-wireless@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SL7ks1Zy7z4rt5S for ; Wed, 1 Nov 2023 13:53:25 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (cross.sbone.de [195.201.62.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE Root Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SL7kr5mrXz4QTb for ; Wed, 1 Nov 2023 13:53:24 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; none Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id D0FDF8D4A232; Wed, 1 Nov 2023 13:53:16 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 139A42D029D6; Wed, 1 Nov 2023 13:53:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id 7wiuTREM_0AP; Wed, 1 Nov 2023 13:53:14 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:b66b:fcff:fef3:e3d2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id CC3902D029D2; Wed, 1 Nov 2023 13:53:14 +0000 (UTC) Date: Wed, 1 Nov 2023 13:53:14 +0000 (UTC) From: "Bjoern A. Zeeb" To: Laurent Cimon cc: freebsd-wireless@freebsd.org Subject: Re: ALFA RTL8812au connection is unstable. In-Reply-To: Message-ID: References: X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1098556516-2143944626-1698846794=:3600" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:195.201.0.0/16, country:DE] X-Rspamd-Queue-Id: 4SL7kr5mrXz4QTb This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1098556516-2143944626-1698846794=:3600 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Wed, 1 Nov 2023, Laurent Cimon wrote: > Hello, > > I have an RTL8812au card on FreeBSD 14.0-STABLE and the connection is very > unstable. > For example, when downloading packages with pkg, the download rate goes down > to 0 > for a few seconds, then goes up not above 2MB/s for a few seconds, it's often > under 500KB/s > and often does not last longer than a second or so, then goes back to 0 for a > few seconds. > > I haven't felt this instability when browsing the web or pinging, it seems to > happen during longer connections. How many networks are in your neighbourhood? ifconfig wlan0 list scan will tell to some degree. /bz > Here are some system information. I've tried changing a few tunables but > nothing changed. > > root@JOY# sysctl -a | grep rtwn > rtwn0 on uhub3 > rtwn0: on usbus5 > rtwn0: MAC/BB RTL8812AU, RF 6052 2T2R > <118>   parent interface: rtwn0 > net.wlan.0.%parent: rtwn0 > net.wlan.devices: rtwn0 >         value:  /boot/kernel/rtwn-rtl8812aufw.ko >         value:  /boot/kernel/if_rtwn_usb.ko >         value:  /boot/kernel/rtwn.ko > dev.rtwn.0.rx_buf_size: 48 > dev.rtwn.0.ratectl_selected: 1 > dev.rtwn.0.ratectl: 2 > dev.rtwn.0.hwcrypto: 1 > dev.rtwn.0.debug: 0 > dev.rtwn.0.ht40: 0 > dev.rtwn.0.%parent: uhub3 > dev.rtwn.0.%pnpinfo: vendor=0x0bda product=0x8812 devclass=0x00 > devsubclass=0x00 devproto=0x00 sernum="123456" release=0x0000 mode=host > intclass=0xff intsubclass=0xff intprotocol=0xff > dev.rtwn.0.%location: bus=5 hubaddr=1 port=2 devaddr=2 interface=0 > ugen=ugen5.2 > dev.rtwn.0.%driver: rtwn > dev.rtwn.0.%desc: Realtek 802.11n NIC, class 0/0, rev 2.00/0.00, addr 2 > dev.rtwn.%parent: > > Thank you, > Laurent > > -- Bjoern A. Zeeb r15:7 --1098556516-2143944626-1698846794=:3600--