From owner-freebsd-wireless@FreeBSD.ORG Thu Jan 5 02:40:13 2012 Return-Path: Delivered-To: freebsd-wireless@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54AB91065670 for ; Thu, 5 Jan 2012 02:40:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 432688FC15 for ; Thu, 5 Jan 2012 02:40:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q052eDTt090827 for ; Thu, 5 Jan 2012 02:40:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q052eDt5090826; Thu, 5 Jan 2012 02:40:13 GMT (envelope-from gnats) Date: Thu, 5 Jan 2012 02:40:13 GMT Message-Id: <201201050240.q052eDt5090826@freefall.freebsd.org> To: freebsd-wireless@FreeBSD.org From: Adrian Chadd Cc: Subject: Re: kern/163318: [ath] ath(4) stops working X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Adrian Chadd List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2012 02:40:13 -0000 The following reply was made to PR kern/163318; it has been noted by GNATS. From: Adrian Chadd To: bug-followup@FreeBSD.org, joel@FreeBSD.org Cc: Subject: Re: kern/163318: [ath] ath(4) stops working Date: Wed, 4 Jan 2012 18:34:39 -0800 Hi, Please try this patch: Index: sys/net80211/ieee80211_power.c =================================================================== --- sys/net80211/ieee80211_power.c (revision 228893) +++ sys/net80211/ieee80211_power.c (working copy) @@ -504,8 +504,13 @@ { struct ieee80211_node *ni = vap->iv_bss; - if (!((enable != 0) ^ ((ni->ni_flags & IEEE80211_NODE_PWR_MGT) != 0))) + if (!((enable != 0) ^ + ((ni->ni_flags & IEEE80211_NODE_PWR_MGT) != 0))) { + IEEE80211_NOTE(vap, IEEE80211_MSG_POWER, ni, + "sta power save mode %s ignored", + enable ? "on" : "off"); return; + } IEEE80211_NOTE(vap, IEEE80211_MSG_POWER, ni, "sta power save mode %s", enable ? "on" : "off"); .. then just enable wlandebug +power. I'd like to see whether the station power management enable is being ignored for some reason. Adrian