From owner-freebsd-wireless@FreeBSD.ORG Fri Mar 15 20:20:23 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 3D3902B0 for ; Fri, 15 Mar 2013 20:20:21 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x230.google.com (mail-we0-x230.google.com [IPv6:2a00:1450:400c:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id A23E8FA9 for ; Fri, 15 Mar 2013 20:20:20 +0000 (UTC) Received: by mail-we0-f176.google.com with SMTP id s43so3629974wey.35 for ; Fri, 15 Mar 2013 13:20:19 -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=ks+UdVOYOybaOfYlnOTNoXiNf+Ol45CVCU39MT3SoTs=; b=nkT6Golh5G4hBToN5lgUINWTL9GdGWxmR5XfAbw1hcHidCNa5LQ2q2K9ohDZcsnE0P //B4Q66vySsBfVRSSsd5UWThDb9FAr3pFfxlu7LP1YeNflFUAQnoU16Q+7pdeVqhcSGC Qc2yZ6XuktqGbsvnIktQHB787BZbWFph0Lsr3UuQcdwGhTGX+3pOou3d+uYtcwXuRV9q 5D+HL1nJK3e1cTyvUeDZgBwajIWGTcLc2W4zjhq2RsbCwp/gFL+mCy7k13mpsM2UpNcY +R1J3NYCKN0PJKmVu8ERMiVkkEuEkPnykHv2l7ieoo6YsHBC2V/tqHdv5IzWEwvkG5vh 0MkA== MIME-Version: 1.0 X-Received: by 10.180.86.1 with SMTP id l1mr5471433wiz.32.1363378819240; Fri, 15 Mar 2013 13:20:19 -0700 (PDT) Received: by 10.216.111.201 with HTTP; Fri, 15 Mar 2013 13:20:19 -0700 (PDT) In-Reply-To: References: <5142813d.83c2e00a.67a8.39d5@mx.google.com> <514284E5.9060303@gmail.com> <51428E10.1000801@gmail.com> <78975985-a190-4915-82b5-b1810d6115b2@email.android.com> Date: Fri, 15 Mar 2013 13:20:19 -0700 Message-ID: Subject: Re: Fine, OK, here's my initial AR9380/AR9485 support From: Adrian Chadd To: Joshua Isom Content-Type: text/plain; charset=ISO-8859-1 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 20:20:23 -0000 ... and can you please post a dmesg output, so I can see it actually attaching right? :) Adrian On 15 March 2013 09:00, Adrian Chadd wrote: > Yes, you can't have both ethernet and wireless up on the same L2 > network like that; things will get confused. > > Does it all work fine if you don't have ethernet configured? > > > adrian > > On 15 March 2013 06:52, Joshua Isom wrote: >> 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.