From owner-freebsd-wireless@freebsd.org Wed Sep 4 00:34:30 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 4491CDE9E1 for ; Wed, 4 Sep 2019 00:34:30 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46NPw531J7z4ZrP for ; Wed, 4 Sep 2019 00:34:28 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-yb1-xb33.google.com with SMTP id t5so6679992ybt.4 for ; Tue, 03 Sep 2019 17:34:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Y3G+IV5f03zARhotwTCT90xOR7GKsfap+M5Vbgszk5I=; b=a3AcvdTW5P8Dc1rBi7WBFfekyeKBsMcWcwjPmnzALTdnglou/xYnC0i1ERM1ncmoGD s8imDNjkbSmBkGbhwravMCnw/7A8/OvQU73cuUalxH8X5P4EUwnG0kSwqjiBd/eAer+k Op8v5nGJl9e0ddZ0TG6BmeB/rQdHruA8cjTdlp2h7bqQgnpi9xZx0XAVwsQjTHZYrQIB aPIkDDbgUCC3M6z+pYLZlQFs+a8L+zRwosQZHkeche0KUHISkViUVMnT8nRx1i46sSbT vQ/QY+te1Ws4lEcfMEE7QfZswsyjT0gknJ+BXaqXTl5kLo6hHYr6qXkpOfxhF2JAh8Cp JLlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Y3G+IV5f03zARhotwTCT90xOR7GKsfap+M5Vbgszk5I=; b=LxAry/MOrVjGRnCxKLOlBxgksV5yKRYGnFy8bZcgnJ2ihh6+j/7Y77imvvPsx7o+91 0REw5WRezld8TaggGWvl4NmzLvO44w/kgXjyrZt6pvYADAnqMvmfBYsKORGv5kEDIi9h M+HjL4FcvoL0D0WK1kexhj2aGTz7+6ndmegAIEVhhhPfA2yAgd03qmBcoQTe2rKgJNmm aU1L3920olHSMomKoR9TEmLMDN2pPCfBO3YrMgOK0yBI/B6UHyHDHWQjbgo4QbQsy+sb mTnXgSY3sN6HGWOi2SGnAc858O3+DAgBsnXFBVMUzGi1pF2naU2WvxUa4XNNLgpOl0cP eQWQ== X-Gm-Message-State: APjAAAXYGA2pOMWPvqoY+yrtYYZSTNe1vBFSk4xeROodf2oYfLQ/2ETU fYkWhtJ1txpSfQrv3FTClLv3N0VMJ9bFb5PtRL0= X-Google-Smtp-Source: APXvYqwDeEl4peiev3hRoSTiCS5zxmBHqeDc/bDgOg4QmZuguvywHwyUoXE4Y8tVEm8dVSf/DP4hvEnNU+KdKH25tnE= X-Received: by 2002:a25:f509:: with SMTP id a9mr3891064ybe.85.1567557267887; Tue, 03 Sep 2019 17:34:27 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Adrian Chadd Date: Tue, 3 Sep 2019 17:34:15 -0700 Message-ID: Subject: Re: Atheros AR9280 5GHz working but still slow? (FreeBSD 11.3) To: georg@bege.email Cc: "freebsd-wireless@freebsd.org" X-Rspamd-Queue-Id: 46NPw531J7z4ZrP X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=a3AcvdTW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of adrianchadd@gmail.com designates 2607:f8b0:4864:20::b33 as permitted sender) smtp.mailfrom=adrianchadd@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.996,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.61), ipnet: 2607:f8b0::/32(-2.77), asn: 15169(-2.28), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.3.b.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 00:34:30 -0000 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 >