Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Oct 2014 08:36:05 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Adrian Chadd <adrian@freebsd.org>, freebsd-wireless@freebsd.org
Cc:        Nathan Whitehorn <nwhitehorn@freebsd.org>
Subject:   Re: Issues with urtwn
Message-ID:  <20141026073605.GA1819@unixarea.DDR.dd>
In-Reply-To: <CAJ-VmongioOZQS561Qq5S1T0UVnBifxrQf8P0rr8jEWzk=dumQ@mail.gmail.com>
References:  <540C751F.6050202@freebsd.org> <CAJ-VmokyPcS077wHiP4Mdetms=meqk47v29fKA1edidhorVQpg@mail.gmail.com> <540C92D6.4030106@freebsd.org> <CAJ-VmomMwJOSz7hyAfeEgPE=qBfYm7fTOo5km8JJk4g62JxTkg@mail.gmail.com> <540CC53A.90600@freebsd.org> <CAJ-Vmokt_kgxW3aPEDcNwg_ZVrCotqF_tOP1YjZCtO=nCZ8z5Q@mail.gmail.com> <540E2A2D.4090301@freebsd.org> <CAJ-VmongioOZQS561Qq5S1T0UVnBifxrQf8P0rr8jEWzk=dumQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Monday, September 08, 2014 a las 03:17:08PM -0700, Adrian Chadd escribió:

> Please compile your kernel with IEEE80211_DEBUG, then enable debugging
> - wlandebug +state +power
> 
> You can disable powersave with 'ifconfig wlan0 -powersave', but it
> shouldn't be enabled by default.

Hi,

I was to fast when saying in September that I do not have any issue with
this NIC: under havy SCP traffic (let's say some GByte) the connection
locks and I have to run 'netif restart' to wake it up;

it seems that powersave is off:

# ifconfig wlan0 list sta
ADDR               AID CHAN RATE RSSI IDLE  TXSEQ  RXSEQ CAPS FLAG   
00:13:f7:0d:08:48    2    7  54M 35.5    0   1219  64016 EPS  AE RSN

the kernel is 11-CURRENT (r269739) and I have IEEE80211_DEBUG enabled:

# fgrep IEEE80211_DEBUG sys/i386/conf/GENERIC
options         IEEE80211_DEBUG         # enable debug msgs

# wlandebug -i wlan0 +state +power
net.wlan.0.debug: 0x0 => 0xc0000<state,power>

In /var/log/messages I see now lines like this:

# fgrep kernel /var/log/messages
Oct 26 08:22:44 unixarea kernel: wlan0: [00:13:f7:0d:08:48] sta power save mode on
Oct 26 08:22:46 unixarea kernel: wlan0: [00:13:f7:0d:08:48] sta power save mode off
Oct 26 08:27:46 unixarea kernel: wlan0: [00:13:f7:0d:08:48] sta power save mode on
Oct 26 08:27:48 unixarea kernel: wlan0: [00:13:f7:0d:08:48] sta power save mode off
Oct 26 08:32:48 unixarea kernel: wlan0: [00:13:f7:0d:08:48] sta power save mode on
Oct 26 08:32:50 unixarea kernel: wlan0: [00:13:f7:0d:08:48] sta power save mode off

every 5 minutes...

Who is switching this on/off?

thx

	matthias

-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign



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