Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Dec 2010 13:39:45 +0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        =?KOI8-R?B?6M/S1dbJyiDzxdLHxcog4NLYxdfJ3g==?= <horuzhy@inbox.ru>
Cc:        freebsd-net@freebsd.org
Subject:   Re: kern/124753: [ieee80211] net80211 discards power-save queue packets early
Message-ID:  <AANLkTi=j-4g0125-UTx4J=zSnBuHSyU0qKtVutjBUJYL@mail.gmail.com>
In-Reply-To: <AANLkTikJr42oZ=PV3uNTMn6Kfs63YWZfM6%2Bd-o1ZWzbZ@mail.gmail.com>
References:  <201012021530.oB2FUEh1034901@freefall.freebsd.org> <AANLkTikJr42oZ=PV3uNTMn6Kfs63YWZfM6%2Bd-o1ZWzbZ@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

I've done a bit of digging with this in private, would you (and others
having this problem) please re-test with this patch:

[adrian@pcbsd-3114]/data/freebsd/git/adrianchadd-freebsd/sys/net80211(48)%
git diff .
diff --git a/sys/net80211/ieee80211_power.c b/sys/net80211/ieee80211_power.c
index aad82ba..a9d8eff 100644
--- a/sys/net80211/ieee80211_power.c
+++ b/sys/net80211/ieee80211_power.c
@@ -393,7 +393,7 @@ ieee80211_pwrsave(struct ieee80211_node *ni, struct mbuf *m)
        IEEE80211_PSQ_UNLOCK(psq);

        IEEE80211_NOTE(vap, IEEE80211_MSG_POWER, ni,
-           "save frame with age %d, %u now queued", age, qlen);
+           "save frame with age %d, %u now queued (intval=%d,
bintval=%d)", age, qlen, ni->ni_intval, ic->ic_bintval);

        if (qlen == 1 && vap->iv_set_tim != NULL)
                vap->iv_set_tim(ni, 1);

I'd like to see exactly what's going on there; age=0 looks very wrong.



Adrian


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=j-4g0125-UTx4J=zSnBuHSyU0qKtVutjBUJYL>