From owner-freebsd-wireless@FreeBSD.ORG  Sun Feb 15 19:01:09 2015
Return-Path: <owner-freebsd-wireless@FreeBSD.ORG>
Delivered-To: freebsd-wireless@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 19BB0330;
 Sun, 15 Feb 2015 19:01:09 +0000 (UTC)
Received: from mail-ie0-f170.google.com (mail-ie0-f170.google.com
 [209.85.223.170])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id D69F2A03;
 Sun, 15 Feb 2015 19:01:08 +0000 (UTC)
Received: by ierx19 with SMTP id x19so29902025ier.3;
 Sun, 15 Feb 2015 11:01:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc:content-type;
 bh=kYmWVWMv+KqUWtP+d70S/VovUKlkAk6v4jBolw1qmK0=;
 b=t0CFoYHtN/iHooeYQcVBVGxyQtlVz8wiYlTGfmqIprcQYgkLu/74X2kf+U7SEbOUmG
 A2Q9K+jdJWSRkXtNFCMxTvLtkUMU+RURuJq8uPvMQmlRDMdMMK3rbEZqEQT6A0yyHd0a
 A3WDrO0pL4r3Lsrb1iFI6tRqhx4J1ylnooUtv7CMkutCuHCF7tYcw/3F7OugkDXUIrPy
 cAtEqbBVwvepHE4179LGAOPPv7Oq2XUChwacE/GnL/3TaYWaQsC4otYAb+TBaQ7I7LyI
 cQqh7MI3YoyobmmNQyCTt8mz538eOnn5/7Cx0H8lN5WcE8rZgsItzg1bT/6PdMzwDcSp
 FmaQ==
X-Received: by 10.50.73.99 with SMTP id k3mr17209838igv.21.1424026867530; Sun,
 15 Feb 2015 11:01:07 -0800 (PST)
MIME-Version: 1.0
Received: by 10.64.120.35 with HTTP; Sun, 15 Feb 2015 11:00:47 -0800 (PST)
In-Reply-To: <CAJ-VmokfdeCU528L135HKupJ0iJartBDbwjMoww_16Km8jeFrQ@mail.gmail.com>
References: <CADGo8CWitJUhU0+jDX59gv+c-4uhpgf58=r_K+fq=4acDTni8A@mail.gmail.com>
 <CAJ-VmonRS-ifM2YYUFn73g7xWSmpeqWYcK86h=RuYHtiRuyE+g@mail.gmail.com>
 <CADGo8CVX50Zfypwzc-_tjcZ-ej41rmvU00N3g7Fjh9XFQyCVDA@mail.gmail.com>
 <CADGo8CXKQszJWgM46q8wRkMZjKSXgn9=iLqx3mUEc7htuNU1RQ@mail.gmail.com>
 <CAJ-VmokfdeCU528L135HKupJ0iJartBDbwjMoww_16Km8jeFrQ@mail.gmail.com>
From: Miguel Clara <miguelmclara@gmail.com>
Date: Sun, 15 Feb 2015 19:00:47 +0000
Message-ID: <CADGo8CUoJb_YxHHZP_z=2yEYU0=Sg_ULL4GiTPRZ1B2SLnheYA@mail.gmail.com>
Subject: Re: ath0 performence issues "ar9300_Stub_GetCTSTimeout"
 "ar9300_Stub_GetCTSTimeout
To: Adrian Chadd <adrian@freebsd.org>
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1
Cc: "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
X-BeenThere: freebsd-wireless@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: "Discussions of 802.11 stack,
 tools device driver development." <freebsd-wireless.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-wireless>, 
 <mailto:freebsd-wireless-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-wireless/>
List-Post: <mailto:freebsd-wireless@freebsd.org>
List-Help: <mailto:freebsd-wireless-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-wireless>, 
 <mailto:freebsd-wireless-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 15 Feb 2015 19:01:09 -0000

On Sun, Feb 15, 2015 at 6:49 PM, Adrian Chadd <adrian@freebsd.org> wrote:

> On 15 February 2015 at 10:47, Miguel Clara <miguelmclara@gmail.com> wrote:
> >
> > On Sat, Feb 14, 2015 at 2:40 AM, Miguel Clara <miguelmclara@gmail.com>
> > wrote:
> >>
> >>
> >> On Sat, Jan 31, 2015 at 7:00 PM, Adrian Chadd <adrian@freebsd.org>
> wrote:
> >>>
> >>> Hi,
> >>>
> >>> please try updating to -HEAD. It's possible that'll fix things.
> >>
> >>
> >> Hi,
> >>
> >> I've update to head and still see the messages in dmesg.
> >>
> >> And the same slowness... rebooting seems to fix the issue, but it was
> the
> >> same in 10 and randomly (surely there's a reason only I'm not noticing
> what)
> >> it goes back to this state.
> >>
> >> Is there any debugging I can try to figure whats going on when this
> >> happens?
> >
> >
> > Also just now I lost network and saw this in dmesg:
> > ath0: ath_intr: TSFOOR
> > ath0: ath_intr: TSFOOR
> > ath0: ath_intr: TSFOOR
> > ath0: ath_intr: TSFOOR
> > ath0: ath_intr: TSFOOR
> > ath0: ath_intr: TSFOOR
> > ath0: ath_intr: TSFOOR
> > ath0: ath_intr: TSFOOR
> > ath0: ath_intr: TSFOOR
> >
> >
> > It was just during a few seconds.
>
> Ok, so that happens because you haven't heard a beacon for a while,
> and the "TSF out of range" interrupt has fired.
>
> Try creating the VAP again, but this time do it with -bgscan -powersave .
>
>
> I just did that manually and added "-bgscan -powersave" to rc.conf.

