From owner-freebsd-net@FreeBSD.ORG Sun Dec 5 05:39:47 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 872F2106566C for ; Sun, 5 Dec 2010 05:39:47 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 182008FC14 for ; Sun, 5 Dec 2010 05:39:46 +0000 (UTC) Received: by wyf19 with SMTP id 19so11057606wyf.13 for ; Sat, 04 Dec 2010 21:39:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=QtCMpnkPqK9xz+1+RyvxVRrGXtqDvuQiWEyL/IEMxHA=; b=SdVthWKnJs1ZJsIPf6mbCq2gJMsdlctumYKtqdxf6QFhy4UUReopeFju4YRlhRAP67 9NVKKyAggiHW+BGQlVTyhDlqkGf2SRhdNauJF1N6tX45bM6GslY4sVuTnK5YLGbrNTjS NtedTVT8mclWsXyS6af0/QYYPNRk7Iw0NGyuw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=IYnKUaKGTvaes/+NbvZgX5KfI2lgOH4JSZrPr8arD5J+QMjuMWRGAseUNYy18NzMvF Mm3X3GgQdp9U4fpHOQF7sToh74F497NUSz8ikX49Ax7m3vNiFSplNAAMfFDArpmLN1V+ WvRLjvBlpaGM6NtiGaSzpXlFhR2TAZY422Npg= MIME-Version: 1.0 Received: by 10.216.142.131 with SMTP id i3mr1180684wej.5.1291527585866; Sat, 04 Dec 2010 21:39:45 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.65.210 with HTTP; Sat, 4 Dec 2010 21:39:45 -0800 (PST) In-Reply-To: References: <201012021530.oB2FUEh1034901@freefall.freebsd.org> Date: Sun, 5 Dec 2010 13:39:45 +0800 X-Google-Sender-Auth: u7v_2XZCirTs4M8xIliSAoOamVQ Message-ID: From: Adrian Chadd To: =?KOI8-R?B?6M/S1dbJyiDzxdLHxcog4NLYxdfJ3g==?= Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-net@freebsd.org Subject: Re: kern/124753: [ieee80211] net80211 discards power-save queue packets early X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Dec 2010 05:39:47 -0000 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