From owner-freebsd-current@freebsd.org Wed Aug 3 17:18:39 2016 Return-Path: Delivered-To: freebsd-current@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 47EC8BAD0A3 for ; Wed, 3 Aug 2016 17:18:39 +0000 (UTC) (envelope-from johannes@brilliantservice.co.jp) Received: from mail-vk0-x229.google.com (mail-vk0-x229.google.com [IPv6:2607:f8b0:400c:c05::229]) (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 F0ADE1237 for ; Wed, 3 Aug 2016 17:18:38 +0000 (UTC) (envelope-from johannes@brilliantservice.co.jp) Received: by mail-vk0-x229.google.com with SMTP id n129so150498853vke.3 for ; Wed, 03 Aug 2016 10:18:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brilliantservice-co-jp.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=FONgSy11vPG6VGqfSWVsOyjaSiqgRnvfcSdDeS/Gz+Q=; b=cL3FJ6zEPZqFnmzv6rquHq3ZzIq5dKWGAoD36XTmata8J/Os4usndYJyK1VYqIZ7dE Ibw9ttQYjmY9Cg/gRsrwe9U2TIK56meeDgGzXuexVwsv7d45pedy/8xAf8IySQDxVRwd 919Hx3er+FXzLppmozQvmC2CFjehNSLUybXJmLLMNFdPrLD+YdDuOxiU27iYYYkE3ukf POw/Fujlf6DvcraoBAtWGheaBmDcRdz+Hmi3rt1G66yr21q0NIStmJvt1VfDC1ay041E jJC9Qx9OIzXMXVEojZeymLfANJU0JGvhPiss7h8otjY0NLbzt3+wRM898iNanwWrobgY GC1w== 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:cc; bh=FONgSy11vPG6VGqfSWVsOyjaSiqgRnvfcSdDeS/Gz+Q=; b=b+gv5dCvlj3+LLkkHmL5UpJ86vaYo6hTx4y+qTal5jmMPrhszq5srtXxdphVSv1ljo BXhA0vQ35uWNjzaOT1jzWGFmihNLV9H2w6qZqV04gHv+46HtbUdOEIXmmRSxRHt4khVF pv3XPtGG/wRCcD3cTHYR7fEzmRv6dJ+Y2g+cZXl8tHIcCoLblZjwIBQX3eKO50XJ5W4q rYjNK6lofbtalcsFLPUXJ/Hf2v+ERTP74+dfnzb7j3H/z3ZmQsMqSwrE9wko4w3SA21P ubv8KvxWoNTYAN/nI83Y78tuDw/XMU2WlRqHQHLayGOvSTXlVaEtx3sVyLJZk6vAeAXl Ittg== X-Gm-Message-State: AEkoouum+OA9McNfcYHHymMWBKRi8SJpeKocXfexgfRefZ44YtgkdrOBHNwiU0NQ1eWuq8P5PERPXr7IpeMrX3DFQtSTV7C6f8Vbr5Kmnn1Iyv05WbMv+oKJ2L/Qb0jM2TOA6a8g/prABJQ98URwZqsdng4= X-Received: by 10.31.61.15 with SMTP id k15mr34449527vka.105.1470244717975; Wed, 03 Aug 2016 10:18:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.38.132 with HTTP; Wed, 3 Aug 2016 10:18:22 -0700 (PDT) In-Reply-To: References: From: "Lundberg, Johannes" Date: Wed, 3 Aug 2016 10:18:22 -0700 Message-ID: Subject: Re: Socket sendmsg() porting question To: Alan Somers Cc: FreeBSD Current Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2016 17:18:39 -0000 4oCLSGkgQWxhbg0KDQp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WNlaXZlZCB0aGlzIGVtYWlsIGluCmVycm9yLCBwbGVhc2UgZGVzdHJveSB0 aGUgb3JpZ2luYWwgbWVzc2FnZS4K From owner-freebsd-current@freebsd.org Wed Aug 3 17:28:57 2016 Return-Path: Delivered-To: freebsd-current@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 5B049BAD317; Wed, 3 Aug 2016 17:28:57 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 34EE81836; Wed, 3 Aug 2016 17:28:57 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=pRrANeZKtBMoF9HMh/UHYUgUxrMBFw7bMjtRq90gbQ0=; b=Gff+KJEXbgrkykzioDQeaCxcrd 6MOxByRo4NPloRHo1HmIsjsgnx7jIseuYMGF9N61GaDs8LhrLiyiLUFAr0MGPiCqwDLjPKTDMpLhR Vo5aLR2noB2x1onxL4hKbkgoEjIuVfUReM32u+kA/B2RIa2pZaOClBpX6Gi3egWMjSKo=; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]:60851) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87 (FreeBSD)) (envelope-from ) id 1bUzyR-0007tC-Mj; Wed, 03 Aug 2016 12:28:56 -0500 Date: Wed, 3 Aug 2016 12:28:54 -0500 From: Larry Rosenman To: Adrian Chadd , Imre Vad??sz , Andriy Voskoboinyk , "freebsd-wireless@freebsd.org" , freebsd-current , owner-freebsd-current@freebsd.org Subject: Re: IWM(7260), no connect Message-ID: <20160803172854.GA30265@thebighonker.lerctr.org> Mail-Followup-To: Adrian Chadd , Imre Vad??sz , Andriy Voskoboinyk , "freebsd-wireless@freebsd.org" , freebsd-current , owner-freebsd-current@freebsd.org References: <20160728023954.GA1321@pita> <20160728233504.GA1226@pita> <4ee03d28cc2711ed9bc56a725cac344a@thebighonker.lerctr.org> <20160801013647.GA1294@pita> <20160801021902.GA1998@pita> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160801021902.GA1998@pita> User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2016 17:28:57 -0000 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