From owner-freebsd-wireless@freebsd.org Wed Sep 4 22:33:56 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 33698CFED9 for ; Wed, 4 Sep 2019 22:33:56 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yw1-xc31.google.com (mail-yw1-xc31.google.com [IPv6:2607:f8b0:4864:20::c31]) (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 46NzBW2HlCz3yJM for ; Wed, 4 Sep 2019 22:33:55 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-yw1-xc31.google.com with SMTP id k200so29570ywa.7 for ; Wed, 04 Sep 2019 15:33:55 -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=a20KdzTYDkU6TpElbzbpGjzBidlH2jlZ88bA8eHs8M4=; b=blWt/cducCcCAIOlR+YbUJp/C6b61CZPLu/Zq6zM/ti8K8Lg2OfOWnzjCZ4njoBB7V 6wf59y0FR6qSzceiQ2muuw0YYFOIZC2d/M5yimK7b73q9D0YOKhAKY6ePV/PmBPT8wtx S9i23zc2tg7THbYTbNpzay6Q+IrJamsGq+IwqqUfnMOPQPT1yCoWdMLiUuxUbN8DH2Dg BEZaT0pz2D+7opiB501gpFIXb9YLtizpg24HdKBD8ixV4bWFq6mfGeLr5QvLN5KYZ1qb q/uM1A2eZBCBLTuV08czl05Dt7DxgNkbs+Xbh/9FudsdDub6xJasOQvt8v7oBzQO8v8F ywnA== 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=a20KdzTYDkU6TpElbzbpGjzBidlH2jlZ88bA8eHs8M4=; b=GHtv5XMyPyXDLJExB6pSCfpB0GAEggSFIPL99nT8PSdQYn5ey/SPoaHBWimERomv9K IF5hq8qLVY2vYwrN4SSzoJPV8b+igLv+d9ZxWhB+UKyd9emfNjAniZI+zIgzXXWBQXxM fsf3cl6V47XwMbhLdLMNyvfpoIsL90No5qODT7UCZd2hFqmkPA8L6v9flvQS8VkT7sF5 NHzOYKLPNG+dELW01hQtmFAV4PHv2dvLIWzGO72PrrnMW4yKWgVDvmnNM6BVs1fEsbDZ hPT3nqtjeFPZSqkdHOFUPC84elNDoyB3khxaly3vVViYSD+5C+Fxt1Avn/MrJjbojmj0 GZTQ== X-Gm-Message-State: APjAAAVOahUK1prgI0jBr9ATD/MpdAhucOadoqdy3pQgxQ7RG6ChG9XL 6yzu3fBDqgPQguF3cyqdT6KfGm8iCxVNCiTLB0un9Q== X-Google-Smtp-Source: APXvYqx66oe82fC8WAbLPjRCX6UoJXQJsd3RKR0ZIYUMEFsnIPMRfYQgzQH6oKNMV0jvQJzlBIbNeaCcVEyuab606/4= X-Received: by 2002:a81:4fc4:: with SMTP id d187mr168568ywb.386.1567636434181; Wed, 04 Sep 2019 15:33:54 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Adrian Chadd Date: Wed, 4 Sep 2019 15:33:41 -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: 46NzBW2HlCz3yJM X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=blWt/cdu; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of adrianchadd@gmail.com designates 2607:f8b0:4864:20::c31 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.27), ipnet: 2607:f8b0::/32(-2.76), 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)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; 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)[1.3.c.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 22:33:56 -0000 Yeah, the iwm code is missing all of the 11n/11ac handling code. :-) -adrian On Wed, 4 Sep 2019 at 01:42, wrote: > 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 >