From owner-freebsd-wireless@FreeBSD.ORG Sun Mar 31 16:13:39 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E728F5EB for ; Sun, 31 Mar 2013 16:13:39 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ye0-f170.google.com (mail-ye0-f170.google.com [209.85.213.170]) by mx1.freebsd.org (Postfix) with ESMTP id B03DE24E for ; Sun, 31 Mar 2013 16:13:39 +0000 (UTC) Received: by mail-ye0-f170.google.com with SMTP id q9so263747yen.29 for ; Sun, 31 Mar 2013 09:13:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=E78eS3pgTm53r6mgt8jzVQliX+vO7td7rEjZE3XM7SA=; b=T2H3x3AYPRo0j3Ov4phaPWq6HHBJmfLtdUiYM0wwRGi0HgXVizbKN6l+CLT6x3/OI0 nU3sXPQt0Nm7RzxfWaPIcrWo6uCCigF5IFBz0l029tDVC+ABqxtXF53VUmAYXqtqtzZC O7WsA1jQYnTFt3FmSgrDdvmsGMDS/DLFoIqqU4h4jNebtV6fgtvICd1PncsA0bYpSANe syNl1/0+w7zuZwRefwLvDguPzzgyudQ7x1TT5uYUEc7YrmjwfB2PWWnymPZ5mczW+/HQ GPcPzzQu+Nf0EwPlKo/aL5xLn4gFF1TdUen2rLEw6qsLNMMEDdl/798ZxD42mmiZZiqK bxdg== X-Received: by 10.236.149.1 with SMTP id w1mr6949025yhj.46.1364746418827; Sun, 31 Mar 2013 09:13:38 -0700 (PDT) Received: from [192.168.1.34] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPS id h6sm19616456yhf.19.2013.03.31.09.13.37 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 31 Mar 2013 09:13:38 -0700 (PDT) Message-ID: <515860AD.2040003@gmail.com> Date: Sun, 31 Mar 2013 11:13:33 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: freebsd-wireless@freebsd.org Subject: Re: [rft] ar9300 HAL updated References: <86bo9z39q0.fsf@orwell.Elisa> In-Reply-To: <86bo9z39q0.fsf@orwell.Elisa> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Sun, 31 Mar 2013 16:13:40 -0000 On 3/31/2013 9:49 AM, Raphael Kubo da Costa wrote: > The first error I got was in ar9300_radio.c:90 -- clang complained > `ichan' was not being used. I keep forgetting about this, but if you open the file go to line 89 and change the ifdef to '#if 0' it'll compile. Also, for your kernel config, generic won't work. Comment out the device lines for ath, ath_pci, and ath_hal. Three options need added, so it'll look like this. #device ath # Atheros NICs #device ath_pci # Atheros pci/cardbus glue #device ath_hal # pci/cardbus chip support options ATH_DEBUG options AH_DEBUG options ATH_DIAGAPI options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors options AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation options ATH_ENABLE_11N # Enable 802.11n support for AR5416 and later #device ath_rate_sample # SampleRate tx rate control for ath You can add 'if_ath_load="YES"' and 'if_ath_pci_load="YES"' to your loader.conf to get it loaded on boot.