From owner-freebsd-wireless@FreeBSD.ORG  Thu Aug 11 17:02:07 2011
Return-Path: <owner-freebsd-wireless@FreeBSD.ORG>
Delivered-To: freebsd-wireless@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C0493106566B
	for <freebsd-wireless@freebsd.org>;
	Thu, 11 Aug 2011 17:02:07 +0000 (UTC)
	(envelope-from clbuisson@orange.fr)
Received: from smtp.smtpout.orange.fr (smtp09.smtpout.orange.fr
	[80.12.242.131])
	by mx1.freebsd.org (Postfix) with ESMTP id 3BC6C8FC17
	for <freebsd-wireless@freebsd.org>;
	Thu, 11 Aug 2011 17:02:06 +0000 (UTC)
Received: from localhost ([92.162.134.137]) by mwinf5d17 with ME
	id K5241h0042y1xD0035248f; Thu, 11 Aug 2011 19:02:05 +0200
X-ME-engine: default
Message-ID: <4E440B0C.8090608@orange.fr>
Date: Thu, 11 Aug 2011 19:02:04 +0200
From: Claude Buisson <clbuisson@orange.fr>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US;
	rv:1.9.2.18) Gecko/20110622 Thunderbird/3.1.11
MIME-Version: 1.0
To: Adrian Chadd <adrian@freebsd.org>
References: <4E3E6FFE.90101@orange.fr>	<CAJ-VmomQ4-bfkX3Sew6QfgHK8x+uia44q5HtOAjmp2RtQPJFSA@mail.gmail.com>	<4E43DE78.4040801@orange.fr>
	<CAJ-VmokcAevZMr19L=LTXLVWH_9cpwRSyh6TYNabLaG_yRyJGQ@mail.gmail.com>
In-Reply-To: <CAJ-VmokcAevZMr19L=LTXLVWH_9cpwRSyh6TYNabLaG_yRyJGQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-wireless@freebsd.org
Subject: Re: Is Atheros AR9285 usable in AP mode ?
X-BeenThere: freebsd-wireless@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Discussions of 802.11 stack,
	tools device driver development." <freebsd-wireless.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/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: Thu, 11 Aug 2011 17:02:07 -0000

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

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
>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
>>>> To unsubscribe, send any mail to
>>>> "freebsd-wireless-unsubscribe@freebsd.org"
>>>>
>>>
>>
>