From owner-freebsd-wireless@FreeBSD.ORG Thu Apr 18 22:22:50 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E841C505; Thu, 18 Apr 2013 22:22:50 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 5BDAA75A; Thu, 18 Apr 2013 22:22:50 +0000 (UTC) Received: by mail-wi0-f172.google.com with SMTP id hq17so5172478wib.17 for ; Thu, 18 Apr 2013 15:22:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=hZn28ely03Wtj3XpU1j1IwiEAsUYWs89rX5TZY+6QK4=; b=FUzwxUePPIurdRjxfsBdI/lm6oAGOxFNE1qgdI6s9NRQNUKYAb3hWuGKkdakhOrh7Q RDJN/DDn6xixqSlhWuCsvoo76z5+Os1FpE0HuMPRDdpCUuppZoT13Xq75mxUnc6hIEIS vRMwPxJeRjjOMddqog9AYxnmr6eAcEyRG1uQMyrRvB83yhbfiWSfPDZfGUbdXXdwkJV/ pl5K0zopxzlZHyo4iwYD3jLA7DF+8+KRCfoYpjpom6nHLKTz8cJ2ZPjggj2nggba2JVU D8Zqh9y9vKvKo3UdFGwZjp+vZsFdgVIButbe8OniYm+tPDUvdFTFiToAzdgffFuwY/+j 9GdA== MIME-Version: 1.0 X-Received: by 10.194.158.42 with SMTP id wr10mr21746327wjb.23.1366323769482; Thu, 18 Apr 2013 15:22:49 -0700 (PDT) Received: by 10.217.88.129 with HTTP; Thu, 18 Apr 2013 15:22:49 -0700 (PDT) In-Reply-To: <1436485.TxcZPeTyQ4@home.alkar.net> References: <51702dc6.87ee440a.57aa.327e@mx.google.com> <2163177.OYO9r9Iusv@home.alkar.net> <1436485.TxcZPeTyQ4@home.alkar.net> Date: Thu, 18 Apr 2013 15:22:49 -0700 Message-ID: Subject: Re: Atheros 9287 - no carrier . revision 249623. From: Adrian Chadd To: Artyom Mirgorodskiy Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-wireless@freebsd.org" , "freebsd-current@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: Thu, 18 Apr 2013 22:22:51 -0000 Hm! I wonder.. Edit if_athvar.h - change sc_rxchainmask and sc_txchainmask in ath_softc to be uint32_t, rather than int. See if that helps. Adrian On 18 April 2013 15:20, Artyom Mirgorodskiy wrote: > See attached > > > > On Thursday 18 April 2013 15:08:36 Adrian Chadd wrote: > >> On 18 April 2013 15:07, Artyom Mirgorodskiy > >> wrote: > >> > See attached > >> > > >> > >> What the hell? Those masks are really wrong. > >> > >> Try adding this line after it: > >> > >> ath_hal_printf(ah, "%s: pcap rx=0x%x, tx=0x%x; configured rx=0x%x, > >> tx=0x%x\n", __func__, pCap->halRxChainMask, pCap->halTxChainMask, > >> rx_chainmask, tx_chainmask); > > -- > > Artyom Mirgorodskiy