From owner-freebsd-wireless@FreeBSD.ORG Mon Oct 13 19:04:00 2014 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 74B13652 for ; Mon, 13 Oct 2014 19:04:00 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5C23BD6 for ; Mon, 13 Oct 2014 19:04:00 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9DJ40tI028167 for ; Mon, 13 Oct 2014 19:04:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 194336] New: AR9300 pci wireless card no working Date: Mon, 13 Oct 2014 19:04:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 10.1-BETA2 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lukek@fastmail.fm X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 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: Mon, 13 Oct 2014 19:04:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194336 Bug ID: 194336 Summary: AR9300 pci wireless card no working Product: Base System Version: 10.1-BETA2 Hardware: Any OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: wireless Assignee: freebsd-wireless@FreeBSD.org Reporter: lukek@fastmail.fm My wireless Atheros pci card is not working. It may have something to do with the HAL_CTRY_CODE value in ah_regdomain.c:ath_hal_init_channels(). Debugging in ath_hal_init_channels() shows these values: HAL_CTRY_CODE = 0 HAL_REG_DOMAIN = 240 return status of 12 (indicating invalid fcn parameter value?) -----------------------------uname -a------------------------------ FreeBSD 10.1-RELEASE-p2 #12 02b9957(stable/10) root@bellicose:/usr/obj/root/pcbsd-build-10-STABLE/git/freebsd/sys/GENERIC amd64 -----------------------------pciconf-------------------------------- none2@pci0:4:0:0: class=0x028000 card=0x3a7e1186 chip=0x0030168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR9300 Wireless LAN adaptor' class = network -----------------------------dmesg--------------------------------- hdac1: mem 0xfeb44000-0xfeb47fff irq 18 at device 1.1 on pci0 hdac1: hdac_get_capabilities: Invalid corb size (0) device_attach: hdac1 attach returned 6 ath0: mem 0xfea00000-0xfea1ffff irq 16 at device 0.0 on pci4 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 hdac1: mem 0xfeb44000-0xfeb47fff irq 18 at device 1.1 on pci0 hdac1: hdac_get_capabilities: Invalid corb size (0) device_attach: hdac1 attach returned 6 ath0: mem 0xfea00000-0xfea1ffff irq 16 at device 0.0 on pci4 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 -- You are receiving this mail because: You are the assignee for the bug.