From owner-svn-src-head@FreeBSD.ORG Mon Oct 28 22:05:09 2013 Return-Path: Delivered-To: svn-src-head@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 BA4891E4; Mon, 28 Oct 2013 22:05:09 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qc0-x22a.google.com (mail-qc0-x22a.google.com [IPv6:2607:f8b0:400d:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4530B22FF; Mon, 28 Oct 2013 22:05:09 +0000 (UTC) Received: by mail-qc0-f170.google.com with SMTP id n9so4284970qcw.1 for ; Mon, 28 Oct 2013 15:05:08 -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=vh3tQyIXSOmlEUxmRoCIiKeUeHnESE9NLENzAXYkunI=; b=vxb+CvWpUWbNK5uLwBWcC/8WWbupOnIgh2HuVBOAkRm7FXMdjtJV5qEVaWo0F0fbta O9Y3zo78eiMialYv2QDUfnPddE8r5vSQqvRWxniM/uPPh9JZinc5+sy8R4yDZLICoNvP 6k0rNkdSr4krcid7CaStBdHcXXlNy7E2BpSzdU22v4JLIFom1L/BodloUO1+qeWQ5q4V SOKfpqxGxf4ckKBJpjr0VJxH+OTGrLAtWP+ARsSjvU/Rr8EKXdMy1Xps9Bv3/ImI5m7E 2wgbLk6hLBvZPiIN4f3x5hv/c+FWV65ByLUZ1pTmpNHXpjJsrG4m/ROjJYVx6nZHYzdn 9qhg== MIME-Version: 1.0 X-Received: by 10.49.62.3 with SMTP id u3mr31934124qer.6.1382997908362; Mon, 28 Oct 2013 15:05:08 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.207.66 with HTTP; Mon, 28 Oct 2013 15:05:08 -0700 (PDT) In-Reply-To: <20131028192731.GA1505@mole.fafoe.narf.at> References: <201310251944.r9PJis6q004419@svn.freebsd.org> <20131027101106.GA2843@mole.fafoe.narf.at> <20131028190005.GA1509@mole.fafoe.narf.at> <20131028192731.GA1505@mole.fafoe.narf.at> Date: Mon, 28 Oct 2013 15:05:08 -0700 X-Google-Sender-Auth: UFh1w7gf7OBWNzxJ4Y0s3nB2QUs Message-ID: Subject: Re: svn commit: r257133 - head/sys/dev/iwn From: Adrian Chadd To: Stefan Farfeleder Content-Type: text/plain; charset=ISO-8859-1 Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Oct 2013 22:05:09 -0000 Hi! Yup! So, the difference is in the rate being selected. It looks like the remote end is just plainly not ACKing the 11n management frame being sent; but it totally ACKs the 11b CCK frame being sent. So, thanks for pointing that out. I'll go and err, "fix" this mistake. The driver should be doing what the stack says. Bernhard figured out a couple years ago that doing 11n management frames to 11n devices is not guaranteed to work, so we "fixed" that. I will go and figure out why this is now broken for iwn. Thanks! Would you mind filing a PR with what we've gathered? -adrian On 28 October 2013 12:27, Stefan Farfeleder wrote: > On Mon, Oct 28, 2013 at 12:07:17PM -0700, Adrian Chadd wrote: >> Yeah: >> >> Oct 28 19:43:43 mole kernel: iwn5000_tx_done: qid 3 idx 4 retries 7 >> nkill 0 rate a902 duration 686 status 83 >> >> status 0x83 is LONG_LIMIT, which meant it tried to transmit and it >> failed to get an ACK each time. >> >> The rate control says: >> >> 0x02: the rate in question >> bit 8: MCS >> bit 11: HT40 >> bits 14+15: transmit antennas A+B >> >> .. and it's an association/management frame, which is odd as they're >> not supposed to be sent as 11n HT40 frames like this. >> >> can you do the same experiment but with the patch reverted? I'd like >> to see what the selected rate is. > > Ok, here's the output with r257155 and r257133 reverted: > > http://pastebin.com/CJzsTANv > > Stefan