From owner-freebsd-wireless@FreeBSD.ORG Mon Mar 19 18:19:48 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 5F55210656D2 for ; Mon, 19 Mar 2012 18:19:48 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id CF2298FC18 for ; Mon, 19 Mar 2012 18:19:47 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jc3so6319869bkc.13 for ; Mon, 19 Mar 2012 11:19:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id :x-gm-message-state; bh=0mPQ8KXLMGvGDvU8iFhp7dMpcwCQwfr1BbqgC6/aoQw=; b=bfc8R+DSVdZmINB5y/AdGnUDTOOv6xZleYve7568UHVWO9bjHKRQrVVitZJK8HU0iE SZj3S9d+zXwxBPd8nfdBFbE6zCURvX9eyDuQk9QfuwB+EccWQRGgLAoonD3N7N5XwLrL 1AOtEOpFvWuAfZHzTWORL+UG0pNCld3uLSEHuRvIGtKf/nfSvZIfWh4XD2qfoUNbblnK gcavn6UQxCofGELHEybmnTCySiyOyXTyG0QBaxqW1zjHgrbyMtikKAFSNi0R4UXRO9O5 2x35dznd7hpnRnbNK7m/UFKw5L0JA+sDEBr5RBjxteafbfDwtNvscMEapjsNhqb5AFM0 TgNw== Received: by 10.204.157.21 with SMTP id z21mr1754886bkw.51.1332181187299; Mon, 19 Mar 2012 11:19:47 -0700 (PDT) Received: from amy.lab.techwires.net (dslb-088-067-222-211.pools.arcor-ip.net. [88.67.222.211]) by mx.google.com with ESMTPS id f6sm27266748bkg.10.2012.03.19.11.19.45 (version=SSLv3 cipher=OTHER); Mon, 19 Mar 2012 11:19:46 -0700 (PDT) Sender: Bernhard Schmidt From: Bernhard Schmidt To: Mitsuru IWASAKI Date: Mon, 19 Mar 2012 19:20:00 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.4; amd64; ; ) References: <201203171232.42515.bschmidt@freebsd.org> <201203181825.25124.bschmidt@freebsd.org> <20120319.042250.74754884.iwasaki@jp.FreeBSD.org> In-Reply-To: <20120319.042250.74754884.iwasaki@jp.FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201203191920.00734.bschmidt@freebsd.org> X-Gm-Message-State: ALoCoQkRFAKmYcy/y2u4/Vh0/2czweNj0JABgek1ITXwMoQX2u9bd9x9j3M3/pnwCaFNvG97Xy3F 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: Mon, 19 Mar 2012 18:19:48 -0000 On Sunday 18 March 2012 20:22:50 Mitsuru IWASAKI wrote: > Hi, > > From: Bernhard Schmidt > > Well, I came up with attached diff. It works fine on iwn and wpi > > too basically, wpi has a bit of an issue with the scan after resume, > > I see probe resquest/response on air but the device doesn't pick > > em up sometimes.. still debugging. > > > > Anyways, I'm pretty sure that if you are doing the same for ipw/iwi > > it will just work fine. The ieee80211_resume_all/suspend_all calls > > will ensure that the appropriate stop/init driver functions are called. > > Great! I did the same thing for iwi(4), tested several times and it > works just fine. > > Please commit the attached patches if you like it. Thanks! I will commit that after a bit more testing. -- Bernhard