From owner-freebsd-wireless@FreeBSD.ORG Fri Mar 15 13:53:02 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 008A5CF3 for ; Fri, 15 Mar 2013 13:53:01 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ob0-x22c.google.com (mail-ob0-x22c.google.com [IPv6:2607:f8b0:4003:c01::22c]) by mx1.freebsd.org (Postfix) with ESMTP id BBD3F1C6 for ; Fri, 15 Mar 2013 13:53:01 +0000 (UTC) Received: by mail-ob0-f172.google.com with SMTP id tb18so3250814obb.3 for ; Fri, 15 Mar 2013 06:53:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:user-agent:in-reply-to:references:mime-version :content-type:subject:from:date:to:cc:message-id; bh=TL+9E+t8/AnmI/7p5zkPdocc85y89Um+9DxrABQNVj0=; b=RCWslUIUYnW9fxXf+hOMXiDqf4DjxUhc2aMjTcFAu3e33xFgJmpBOPUPKlXLw8zCLy R3YNuNPNnE3+YfSuuLJz3t7oXtKux/XIrOwce6NcLVxYnigLqTBdgl0hP9erTtvSZv+G /+Az3mrSkR7WzsIhKhkQelnVSrlesbMlkO4Zeh+o2ZHwhSXnmXL5iSeRAwjCh+ZKAbNT 87rJyTKZ9lg3rMr2o9jBY0N9yVZThGbjevPV4jxa7WcHcoNbJ42f4yO7l3eMUHaAU+Uo roSzTyF1+cYhHzUya7kRs2bDh9npWBl1oTup11NhO0YhOtxcHB0ru9/tfy5v3uNOex76 /Ehw== X-Received: by 10.60.13.1 with SMTP id d1mr3019496oec.55.1363355581393; Fri, 15 Mar 2013 06:53:01 -0700 (PDT) Received: from [10.182.56.109] (86.sub-70-194-80.myvzw.com. [70.194.80.86]) by mx.google.com with ESMTPS id 4sm1654337obj.7.2013.03.15.06.52.59 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 15 Mar 2013 06:53:00 -0700 (PDT) User-Agent: K-9 Mail for Android In-Reply-To: References: <5142813d.83c2e00a.67a8.39d5@mx.google.com> <514284E5.9060303@gmail.com> <51428E10.1000801@gmail.com> MIME-Version: 1.0 Subject: Re: Fine, OK, here's my initial AR9380/AR9485 support From: Joshua Isom Date: Fri, 15 Mar 2013 08:52:55 -0500 To: Adrian Chadd Message-ID: <78975985-a190-4915-82b5-b1810d6115b2@email.android.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-wireless@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: Fri, 15 Mar 2013 13:53:02 -0000 I got it all working after removing the driver from the kernelconfig and a few other tweaks. I'll post an ugly diff later when I can. I was able to get the network working only after I forced the wired down and commented out the rc.conf references. DHCP worked but no routing, not even the router. I don't know if it's a FreeBSD issue or not. Adrian Chadd wrote: >Did you remove ath/ath_hal/ath_rate_sample from your kernel config >file when you rebuilt? > >The default system ships with ath/ath_hal/ath_rate_sample compiled >into the kernel rather than as modules. > >Thanks, > > > >Adrian > > >On 14 March 2013 19:57, Joshua Isom wrote: >> On 3/14/2013 9:20 PM, Adrian Chadd wrote: >>> >>> Oh! >>> >>> http://wikidevi.com/wiki/TP-LINK_TL-WDN4800 >>> >>> Silly me, I was reading the wrong number on my phone. >>> >>> Yes, 0x0030 is Osprey (AR9380.) >>> >>> kldload if_ath_pci too. :-) >>> >>> >>> >>> Adrian >>> >> >> Something weird happened. My config has ath_pci listed, but then I >get >> this. >> >>> [jri:~] root# kldload if_ath_pci >>> kldload: can't load if_ath_pci: Exec format error >>> [jri:~] root# file /boot/kernel/if_ath_pci.ko >>> /boot/kernel/if_ath_pci.ko: ELF 64-bit LSB relocatable, x86-64, >version 1 >>> (FreeBSD), not stripped >> >> >> Other modules like ath return the standard "already loaded" message.