From owner-freebsd-wireless@freebsd.org Wed Sep 4 08:42:07 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 5F327EA629 for ; Wed, 4 Sep 2019 08:42:07 +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 46Nckk2P2hz40tb for ; Wed, 4 Sep 2019 08:42:06 +0000 (UTC) (envelope-from georg@bege.email) Received: from coruscant.unix.io (localhost [127.0.0.1]) by mail.unix.io (Postfix) with ESMTP id CCBB74C833; Wed, 4 Sep 2019 10:42:04 +0200 (CEST) X-Virus-Scanned: amavisd-new at unix.io Received: from mail.unix.io ([51.38.111.183]) by coruscant.unix.io (mail.unix.io [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RtqU7KOqpxuz; Wed, 4 Sep 2019 10:42:04 +0200 (CEST) Received: from unix.io (localhost [127.0.0.1]) by mail.unix.io (Postfix) with ESMTPA id 532B24C82F; Wed, 4 Sep 2019 10:42:04 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 04 Sep 2019 10:42:04 +0200 From: georg@bege.email To: Adrian Chadd Cc: freebsd-wireless@freebsd.org Subject: Re: Atheros AR9280 5GHz working but still slow? (FreeBSD 11.3) In-Reply-To: References: Message-ID: X-Sender: georg@bege.email User-Agent: Roundcube Webmail/1.3.9 X-Rspamd-Queue-Id: 46Nckk2P2hz40tb X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; 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.38 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.45)[-0.455,0]; IP_SCORE(0.67)[ipnet: 51.38.0.0/16(2.01), asn: 16276(1.36), country: FR(-0.00)]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-0.83)[-0.832,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bege.email]; NEURAL_SPAM_SHORT(0.43)[0.429,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_NO_DN(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:16276, ipnet:51.38.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; SUBJECT_HAS_QUESTION(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: Wed, 04 Sep 2019 08:42:07 -0000 Hello, I see - ok so its not possible with the iwm driver yet. Care to elaborate the details, whats missing etc.? regards, Am 2019-09-04 02:34, schrieb Adrian Chadd: > Hm, 16 and 12 RSSI isn't that high, and it's selecting low bitrates. > > 3165 only does 11abg right now iirc, the iwm driver doesn't do 11n or > 11ac. > > -a > > On Tue, 3 Sep 2019 at 16:25, Georg Bege wrote: > >> 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