Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Nov 2014 06:46:33 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>, Nathan Whitehorn <nwhitehorn@freebsd.org>
Subject:   Re: Issues with urtwn
Message-ID:  <20141103054633.GA3258@unixarea.DDR.dd>
In-Reply-To: <CAJ-Vmomhzsyn0k5Ym1=qm-LibJmW=8zb2LunYHNf4sSvWsP1=w@mail.gmail.com>
References:  <CAJ-Vmokt_kgxW3aPEDcNwg_ZVrCotqF_tOP1YjZCtO=nCZ8z5Q@mail.gmail.com> <540E2A2D.4090301@freebsd.org> <CAJ-VmongioOZQS561Qq5S1T0UVnBifxrQf8P0rr8jEWzk=dumQ@mail.gmail.com> <20141026073605.GA1819@unixarea.DDR.dd> <20141101081736.GA2857@unixarea.DDR.dd> <20141102084605.GA60031@unixarea.DDR.dd> <54564C92.8040104@freebsd.org> <20141102152953.GA20263@unixarea.DDR.dd> <54564E4D.4020703@freebsd.org> <CAJ-Vmomhzsyn0k5Ym1=qm-LibJmW=8zb2LunYHNf4sSvWsP1=w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Sunday, November 02, 2014 a las 10:46:13AM -0800, Adrian Chadd escribió:

> It's not forcing the adapter itself into ps mode - it's just net80211
> doing an off-channel scan thing.
> 
> Someone has to debug/fix this scan hang thing, I'm out of energy atm :(

I'm willing to dig into this and will start with instrumenting
net80211/ieee80211_scan.c with more debug messages; from there the power
save is activated:

scan_task(void *arg, int pending)
...
        if (vap->iv_opmode == IEEE80211_M_STA &&
            vap->iv_state == IEEE80211_S_RUN) {
                if ((vap->iv_bss->ni_flags & IEEE80211_NODE_PWR_MGT) == 0) {
                        /* Enable station power save mode */
                        vap->iv_sta_ps(vap, 1);


Or any other idea? Can you guide me through this?
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?20141103054633.GA3258>