Is there a way I can verify those changes were applied?

ifconfig wlan0 doesn't show anything related.


> -adrian
>
> >>
> >>>
> >>> On 31 January 2015 at 09:19, Miguel Clara <miguelmclara@gmail.com>
> wrote:
> >>> > I've just upgrade to the latest 10/stable.
> >>> >
> >>> > trying to git clone a repo was giving me horrible speed, and I
> honestly
> >>> > tough it was at their side, until I noticed issues while browsing and
> >>> > this
> >>> > in dmesg:
> >>> >
> >>> > ar9300_Stub_GetCTSTimeout: called
> >>> > ar9300_Stub_GetCTSTimeout: called
> >>> > ar9300_Stub_GetAntennaSwitch: called
> >>> > ar9300_Stub_GetAntennaSwitch: called
> >>> > ar9300_Stub_GetCTSTimeout: called
> >>> > ar9300_Stub_GetCTSTimeout: called
> >>> > ar9300_Stub_GetAntennaSwitch: called
> >>> > ar9300_Stub_GetAntennaSwitch: called
> >>> > ar9300_Stub_GetCTSTimeout: called
> >>> > ar9300_Stub_GetCTSTimeout: called
> >>> > ar9300_Stub_GetAntennaSwitch: called
> >>> > ar9300_Stub_GetAntennaSwitch: called
> >>> > ar9300_Stub_GetCTSTimeout: called
> >>> > ar9300_Stub_GetCTSTimeout: called
> >>> > ar9300_Stub_GetAntennaSwitch: called
> >>> > ar9300_Stub_GetAntennaSwitch: called
> >>> > ar9300_Stub_GetCTSTimeout: called
> >>> > ar9300_Stub_GetCTSTimeout: called
> >>> > ar9300_Stub_GetAntennaSwitch: called
> >>> > ar9300_Stub_GetAntennaSwitch: called
> >>> > ar9300_Stub_GetCTSTimeout: called
> >>> > ar9300_Stub_GetCTSTimeout: called
> >>> > ar9300_Stub_GetAntennaSwitch: called
> >>> > ar9300_Stub_GetAntennaSwitch: called
> >>> > ar9300_Stub_GetCTSTimeout: called
> >>> > ar9300_Stub_GetCTSTimeout: called
> >>> > ar9300_Stub_GetAntennaSwitch: called
> >>> > ar9300_Stub_GetAntennaSwitch: called
> >>> >
> >>> > Speedtest either gives me and ok result or very poor, and pings also
> >>> > prove
> >>> > that something is not quite right:
> >>> > 64 bytes from 216.58.210.110: icmp_seq=7 ttl=59 time=18.096 ms
> >>> > 64 bytes from 216.58.210.110: icmp_seq=8 ttl=59 time=149.083 ms
> >>> > 64 bytes from 216.58.210.110: icmp_seq=9 ttl=59 time=18.376 ms
> >>> > 64 bytes from 216.58.210.110: icmp_seq=10 ttl=59 time=19.084 ms
> >>> > 64 bytes from 216.58.210.110: icmp_seq=11 ttl=59 time=18.305 ms
> >>> > 64 bytes from 216.58.210.110: icmp_seq=12 ttl=59 time=18.140 ms
> >>> > 64 bytes from 216.58.210.110: icmp_seq=13 ttl=59 time=16.700 ms
> >>> > 64 bytes from 216.58.210.110: icmp_seq=14 ttl=59 time=105.554 ms
> >>> > 64 bytes from 216.58.210.110: icmp_seq=15 ttl=59 time=34.336 ms
> >>> > 64 bytes from 216.58.210.110: icmp_seq=16 ttl=59 time=76.410 ms
> >>> > 64 bytes from 216.58.210.110: icmp_seq=17 ttl=59 time=34.400 ms
> >>> > 64 bytes from 216.58.210.110: icmp_seq=18 ttl=59 time=73.521 ms
> >>> > 64 bytes from 216.58.210.110: icmp_seq=19 ttl=59 time=154.728 ms
> >>> > 64 bytes from 216.58.210.110: icmp_seq=20 ttl=59 time=126.120 ms
> >>> > 64 bytes from 216.58.210.110: icmp_seq=21 ttl=59 time=170.920 ms
> >>> > 64 bytes from 216.58.210.110: icmp_seq=22 ttl=59 time=137.330 ms
> >>> > 64 bytes from 216.58.210.110: icmp_seq=23 ttl=59 time=17.424 ms
> >>> >
> >>> > (tried other host with similar results)
> >>> >
> >>> > It seems to settle for a while but randomly comes back..
> >>> >
> >>> > uname -a
> >>> > FreeBSD r2d2 10.1-STABLE FreeBSD 10.1-STABLE #7 r277979M: Sat Jan 31
> >>> > 16:05:30 WET 2015     root@r2d2:/usr/obj/usr/src/sys/GENERIC  amd64
> >>> > _______________________________________________
> >>> > freebsd-wireless@freebsd.org mailing list
> >>> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> >>> > To unsubscribe, send any mail to
> >>> > "freebsd-wireless-unsubscribe@freebsd.org"
> >>
> >>
> >
>