From owner-freebsd-wireless@freebsd.org Wed Aug 3 17:36:18 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A6EABAD576; Wed, 3 Aug 2016 17:36:18 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x22a.google.com (mail-io0-x22a.google.com [IPv6:2607:f8b0:4001:c06::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 220051D64; Wed, 3 Aug 2016 17:36:18 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x22a.google.com with SMTP id m101so249688352ioi.2; Wed, 03 Aug 2016 10:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=0KO+31uu85z/Vy05Ot64xaa82Q+ds0O+qwbyXWmOZR4=; b=sOcUtOPLToFVBOvuirv1IGKAnkOoWvMYPMOQJl47tKI1+5ezAB7z3V9utJA01qHELz HwvsLTlNEX4FiVh6gjw41Tj0PFm7am0+DkbSl/KOb6gCLhZ+ZbsyUPbgcHQSUQbiYCfR WQVhxIuLYLxkgZzLmX5qzwzdW7M/eOimnZL139Jp7Sgnq6mxYkOVNGEEaVMLPzRxtVgv ORiGZ2yTKVyac9gDUsYf+eBKqLHzqj4b+v/qC6Ea0FCtiVLatR0RJYnCe5y6LMI+zYeM HgEGcVhRXW7c/GwzS+wy7WwNDXmpArB3LeduhBrHeDrAHiGpNYkKh67NQCJdoSvtGwsu ySzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=0KO+31uu85z/Vy05Ot64xaa82Q+ds0O+qwbyXWmOZR4=; b=mGO1hAtADfw0QfZywcBV4xfym2xs68VgJPHeevlPA1yuexmiaHqwFeEoxX4S+NQtfF 0eC9a+mh28ZhiAZv9THwrhBfOMGinrUCmfP57PCxDXjLDOYBOeJfaPtjAQZDOA8nz2VI ISqW9sGp3vi7G/cEgh6Gs9NtbG8jyMhi9pZxVypO+FTsZrTmbEMR6I9azf65ow6IA8PR Hp2lJDA1dVWTzp2LXJL5Flg3gD14O4yrCfNc2pvmGwvdlYHLUbf1FK6bpt8+vi0HjgxA DgFdGeHKeqqjbGL45ZCiq2wv0Ak1s7P1j8G93VzFFX054dpPEgrzl1L6xPXfzkbpn0QF QgTQ== X-Gm-Message-State: AEkoouuflpwo0fmLXglpW5VDQ3zRnjT+EfOBCx9AfH2GxjfsF7hp/f/treMVeI4xae6vG3qLJ1fIaMfmYnVWjQ== X-Received: by 10.107.144.10 with SMTP id s10mr65908331iod.165.1470245777436; Wed, 03 Aug 2016 10:36:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Wed, 3 Aug 2016 10:36:16 -0700 (PDT) In-Reply-To: <20160803172854.GA30265@thebighonker.lerctr.org> References: <20160728023954.GA1321@pita> <20160728233504.GA1226@pita> <4ee03d28cc2711ed9bc56a725cac344a@thebighonker.lerctr.org> <20160801013647.GA1294@pita> <20160801021902.GA1998@pita> <20160803172854.GA30265@thebighonker.lerctr.org> From: Adrian Chadd Date: Wed, 3 Aug 2016 10:36:16 -0700 Message-ID: Subject: Re: IWM(7260), no connect To: Adrian Chadd , "Imre Vad??sz" , Andriy Voskoboinyk , "freebsd-wireless@freebsd.org" , freebsd-current , owner-freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Wed, 03 Aug 2016 17:36:18 -0000 I've no idea, sorry. :( Imre's out for another week, so let him finish his holiday first. :) -a On 3 August 2016 at 10:28, Larry Rosenman wrote: > Anyone? > On Sun, Jul 31, 2016 at 09:19:02PM -0500, Larry Rosenman wrote: >> I recompiled security/wpa_supplicant and seem to be able to get >> associated. >> >> I'm not sure what is going on. >> >> Any suggestions? >> >> On Sun, Jul 31, 2016 at 08:36:47PM -0500, Larry Rosenman wrote: >> > Even with that reverted, I'm still having iffy connections. >> > >> > Current code: >> > >> > FreeBSD pita 12.0-CURRENT FreeBSD 12.0-CURRENT #4 r303597M: Sun Jul 31 16:02:39 CDT 2016 root@pita:/usr/obj/usr/src/sys/IWM-DEBUG amd64 1200001 1200001 >> > >> > Current diff to that SVN Rev: >> > >> > Index: sys/dev/iwm/if_iwm.c >> > =================================================================== >> > --- sys/dev/iwm/if_iwm.c (revision 303597) >> > +++ sys/dev/iwm/if_iwm.c (working copy) >> > @@ -3357,15 +3357,12 @@ >> > uint8_t subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; >> > >> > if (subtype == IEEE80211_FC0_SUBTYPE_ASSOC_REQ || >> > - subtype == IEEE80211_FC0_SUBTYPE_REASSOC_REQ) { >> > - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_ASSOC); >> > - } else if (subtype == IEEE80211_FC0_SUBTYPE_ACTION) { >> > - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_NONE); >> > - } else { >> > - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_MGMT); >> > - } >> > + subtype == IEEE80211_FC0_SUBTYPE_REASSOC_REQ) >> > + tx->pm_frame_timeout = htole16(3); >> > + else >> > + tx->pm_frame_timeout = htole16(2); >> > } else { >> > - tx->pm_frame_timeout = htole16(IWM_PM_FRAME_NONE); >> > + tx->pm_frame_timeout = htole16(0); >> > } >> > >> > if (hdrlen & 3) { >> > Index: sys/dev/iwm/if_iwmreg.h >> > =================================================================== >> > --- sys/dev/iwm/if_iwmreg.h (revision 303597) >> > +++ sys/dev/iwm/if_iwmreg.h (working copy) >> > @@ -4244,18 +4244,6 @@ >> > IWM_TX_CMD_FLG_HCCA_CHUNK = (1 << 31) >> > }; /* IWM_TX_FLAGS_BITS_API_S_VER_1 */ >> > >> > -/** >> > - * enum iwm_tx_pm_timeouts - pm timeout values in TX command >> > - * @IWM_PM_FRAME_NONE: no need to suspend sleep mode >> > - * @IWM_PM_FRAME_MGMT: fw suspend sleep mode for 100TU >> > - * @IWM_PM_FRAME_ASSOC: fw suspend sleep mode for 10sec >> > - */ >> > -enum iwm_tx_pm_timeouts { >> > - IWM_PM_FRAME_NONE = 0, >> > - IWM_PM_FRAME_MGMT = 2, >> > - IWM_PM_FRAME_ASSOC = 3, >> > -}; >> > - >> > /* >> > * TX command security control >> > */ >> > >> > >> > >> > Scan Debug: >> > http://www.lerctr.org/~ler/FreeBSD/WIFI-Scan.txt >> > >> > What next? >> > >> > On Thu, Jul 28, 2016 at 06:06:47PM -0700, Adrian Chadd wrote: >> > > +imre, >> > > >> > > Hi! Larry is having issues with r303418. Would you be able to help him out? >> > > >> > > (If it's not too bad, can we back this out until you figure out what's >> > > going on?) >> > > >> > > Thanks! >> > > >> > > >> > > -a >> > > >> > > >> > > On 28 July 2016 at 18:05, Larry Rosenman wrote: >> > > > On 2016-07-28 20:02, Adrian Chadd wrote: >> > > >> >> > > >> Hi, >> > > >> >> > > >> Which commit(s) did you revert? >> > > >> >> > > >> >> > > >> >> > > >> -a >> > > > >> > > > >> > > > revert r303418 >> > > > >> > > > and now it connects again. >> > > > >> > > > >> > > > -- >> > > > Larry Rosenman http://www.lerctr.org/~ler >> > > > Phone: +1 214-642-9640 E-Mail: ler@lerctr.org >> > > > US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 >> > >> > -- >> > Larry Rosenman http://www.lerctr.org/~ler >> > Phone: +1 214-642-9640 E-Mail: ler@lerctr.org >> > US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 >> >> -- >> Larry Rosenman http://www.lerctr.org/~ler >> Phone: +1 214-642-9640 E-Mail: ler@lerctr.org >> US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: ler@lerctr.org > US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281