From owner-freebsd-wireless@FreeBSD.ORG Sun Mar 18 16:04:02 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 92FB11065674; Sun, 18 Mar 2012 16:04:02 +0000 (UTC) (envelope-from iwasaki@jp.FreeBSD.org) Received: from locore.org (ns01.locore.org [218.45.21.227]) by mx1.freebsd.org (Postfix) with ESMTP id 1F7028FC20; Sun, 18 Mar 2012 16:04:01 +0000 (UTC) Received: from localhost (celeron.v4.locore.org [192.168.0.10]) by locore.org (8.14.5/8.14.5/iwasaki) with ESMTP/inet id q2IG3rVE081994; Mon, 19 Mar 2012 01:03:53 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Date: Mon, 19 Mar 2012 01:03:52 +0900 (JST) Message-Id: <20120319.010352.124006046.iwasaki@jp.FreeBSD.org> To: bschmidt@freebsd.org From: Mitsuru IWASAKI In-Reply-To: <201203171232.42515.bschmidt@freebsd.org> References: <20120316.230547.41627417.iwasaki@jp.FreeBSD.org> <201203171232.42515.bschmidt@freebsd.org> X-Mailer: Mew version 3.3 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-wireless@freebsd.org Subject: Re: [patch] iwi(4) suspend/resume broken X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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: Sun, 18 Mar 2012 16:04:02 -0000 Hi, > I'd really prefer calling ieee80211_stop/init() in the suspend/resume > functions, while the driver is not holding the lock (net80211 might > call into the driver again). > > I roughly checked a few things and I even think that calling > ieee80211_stop_all() might be enough. Still playing around though. OK, then I wouldn't commit my patches, I would wait for your patches to test here. Or may I try to hack ieee80211 layer to fix suspend/resume problem? Thanks!