From owner-freebsd-wireless@freebsd.org Tue Sep 3 23:25:16 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 448B5DC660 for ; Tue, 3 Sep 2019 23:25:16 +0000 (UTC) (envelope-from georg@bege.email) Received: from mail.unix.io (mail.unix.io [51.38.111.183]) by mx1.freebsd.org (Postfix) with ESMTP id 46NNNC0NHCz4WhW for ; Tue, 3 Sep 2019 23:25:14 +0000 (UTC) (envelope-from georg@bege.email) Received: from mail.unix.io (localhost [127.0.0.1]) by mail.unix.io (Postfix) with ESMTP id BA7CD4C51A; Wed, 4 Sep 2019 01:25:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bege.email; h=reply-to :subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s= mail141202; bh=PIkRzu4GhFQpltzxlav6pPC3TXs=; b=f5SXYeGX0VFRMxvo3 2SAZgDIxbNS06/C2Qjg3wPV0GubbB3BIC+S1WdeswIorP2A2s3lu/Ucf/h0KgzEt WdWt7JD5lopRzNB3A2SC64k28YDKZet97O4zoW3JtT9rmNrojVGxTfjCk4UCG7Js M1JGAL5pvxUlQB7yq9vrykWGZI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bege.email; h=reply-to :subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; q=dns; s= mail141202; b=XSMpB5IvRdYVKw4Fqs/RnawsxoKl4Xo+8qCy8PukgIDWsMWe31 ssP9jZiNng+ecE4fsaTZaLU1+DbF+0JXD8bMWgf5BQqc9RqgL1rJzlZ/86PZJ8Oe TE+FXaG0VSJYGmjq1ofdfnaqBwNu2jOHvgGrjRPnreNW0cDWw7x/du9AQ= Received: from lazarus.int.ninth-art.de (p57AAB5CF.dip0.t-ipconnect.de [87.170.181.207]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.unix.io (Postfix) with ESMTPSA id A4C744C519; Wed, 4 Sep 2019 01:25:07 +0200 (CEST) Reply-To: georg@bege.email Subject: Re: Atheros AR9280 5GHz working but still slow? (FreeBSD 11.3) To: Adrian Chadd Cc: "freebsd-wireless@freebsd.org" References: From: Georg Bege Message-ID: Date: Wed, 4 Sep 2019 01:25:05 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 46NNNC0NHCz4WhW X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bege.email header.s=mail141202 header.b=f5SXYeGX; dmarc=none; spf=pass (mx1.freebsd.org: domain of georg@bege.email designates 51.38.111.183 as permitted sender) smtp.mailfrom=georg@bege.email X-Spamd-Result: default: False [-0.53 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[georg@bege.email]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[bege.email:+]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.67)[ipnet: 51.38.0.0/16(2.02), asn: 16276(1.36), country: FR(-0.00)]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[207.181.170.87.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; ASN(0.00)[asn:16276, ipnet:51.38.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.39)[-0.393,0]; R_DKIM_ALLOW(-0.20)[bege.email:s=mail141202]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.51)[0.505,0]; NEURAL_HAM_LONG(-0.91)[-0.913,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bege.email]; TO_MATCH_ENVRCPT_SOME(0.00)[] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Sep 2019 23:25:16 -0000 Hi Adrian, the output is as follows -------------------------------snip-------------------------------- ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG e0:94:67:e5:ab:1e 1 40 54M 16.5 0 54934 29184 EP AQ RSN WME ac:92:32:2c:1b:9b 2 40 7M 12.5 0 946 23648 EP AQPHTRS WME HTCAP RSN -------------------------------snip-------------------------------- I've measured this aprox. 2MB/s with my laptop, which is also using FreeBSD 12. Its having an Intel wireless 3165 card. regards, Georg Am 04.09.19 um 00:58 schrieb Adrian Chadd: > hi! > > No, you should be getting more than 2 megabits/sec. > > Whats the output of "ifconfig wlan0 list sta" ? > > > -adrian > > > On Wed, 28 Aug 2019 at 16:41, Georg Bege wrote: > > Hello community, > > Im using a Wifi AP with an Atheros card now for quite some time, > since a > couple of FreeBSD revisions. I guess started back on FreeBSD 10(?). > > My wifi AP seem to limit me to 2MB/s basically, which is pretty slow. > Im not sure if all my options are ok, or if there are some ways I can > tweak around it... > Is this a limitation of the current driver? > Would be very interesting to hear from someone who runs a similar setup > and has more speed/throughput than I do. > I only have this box with this card, cant really tinker a lot around > with other cards - and as I know Atheros is one of the drivers which is > better supported than others. > Back then it was quite hard to get 5GHz running correctly.... > > Some of my debug output, config files etc.: > -------------------------------dmesg-ath------------------------------- > ath0: mem 0xfe800000-0xfe80ffff at device 0.0 on pci4 > [ath] enabling AN_TOP2_FIXUP > ath0: [HT] enabling HT modes > ath0: [HT] 1 stream STBC receive enabled > ath0: [HT] 1 stream STBC transmit enabled > ath0: [HT] 2 RX streams; 2 TX streams > ath0: AR9280 mac 128.2 RF5133 phy 13.0 > ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 > -------------------------------dmesg-ath------------------------------- > > -------------------------ifconfig-wlan0-------------------------------- > wlan0: flags=8943 > metric > 0 mtu 1500 >         ether XX:XX:XX:XX:XX:XX >         hwaddr XX:XX:XX:XX:XX:XX >         nd6 options=29 >         media: IEEE 802.11 Wireless Ethernet autoselect mode 11na > >         status: running >         ssid XXXXXXXXXXX channel 40 (5200 MHz 11a ht/20) bssid > XX:XX:XX:XX:XX:XX >         regdomain ETSI country DE ecm authmode WPA2/802.11i privacy > MIXED >         deftxkey 2 AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 17 > mcastrate 6 >         mgmtrate 6 scanvalid 60 ampdulimit 64k ampdudensity 8 > shortgi wme >         burst dtimperiod 1 -dfs >         groups: wlan > -------------------------ifconfig-wlan0-------------------------------- > As you can see Im using "country DE" - but this cant be the reason for > such slow speed? > > -------------------------rc.conf-------------------------------------- > create_args_wlan0="wlanmode hostap channel 40:ht/20 country de" > -------------------------rc.conf-------------------------------------- > > ------------------------hostapd.conf---------------------------------- > interface=wlan0 > ctrl_interface=/var/run/hostapd > ctrl_interface_group=0 > ssid=XXXXXXXXXXXXXXXXXXXXXx > wmm_enabled=1 > ieee80211d=1 > country_code=DE > wpa=2 > wpa_passphrase=XXXXXXXXXXXXXXXX > wpa_key_mgmt=WPA-PSK > wpa_pairwise=CCMP > rsn_pairwise=CCMP > ------------------------hostapd.conf---------------------------------- > > best regards, > -- > Georg Bege > Mail: georg@bege.email > IRC: megaTherion @ Freenode > _______________________________________________ > freebsd-wireless@freebsd.org > mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to > "freebsd-wireless-unsubscribe@freebsd.org > " > -- Georg Bege Mail: georg@bege.email XMPP: therion@ninth-art.de IRC: megaTherion @ Freenode