From owner-freebsd-wireless@FreeBSD.ORG Thu Apr 3 23:42:09 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4094D4E5; Thu, 3 Apr 2014 23:42:09 +0000 (UTC) Received: from mail-qg0-x22c.google.com (mail-qg0-x22c.google.com [IPv6:2607:f8b0:400d:c04::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DE555D44; Thu, 3 Apr 2014 23:42:08 +0000 (UTC) Received: by mail-qg0-f44.google.com with SMTP id a108so2620381qge.3 for ; Thu, 03 Apr 2014 16:42:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=K6DZ7FVrnzgAjpjW+wmwKiNT79YcOT+4dXseFMN/6gM=; b=ZONh1WGJWvTzCrzy1GVkuCH91JlNHBrZINqLc7aXZ4JAcCn7SXRSUz9x+TdRNUkNP5 VQSBuyIwkB3EaDZFhpOIhzSm6mwul/3lqcL5hp1Obly231TTA6IJXxKaTLn+WYlI8m2V sVXpXXT+LLp//pF8luOzlcbDzAwTwSlR0ByZvNWOJTBhb9moIhCSj1NOoAzqubXrW6gv rW5VhjprTFG5LZDnNh7Z7msADAkluYLDPnkQYxf9AfBfnUEtPfIL4qeLYcZtX8CseoNL mQoIsVCpwdqdV06+7G+6uO0npNFLg1y+AS9Tu7pDvQ8QeirpphZCl0lDcQ4L9XRLhsFu epjA== MIME-Version: 1.0 X-Received: by 10.224.25.2 with SMTP id x2mr10785646qab.37.1396568527385; Thu, 03 Apr 2014 16:42:07 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.50.143 with HTTP; Thu, 3 Apr 2014 16:42:07 -0700 (PDT) In-Reply-To: <20140403100207.GA23640@syn.pertho.net> References: <20140226123709.GA31099@syn.pertho.net> <530EE7F4.3080903@shurik.kiev.ua> <530EEEA5.4090306@shurik.kiev.ua> <20140228230705.GA28290@syn.pertho.net> <20140403100207.GA23640@syn.pertho.net> Date: Thu, 3 Apr 2014 16:42:07 -0700 X-Google-Sender-Auth: b6mDQvQ1DrPqY0ntwG7MZ_680_Q Message-ID: Subject: Re: iwn(4) in -HEAD supporting Centrino Wireless-N 135 From: Adrian Chadd To: Tom Murphy Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current , "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Thu, 03 Apr 2014 23:42:09 -0000 I've had no time to continue looking at this, I'm sorry. I'm very overworked and I'm not able to be both the net80211, ath and iwn maintainer given how much actual attention they all require. Someone has to step up and take command of the iwn code. -a On 3 April 2014 03:02, Tom Murphy wrote: > Hi, > > I'm just wondering if you had any time to look at this? I'm happy to test > any patches or diffs. > > Regards, > Tom > > On Tue, Mar 11, 2014 at 11:03:20AM -0700, Adrian Chadd wrote: >> I still don't have any ideas here. I do however want to try hacking >> the driver to transmit EAPOL frames at the management rate, and then >> ensure the management rate is non-MCS. >> >> >> -a >> >> >> On 28 February 2014 15:14, Adrian Chadd wrote: >> > Hi, >> > >> > the interesting bits: >> > >> > >> > Feb 28 22:55:22 kernel: iwn_tx_data: qid 3 idx 3 len 129 nsegs 2 rate >> > 0002 plcp 0x0000420a >> > Feb 28 22:55:22 kernel: iwn_tx_data: qid 3 idx 4 len 129 nsegs 2 rate >> > 0002 plcp 0x0000420a >> > Feb 28 22:55:22 kernel: iwn5000_tx_done: qid 3 idx 3 retries 16 nkill >> > 0 rate 80006902 duration 2815 status 83 >> > Feb 28 22:55:22 kernel: iwn5000_tx_done: qid 3 idx 4 retries 16 nkill >> > 0 rate 80006902 duration 2815 status 83 >> > Feb 28 22:55:23 kernel: iwn_tx_data: qid 3 idx 5 len 129 nsegs 2 rate >> > 0002 plcp 0x0000420a >> > Feb 28 22:55:23 kernel: iwn_tx_data: qid 3 idx 6 len 129 nsegs 2 rate >> > 0002 plcp 0x0000420a >> > Feb 28 22:55:23 kernel: iwn5000_tx_done: qid 3 idx 5 retries 16 nkill >> > 0 rate 80006902 duration 2815 status 83 >> > Feb 28 22:55:23 kernel: iwn5000_tx_done: qid 3 idx 6 retries 16 nkill >> > 0 rate 80006902 duration 2815 status 83 >> > Feb 28 22:55:24 kernel: iwn_tx_data: qid 3 idx 7 len 129 nsegs 2 rate >> > 0002 plcp 0x0000420a >> > Feb 28 22:55:24 kernel: iwn_tx_data: qid 3 idx 8 len 129 nsegs 2 rate >> > 0002 plcp 0x0000420a >> > Feb 28 22:55:24 kernel: iwn5000_tx_done: qid 3 idx 7 retries 16 nkill >> > 0 rate 80006902 duration 2815 status 83 >> > Feb 28 22:55:24 kernel: iwn5000_tx_done: qid 3 idx 8 retries 16 nkill >> > 0 rate 80006902 duration 2815 status 83 >> > >> > .. so it's failing to transmit the management frames after association >> > - they're being transmitted at MCS0 and the AP is just plain not >> > ACKing them. >> > >> > Now, I don't know why this is. It's trying to transmit the initial >> > frame at non-MCS rates, but I have a feeling the multi-rate retry >> > table thing is confusing it and it's trying to send it as MCS. So >> > maybe the AP doesn't like management frames at MCS rates. >> > >> > I'll have to think about this a little. >> > >> > -a >> > >> > >> > On 28 February 2014 15:07, Tom Murphy wrote: >> >> I've attached my iwn debug messages to this email starting >> >> with the point I tried to associate to the Wifi. >> >> >> >> Thanks again for looking at this! >> >> >> >> Kind regards, >> >> Tom >> >> >> >> On Thu, Feb 27, 2014 at 12:13:51PM -0800, Adrian Chadd wrote: >> >>> On 26 February 2014 23:52, Alexandr wrote: >> >>> > Tom, could you: >> >>> > >> >>> > 1. compile kernel WITH_IWNDEBUG >> >>> > 2. sysctl dev.iwn.0.debug=0x1 >> >>> > 3. wlandebug -i wlan0 auth+assoc >> >>> > 4. Associate with AP in 11n mode >> >>> > 5. Send us appropriate /var/log/messages >> >>> > >> >>> > Then I try to compare it with my log. >> >>> >> >>> Please do. I've been trying to track down the source of this "ht just >> >>> doesn't work!" but it works fine with all of the Intel NICs I have >> >>> here. >> >>> >> >>> Can someone see if they can find a mtaching NIC online (amazon,ebay?) >> >>> Owning one that I can whack in a laptop is likely going ot help things >> >>> a lot. >> >>> >> >>> Thanks, >> >>> >> >>> >> >>> -a