Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Sep 2011 02:22:13 +1000 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        Claude Buisson <clbuisson@orange.fr>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: Is Atheros AR9285 usable in AP mode ?
Message-ID:  <20110903014337.Y25256@sola.nimnet.asn.au>
In-Reply-To: <4E440B0C.8090608@orange.fr>
References:  <4E3E6FFE.90101@orange.fr> <CAJ-VmomQ4-bfkX3Sew6QfgHK8x%2Buia44q5HtOAjmp2RtQPJFSA@mail.gmail.com> <4E43DE78.4040801@orange.fr> <CAJ-VmokcAevZMr19L=LTXLVWH_9cpwRSyh6TYNabLaG_yRyJGQ@mail.gmail.com> <4E440B0C.8090608@orange.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 11 Aug 2011, Claude Buisson wrote:
 > On 08/11/2011 18:23, Adrian Chadd wrote:
 > > Hi,
 > > 
 > > Is powerd running?
 > > 
 > > It does sound like you've got some kind of power saving mode going on
 > > somewhere..
 > > 
 > > Adrian
 > > 
 > 
 > I do _not_ run powerd (/etc/defaults/rc.conf checked, /etc/rc.conf/checked,
 > pgrep powerd done)
 > 
 > I got rid of the
 > 
 >     power_profile: changed to 'performance'
 > 
 > in /var/log/messages by commenting out the entry:
 > 
 >     # Switch power profiles when the AC line state changes.
 >     notify 10 {
 >         ...
 >     };
 > 
 > of /etc/devd.conf

Just browsing a few threads after 3 weeks off the net entirely :)

All that power_profile message is letting you know is the initial state 
set on boot of the two sysctls power_profile modifies whenever switching 
to AC power or to battery: hw.acpi.cpu.cx_lowest and dev.cpu.0.freq

With default values the performance profile sets maximum CPU frequency 
and lowest C state C1 on boot, if AC power is detected.  In your case 
it's probably redundant, but not everything boots at maximum speed.
So it's harmless, at worst.

With your hw.acpi values, the system could be forgiven for thinking this 
box could be a laptop (suspend state S3 being apparently available)

Sorry, no help for the wireless, if it's running at full speed.

cheers, Ian

 > 
 > the packet loss (ping -s 1450 -c 200 on the test station) remains at 3.0%
 > 
 > stuck beacon messages continue to flow
 > 
 > Claude
 > 
 > > On 11 August 2011 21:51, Claude Buisson<clbuisson@orange.fr>  wrote:
 > > > Sorry, I had to travel these last days...
 > > > 
 > > > On 08/10/2011 07:33, Adrian Chadd wrote:
 > > > > 
 > > > > is this on a laptop or some device with power saving enabled?
 > > > > 
 > > > > Can you please provide some more background about what you are using?
 > > > > 
 > > > > Thanks,  adrian
 > > > > 
 > > > 
 > > > No, this is not a laptop, it is a "mini system" (Atom D525 ION2):
 > > > 
 > > > ZOTAC ZBOX I41 (see dmesg below)
 > > > 
 > > > and a do not run powerd, etc.
 > > > 
 > > > In the (AMI) BIOS there is an "Energy Lake" feature. Disabling it does
 > > > not
 > > > seems
 > > > to have a noticeable effect.
 > > > 
 > > > Disabling HyperThreading in the BIOS seems to have a small positive
 > > > effect
 > > > on
 > > > the packet loss rate (which remains at the 2-3 % level between station
 > > > and
 > > > ap).
 > > > 
 > > > I am running with hw.ath.bstuck=16 and the "stuck beacon" messages
 > > > continue
 > > > to flow.
 > > > 
 > > > At boot I find a:
 > > > 
 > > > power_profile: changed to 'performance'
 > > > 
 > > > entry in /var/log/messages, of which I can't get rid (I tried
 > > > power_profile_enable="NO" in rc.conf).
 > > > 
 > > > My test station is a 7.4-STABLE, with an 2200B/G iwi hardware, and for
 > > > the
 > > > moment I run in open mode (for these tests).
 > > > 
 > > > On the other hand, I don't have any problem/loss running the ZBOX as a
 > > > station
 > > > with my current access point (6 years old Netgear WG602v3) in WPA2 mode.
 > > > 
 > > > I can do furter tests at your will, if given sufficiently precise
 > > > guidance.
 > > > 
 > > > Claude Buisson
 > > > 
 > > > > On 07/08/2011, Claude Buisson<clbuisson@orange.fr>    wrote:
 > > > > > 
 > > > > > Hi,
 > > > > > 
 > > > > > I try to configure a new system as an access point, with:
 > > > > > 
 > > > > > ath0:<Atheros 9285>    mem 0xfeaf0000-0xfeafffff irq 17 at device 0.0
 > > > > > on
 > > > > > pci2
 > > > > > ath0: AR9285 mac 192.2 RF5133 phy 14.0
 > > > > > 
 > > > > > ath0@pci0:2:0:0: class=0x028000 card=0x10891a3b chip=0x002b168c
 > > > > > rev=0x01
 > > > > > hdr=0x00
 > > > > >        vendor     = 'Atheros Communications Inc.'
 > > > > >        device     = 'AR9285 Wireless Network Adapter (PCI-Express)'
 > > > > >        class      = network
 > > > > > 
 > > > > > According to the sticker, it is a:
 > > > > > 
 > > > > > AzureWave AW-NE785 ATH-5B95
 > > > > > 
 > > > > > I get a lot of:
 > > > > > 
 > > > > >     ath0: stuck beacon: resetting (bmiss count 4)
 > > > > > 
 > > > > > I set  hw.ath.bstuck=32
 > > > > > 
 > > > > > but the stuck beacon messages continue flowing, and I suffer from
 > > > > > packet
 > > > > > loss /
 > > > > > lost association of the test station.
 > > > > > 
 > > > > > This is on a 9-CURRENT system amd64 SMP (2011/07/24 svn r224294).
 > > > > > 
 > > > > > TIA,
 > > > > > 
 > > > > > CBu
 > > > > > 
 > > > > > P.S.: to prevent a number of useless questions (as seen when
 > > > > > googling): I
 > > > > > live
 > > > > > in the country, with _no_ other wireless network in the vicinity :-)
 > > > > > _______________________________________________
 > > > > > freebsd-wireless@freebsd.org mailing list



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110903014337.Y25256>