From owner-freebsd-wireless@FreeBSD.ORG Tue Aug 27 01:20:37 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A06217E7; Tue, 27 Aug 2013 01:20:37 +0000 (UTC) (envelope-from gnn@freebsd.org) Received: from vps.hungerhost.com (vps.hungerhost.com [216.38.53.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7455B2E7D; Tue, 27 Aug 2013 01:20:37 +0000 (UTC) Received: from [206.217.92.186] (port=10724 helo=[192.168.252.4]) by vps.hungerhost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80.1) (envelope-from ) id 1VE7xT-0001ky-57; Mon, 26 Aug 2013 21:20:35 -0400 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: patch for intel centrino ? From: George Neville-Neil In-Reply-To: Date: Mon, 26 Aug 2013 21:20:41 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <404C99D3-8829-40C9-9222-08B3398CF3AA@freebsd.org> References: <000601cea157$3fbc8830$bf359890$@info> To: Adrian Chadd X-Mailer: Apple Mail (2.1508) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - freebsd.org X-Get-Message-Sender-Via: vps.hungerhost.com: authenticated_id: gnn@neville-neil.com Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 27 Aug 2013 01:20:37 -0000 On Aug 25, 2013, at 7:41 , Adrian Chadd wrote: > Hi! >=20 > I encourage people to test this out on all iwn(4) hardware, new and = old. >=20 > It needs to work on the older stuff (4965, 5100, etc) before I will = merge > it into -HEAD. >=20 > Sorry I've not merged more, I've been busy with work and work travel. >=20 >=20 >=20 OK, here is a patch that makes this "start" to work. I say "start" = because after a few reasonable exchanges (i.e. I can open a web page) the device seems to wedge with no = messages. http://people.freebsd.org/~gnn/iwn.diff If y'all can look at that and make comments that would be helpful. I turned on debugging and a sample of the messages when the device is = "stuck" are at the end of this email. Best, George Aug 26 21:18:24 punk kernel: iwn5000_tx_done: Agg : 1 Aug 26 21:18:24 punk kernel: iwn_tx_done: Status OK ackcnt: 0 Aug 26 21:18:24 punk kernel: iwn_tx_data: qid 2 idx 205 len 84 nsegs 2 Aug 26 21:18:24 punk kernel: iwn_tx_data: qid 2 idx 206 len 84 nsegs 2 Aug 26 21:18:24 punk kernel: iwn_tx_data: qid 2 idx 207 len 84 nsegs 2 Aug 26 21:18:24 punk kernel: iwn_tx_data: qid 2 idx 208 len 84 nsegs 2 Aug 26 21:18:24 punk kernel: iwn_tx_data: qid 2 idx 209 len 84 nsegs 2 Aug 26 21:18:24 punk kernel: iwn5000_tx_done: qid 2 idx 205 retries 0 = nkill 0 ra te 80006103 duration 161 status 1 Aug 26 21:18:24 punk kernel: iwn5000_tx_done: Agg : 1 Aug 26 21:18:24 punk kernel: iwn_tx_done: Status OK ackcnt: 0 Aug 26 21:18:24 punk kernel: iwn5000_tx_done: qid 2 idx 206 retries 0 = nkill 0 ra te 80006103 duration 161 status 1 Aug 26 21:18:24 punk kernel: iwn5000_tx_done: Agg : 1 Aug 26 21:18:24 punk kernel: iwn_tx_done: Status OK ackcnt: 0 Aug 26 21:18:24 punk kernel: iwn5000_tx_done: qid 2 idx 207 retries 0 = nkill 0 ra te 80006103 duration 161 status 1 Aug 26 21:18:24 punk kernel: iwn5000_tx_done: Agg : 1 Aug 26 21:18:24 punk kernel: iwn_tx_done: Status OK ackcnt: 0 Aug 26 21:18:24 punk kernel: iwn5000_tx_done: qid 2 idx 208 retries 0 = nkill 0 ra te 80006103 duration 161 status 1 Aug 26 21:18:24 punk kernel: iwn5000_tx_done: Agg : 1 Aug 26 21:18:24 punk kernel: iwn_tx_done: Status OK ackcnt: 0 Aug 26 21:18:24 punk kernel: iwn5000_tx_done: qid 2 idx 209 retries 0 = nkill 0 ra te 80006103 duration 161 status 1 Aug 26 21:18:24 punk kernel: iwn5000_tx_done: Agg : 1 Aug 26 21:18:24 punk kernel: iwn_tx_done: Status OK ackcnt: 0 Aug 26 21:18:26 punk kernel: iwn_tx_data: qid 2 idx 210 len 80 nsegs 1 Aug 26 21:18:26 punk kernel: iwn5000_tx_done: qid 2 idx 210 retries 0 = nkill 0 ra te 80006103 duration 161 status 1 Aug 26 21:18:26 punk kernel: iwn5000_tx_done: Agg : 1 Aug 26 21:18:26 punk kernel: iwn_tx_done: Status OK ackcnt: 0 Aug 26 21:18:26 punk kernel: iwn_tx_data: qid 2 idx 211 len 83 nsegs 1 Aug 26 21:18:26 punk kernel: iwn5000_tx_done: qid 2 idx 211 retries 0 = nkill 0 ra te 80006103 duration 161 status 1 Aug 26 21:18:26 punk kernel: iwn5000_tx_done: Agg : 1 Aug 26 21:18:26 punk kernel: iwn_tx_done: Status OK ackcnt: 0 Aug 26 21:18:26 punk kernel: iwn_tx_data: qid 2 idx 212 len 84 nsegs 2 Aug 26 21:18:26 punk kernel: iwn_tx_data: qid 2 idx 213 len 84 nsegs 2 Aug 26 21:18:26 punk kernel: iwn5000_tx_done: qid 2 idx 212 retries 0 = nkill 0 ra te 80006103 duration 161 status 1 Aug 26 21:18:26 punk kernel: iwn5000_tx_done: Agg : 1 Aug 26 21:18:26 punk kernel: iwn_tx_done: Status OK ackcnt: 0 Aug 26 21:18:26 punk kernel: iwn5000_tx_done: qid 2 idx 213 retries 0 = nkill 0 ra te 80006103 duration 161 status 1 Aug 26 21:18:26 punk kernel: iwn5000_tx_done: Agg : 1 Aug 26 21:18:26 punk kernel: iwn_tx_done: Status OK ackcnt: 0 Aug 26 21:18:27 punk kernel: iwn_tx_data: qid 2 idx 214 len 84 nsegs 2 Aug 26 21:18:27 punk kernel: iwn_tx_data: qid 2 idx 215 len 84 nsegs 2 Aug 26 21:18:27 punk kernel: iwn_tx_data: qid 2 idx 216 len 84 nsegs 2 Aug 26 21:18:27 punk kernel: iwn_tx_data: qid 2 idx 217 len 84 nsegs 2