From owner-freebsd-wireless@FreeBSD.ORG Thu May 8 04:59:47 2014 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 ESMTPS id 67C0F9E1 for ; Thu, 8 May 2014 04:59:47 +0000 (UTC) Received: from mail-qa0-x22a.google.com (mail-qa0-x22a.google.com [IPv6:2607:f8b0:400d:c00::22a]) (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 20755A48 for ; Thu, 8 May 2014 04:59:47 +0000 (UTC) Received: by mail-qa0-f42.google.com with SMTP id j5so2083755qaq.1 for ; Wed, 07 May 2014 21:59:46 -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=casZfBdoVu7plAjV9dY3CUpgePkRqpkKJtygQQun/+8=; b=ZkYZZFVtoP6BLGWAWwlOhTeEXnlkoWi39b3NMag7hYVUn1nP7lUDwUhvZ/k5zqEfHq PQVpFC6YI7Y56z75jemt/AL6v7CfjPRhai14nP0pfsmBf6Bt2DQVBVBSKT3i5MpXYxUM Nh9/6YlQK/7MfPe5jKRviegBdjFHS0er2dUGKPcgfgMakAXfQ3dZkkWsZywvrUkyiaha 00bCv5K7YDCdzn13JW3zymeHl/BnMwkaS4XD0Y39nmMGRqPam+aNdKmvUFC54NB7OhDY iqFg6tILStcgRmwbuBlYKtV18ZgkOdQbJ+zc8rEUvMY+uDIMc5WoI+0QTss5rguP4jSF ii0A== MIME-Version: 1.0 X-Received: by 10.140.96.51 with SMTP id j48mr1568883qge.24.1399525186283; Wed, 07 May 2014 21:59:46 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.191.201 with HTTP; Wed, 7 May 2014 21:59:46 -0700 (PDT) In-Reply-To: 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: Wed, 7 May 2014 21:59:46 -0700 X-Google-Sender-Auth: ve9he5HRZ_wE-gaX61TXs27kUt0 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.18 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, 08 May 2014 04:59:47 -0000 .. and I just ordered a Centrino 1000 NIC. Wish me luck. Thanks! -a On 6 May 2014 20:23, Adrian Chadd wrote: > Hi! > > Would you mind trying this? > > What values do you have for sc_txchainmask and sc_rxchainmask? Before > they're over-ridden? > > Thanks! > > > -a > > adrian@sabrina:~/work/freebsd/head/src/sys/dev/iwn % svn diff . > Index: if_iwn.c > =================================================================== > --- if_iwn.c (revision 265478) > +++ if_iwn.c (working copy) > @@ -744,6 +744,8 @@ > sc->limits = &iwn1000_sensitivity_limits; > sc->base_params = &iwn1000_base_params; > sc->fwname = "iwn1000fw"; > + /* XXX override chainmasks? */ > + sc->txchainmask = IWN_ANT_AB; > break; > default: > device_printf(sc->sc_dev, "adapter type id : 0x%04x sub id :" > Index: if_iwn_chip_cfg.h > =================================================================== > --- if_iwn_chip_cfg.h (revision 265478) > +++ if_iwn_chip_cfg.h (working copy) > @@ -219,14 +219,18 @@ > .regulatory_bands = iwn5000_regulatory_bands, > .enhanced_TX_power = false, > .calib_need = > - ( IWN_FLG_NEED_PHY_CALIB_DC > + ( > +// IWN_FLG_NEED_PHY_CALIB_DC > | IWN_FLG_NEED_PHY_CALIB_LO > + | IWN_FLG_NEED_PHY_CALIB_TX_IQ_PERIODIC > | IWN_FLG_NEED_PHY_CALIB_TX_IQ > - | IWN_FLG_NEED_PHY_CALIB_BASE_BAND ), > + | IWN_FLG_NEED_PHY_CALIB_BASE_BAND > + ), > .support_hostap = false, > .no_multi_vaps = true, > .additional_gp_drv_bit = IWN_GP_DRIVER_NONE, > - .bt_mode = IWN_BT_NONE, > +// .bt_mode = IWN_BT_NONE, > + .bt_mode = IWN_BT_SIMPLE, > .plcp_err_threshold = IWN_PLCP_ERR_EXT_LONG_THRESHOLD, > }; > static const struct iwn_base_params iwn_6000_base_params = {