From owner-freebsd-wireless@FreeBSD.ORG Wed Apr 30 00:54:28 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 A02FC117 for ; Wed, 30 Apr 2014 00:54:28 +0000 (UTC) Received: from mail-qg0-x233.google.com (mail-qg0-x233.google.com [IPv6:2607:f8b0:400d:c04::233]) (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 5A7581038 for ; Wed, 30 Apr 2014 00:54:28 +0000 (UTC) Received: by mail-qg0-f51.google.com with SMTP id z60so1113448qgd.24 for ; Tue, 29 Apr 2014 17:54:27 -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=vxC231fzRHyjGqJKN/tG2aZtQjVhuMW83kB65HzydTY=; b=AwTYs5KgEXNqwBakZ0AXpw5wzH+a2e2FTeTgcmOyvsZzwJdPmxujKA+peODNM/Q8Km hJWJJv9vxTHxHl/++6no8t5eiEjW56rGvH4atFf5N+JtHd0YxC7WVz5gcIZQit8YNHIa TKgB/A+Yn6zZ4PKglMn6phGa6djOzIN9YXqmNuYgkqWi4iupo26S7hGkPbIaYAKT8oWF lc0itzUrD+FHUKTJip3QqaQUCOkJiKvqntvvMgKnaEW8V5gjl2JHRMXtEXkfg5uIlvbP IJVshNA7U5UoqwWXKSi3qqjiDIf5XlNblcy1lw6cawWzHT4EmuiKpTXhcNmgflFDKDAc vL7Q== MIME-Version: 1.0 X-Received: by 10.224.38.138 with SMTP id b10mr1253242qae.98.1398819267468; Tue, 29 Apr 2014 17:54:27 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.191.201 with HTTP; Tue, 29 Apr 2014 17:54:27 -0700 (PDT) In-Reply-To: <84650.1398819225@elam.kais.kyoto-u.ac.jp> References: <20140226123709.GA31099@syn.pertho.net> <530EE7F4.3080903@shurik.kiev.ua> <24791.1393550277@elam.kais.kyoto-u.ac.jp> <75498.1398751548@elam.kais.kyoto-u.ac.jp> <84650.1398819225@elam.kais.kyoto-u.ac.jp> Date: Tue, 29 Apr 2014 17:54:27 -0700 X-Google-Sender-Auth: yQLWu8wR1fpxvRu9SfS9qyYQ-Xc Message-ID: Subject: Re: Centrino Wireless-N 1000 support is also broken (Re: iwn(4) in -HEAD supporting Centrino Wireless-N 135) From: Adrian Chadd To: Kaho Toshikazu Content-Type: text/plain; charset=UTF-8 Cc: "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: Wed, 30 Apr 2014 00:54:28 -0000 Ok, this is much, much clearer. I'll go look at r258035, which is the new chip config stuff. -a On 29 April 2014 17:53, Kaho Toshikazu wrote: > Hello, thank you for your reply. > >> Would you mind clarifying what you wrote a little more? >> What I'm reading this as: >> >> * If I grab an r258030 tree, it's broken on your NIC >> * If I then do what, apply r258034, it works? >> * If I apply 258035 -> 258085, it also works? >> >> I really would appreciate it if you would re-state what you've written >> so I/we can better understand :-) >> >> Something like: >> >> * Revision X, doesn't work >> * Revision X with revisions A, B and then C applied, does work >> * Revision X with A, B and C applied, and a modified revision D >> applied, does work (and attach the modified revision D) >> >> That way I/we can clearly reproduce what you've done. :-) >> >> Thanks! > > I'm sorry for my ambiguous representation. > > Until Revision 257951, work. > > From r258030 to r258034, doesn't work. If antmask_2stream set to > be IWN_ANT_AB, work. > > After r258035, doesn't work. antmask_2stream = IWN_ANT_AB doesn't help. > >> Ok. So r258030 changed the antenna configuration for transmitting to >> use the tx chainmask from the EEPROM settings,r ather than hard-coding >> it to IWN_ANT_AB. This is needed because a bunch of NICs actually >> don't have two antennas and if you feed it IWN_ANT_AB it just plainly >> doesn't work. >> >> So, if you try -HEAD, but you set antmask_2stream to be IWN_ANT_AB, >> does it fix the problem? >> >> Ie, add this line >> >> linkq.antmsk_2stream = IWN_ANT_AB; >> >> .. just after this line: >> >> linkq.ampdu_limit = htole16(4000); > > Yes, it fix the problem until r258034, but doesn't fix after r258035. > Rivision 258035 changed many lines and if_iwn_chip_cfg.h was created. > I faced a trouble about where should I try to change. > > -- > Kaho Toshikazu