From owner-freebsd-wireless@freebsd.org Sat Jul 23 03:01:12 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 35E41BA219D for ; Sat, 23 Jul 2016 03:01:12 +0000 (UTC) (envelope-from gustavus700@gmail.com) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BBA0A1BBA for ; Sat, 23 Jul 2016 03:01:11 +0000 (UTC) (envelope-from gustavus700@gmail.com) Received: by mail-wm0-x235.google.com with SMTP id o80so88167521wme.1 for ; Fri, 22 Jul 2016 20:01:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=DWu7RCMMVohAm4a4ss5sHTeIYwMhmklo7K4XLFeQBlc=; b=Kz1B3w+fxynVIs58kgQLalN9yK85L8D7sFTeY016OELGrrKA1MbenJJPrIudEJyyae josy5YsmPuDk/rHdy3zOLFf9kflzZUe52Xmok6gQbj3x1Ov9q4DNzYoUDDcpCtwY+bM3 BwQcJ9cd3hi1Wb6tl6QODygyjZBbeGzGI6albrUZFysH1NCtoYiyFWpftxvv2z5FsTNa XMFzDSRYKvzJ8XQ5ZZwQET9ATRQiqzVY62lG7Q9vdl1tJto5vVgR5aRPBXnk4d45iuKn S1FZE73IRZmKfTt33uqHi5GNQ3FclhHllLqzDn10aAxccPavRCFeM0YYW+W8PeGGrcFJ zpXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=DWu7RCMMVohAm4a4ss5sHTeIYwMhmklo7K4XLFeQBlc=; b=k6x67nOXJWjOY73N8wTCHsAs8YpbZ1uYSdWiDHq7wGNvQqIkcoToKkXMsIIYmHBJaQ dAhoSwUjxGfzJ6mqqYmfgRASb9vW0Dkkitmf9zPGeAIjYz+1zB/z5mNaVAh1lo8BwdFt oahLgggNwsTeT0GVa+3EYPTVkJvh9a83KE+dOU6+0J5Guta62oUKTBN8Atd6po08aXQH u8Uzw1iYukZQXSO05PkFfWD+2so9Cw2hYQQRUGb1UHCFOTJ0R72pwo00m/vakJKrUL69 Kq7WN/9DwvD1gor3hAERHQVFKKwXsXF5SDXUMeGvI2HGbYIOplRquu5AAXmQ0eo70Euj xqZQ== X-Gm-Message-State: ALyK8tIGdhLVouCHihibAfMsdjUoz+aAouAsk38bJNIeFuF2CD1YJJqXLXDXP2cwA9O6Rd8I5JJoOP7eEkfFGw== X-Received: by 10.28.101.5 with SMTP id z5mr29560135wmb.9.1469242869730; Fri, 22 Jul 2016 20:01:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.234.89 with HTTP; Fri, 22 Jul 2016 20:01:09 -0700 (PDT) From: a gustavus Date: Fri, 22 Jul 2016 22:01:09 -0500 Message-ID: Subject: ath driver not attaching to TP-LINK TL-WDN4800 nic To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Sat, 23 Jul 2016 03:01:12 -0000 Hi, I have the TP-LINK TL-WDN4800 nic with ar9380 chipset. The ath driver is not attaching to the nic. Below is some information on the system. Any ideas on the problem. I have no experience with drivers and haven't found much online. Thanks for reading this. uname -a: FreeBSD pfSense.localdomain 10.3-RELEASE-p3 FreeBSD 10.3-RELEASE-p3 #1 3ef16fb(RELENG_2_3_1): Tue May 17 19:34:13 CDT 2016 root@ce23-amd64-builder:/builder/pfsense-231/tmp/obj/bu ilder/pfsense-231/tmp/FreeBSD-src/sys/pfSense amd64 dmesg: ath0: mem 0xdfce0000-0xdfcfffff irq 17 at device 0.0 on pci2 ar9300_set_stub_functions: setting stub functions ar9300_set_stub_functions: setting stub functions ar9300_attach: calling ar9300_hw_attach ar9300_hw_attach: calling ar9300_eeprom_attach ar9300_flash_map: unimplemented for now Restoring Cal data from DRAM Restoring Cal data from EEPROM ar9300_hw_attach: ar9300_eeprom_attach returned 0 ath0: RX status length: 48 ath0: RX buffer size: 4096 ath0: TX descriptor length: 128 ath0: TX status length: 36 ath0: TX buffers per descriptor: 4 ar9300_freebsd_setup_x_tx_desc: called, 0x0/0, 0x0/0, 0x0/0 ath0: ath_getchannels: unable to collect channel list from hal, status 12 device_attach: ath0 attach returned 22 pciconf -l -bcev: none1@pci0:2:0:0: class=0x028000 card=0x3112168c chip=0x0030168c rev=0x01 hdr=0x00 vendor = 'Qualcomm Atheros' device = 'AR93xx Wireless Network Adapter' class = network bar [10] = type Memory, range 64, base 0xdfce0000, size 131072, enabled cap 01[40] = powerspec 3 supports D0 D1 D3 current D0 cap 05[50] = MSI supports 4 messages, 64 bit, vector masks cap 10[70] = PCI-Express 2 endpoint max data 128(128) RO link x1(x1) speed 2.5(2.5) ASPM disabled(L0s/L1) ecap 0001[100] = AER 1 0 fatal 0 non-fatal 0 corrected ecap 0002[140] = VC 1 max VC0 ecap 0003[300] = Serial 1 0000000000000000