From owner-freebsd-wireless@FreeBSD.ORG Sun Mar 18 20:42:23 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFD5D106564A; Sun, 18 Mar 2012 20:42:23 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id 444CC8FC0A; Sun, 18 Mar 2012 20:42:22 +0000 (UTC) Received: by wibhq7 with SMTP id hq7so2394928wib.13 for ; Sun, 18 Mar 2012 13:42:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=Ex2aBPTuQmXGSxxmQA1nHr48rcvyL+sRQm4wR3BFlAU=; b=kQWPiIijnWnfQTGUqukhjHJ2j30xWKeUneHHkKmG6ze5Um4HVzto+nfqG2C9qe9wRC CtaI+IawmWd4s9z0w4BXax/9H+VsTjslInOQO5M+fwkxOFCWL1iZI0KefYvtth2vCvy0 o3jq/KJkDbbY1E0f3M6aof+s3qI25TznGS+IHso3LusewJ2z51b2qMOl7vsYW/Lu0eNe +LiZMfzZD2PNlDrlfHjDLbg349FOV5aFStMy6/BBITXTXYNqupkthAQc+HY6JJ8fG8AY qEHA62FSTm0S5MeQq2btq6iQLK2MZX39q7BMTi/0yb+R+75Qd8EE+fA+M2x5xNFQns7/ oMUg== MIME-Version: 1.0 Received: by 10.180.95.197 with SMTP id dm5mr14291961wib.20.1332103342215; Sun, 18 Mar 2012 13:42:22 -0700 (PDT) Received: by 10.223.143.3 with HTTP; Sun, 18 Mar 2012 13:42:22 -0700 (PDT) In-Reply-To: <20120319.042250.74754884.iwasaki@jp.FreeBSD.org> References: <201203171232.42515.bschmidt@freebsd.org> <20120319.010352.124006046.iwasaki@jp.FreeBSD.org> <201203181825.25124.bschmidt@freebsd.org> <20120319.042250.74754884.iwasaki@jp.FreeBSD.org> Date: Sun, 18 Mar 2012 13:42:22 -0700 Message-ID: From: Kevin Oberman To: Mitsuru IWASAKI Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org, bschmidt@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 20:42:24 -0000 On Sun, Mar 18, 2012 at 12:22 PM, 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! =A0I did the same thing for iwi(4), tested several times and it > works just fine. > > Please commit the attached patches if you like it. And the patch for iwn. (I don't have a wpi, but I assume that one, as well. I'd hope it's MFCed for 9.1. I'm beginning to feel a tiny bit hopeful that I'll be able to susped and resume my laptop again someday soon. --=20 R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com