From owner-freebsd-wireless@FreeBSD.ORG Wed Mar 27 23:47:56 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 D266A162; Wed, 27 Mar 2013 23:47:56 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) by mx1.freebsd.org (Postfix) with ESMTP id 9A00BA2A; Wed, 27 Mar 2013 23:47:56 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id 17so11060527iea.12 for ; Wed, 27 Mar 2013 16:47:56 -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:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=85otIHD65fA1gfxnSzJ4sauT1EnVXLJtgrlnXnwyYiI=; b=ty/TLS32HXmZBz0E4U+mEAjtgHx94YiaIllbH5h1dW6uPzV9eTwgwxLWd21NH9YYns nDR2NqlVjhJy7aTGsNnTJB69bYVgDzLopTCLF6BW1Jg4pMn4tzoI7zbEFmJpieM7DVB3 ArWpY58x1/7xjTXb9cnrSTFw+97Pfr19ypFH8F7QEaG+CB1T8QDMoqrqIY+nC/rJllvC HLzpaAZb4maB3AFfjDQIiL4mDGkwzgdkWopeamBjVXg5qFwtwhi5MGVohBZlvJFXGHLV 4iYq/gwVxI6iQwik1xMoOGNBRRLdgeZA/ATTR32tUGYX6T0Q5EDMw5ua1wcCwIrpx6C9 4P3A== X-Received: by 10.50.181.201 with SMTP id dy9mr5709060igc.18.1364428076329; Wed, 27 Mar 2013 16:47:56 -0700 (PDT) Received: from [192.168.1.44] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPS id hi4sm9404279igc.6.2013.03.27.16.47.55 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Mar 2013 16:47:55 -0700 (PDT) Message-ID: <5153852A.1040508@gmail.com> Date: Wed, 27 Mar 2013 18:47:54 -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: Adrian Chadd Subject: Re: [wip] ar9300 hostap support References: <51522277.6040107@gmail.com> <51523B6F.5010506@gmail.com> <51538239.9030903@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Wed, 27 Mar 2013 23:47:56 -0000 On 3/27/2013 6:37 PM, Adrian Chadd wrote: > On 27 March 2013 16:35, Joshua Isom wrote: > >> So far 22 hours uptime. Other than what's probably debug messages, >> everything seems to be working fine. > > Please post the debug messages. Anything the driver spits out needs to > be fixed. :-) > > > > Adrian > Maybe this way will be somewhat easy to work with. > [jri:~] jisom% dmesg | grep '\(ath\|ar9300\|wlan0\)' | uniq > ath0: mem 0xfdec0000-0xfdedffff irq 16 at device 0.0 on pci2 > 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 > 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_edma_setup_rxfifo: type=0, FIFO depth = 16 entries > ath0: ath_edma_setup_rxfifo: type=1, FIFO depth = 128 entries > ath0: [HT] enabling HT modes > ath0: [HT] enabling short-GI in 20MHz mode > ath0: [HT] 1 stream STBC receive enabled > ath0: [HT] 1 stream STBC transmit enabled > ath0: [HT] 3 RX streams; 3 TX streams > ath0: AR9380 mac 448.3 RF5110 phy 0.0 > ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000 > ar9300_Stub_GetCTSTimeout: called > ar9300_Stub_GetAntennaSwitch: called > wlan0: Ethernet address: 64:70:02:18:6d:95 > ath0: ath_edma_recv_proc_queue: handled npkts 0 > ath0: ath_edma_recv_tasklet: sc_inreset_cnt > 0; skipping > ath0: ath_edma_recv_proc_queue: handled npkts 0 > ath0: ath_edma_recv_tasklet: sc_inreset_cnt > 0; skipping > ath0: ath_edma_recv_proc_queue: handled npkts 0 > ath0: ath_edma_tx_processq: Q1: empty? > ath0: ath_edma_recv_proc_queue: handled npkts 0 > ar9300_reset[4253]: ar9300_stop_dma_receive failed > ath0: ath_edma_recv_proc_queue: handled npkts 0 > wlan0: link state changed to DOWN > ath0: ath_edma_recv_proc_queue: handled npkts 0 > wlan0: link state changed to UP > ath0: ath_edma_recv_proc_queue: handled npkts 0 > ar9300_reset[4253]: ar9300_stop_dma_receive failed > ath0: ath_edma_recv_proc_queue: handled npkts 0 > ar9300_reset[4253]: ar9300_stop_dma_receive failed > ath0: ath_edma_recv_proc_queue: handled npkts 0 > ar9300_reset[4253]: ar9300_stop_dma_receive failed > ath0: ath_edma_recv_proc_queue: handled npkts 0 > ar9300_reset[4253]: ar9300_stop_dma_receive failed > ath0: ath_edma_recv_proc_queue: handled npkts 0 > ar9300_reset[4253]: ar9300_stop_dma_receive failed > ath0: ath_edma_recv_proc_queue: handled npkts 0 > ar9300_reset[4253]: ar9300_stop_dma_receive failed > ath0: ath_edma_recv_proc_queue: handled npkts 0 > wlan0: link state changed to DOWN > ath0: ath_edma_recv_proc_queue: handled npkts 0 > wlan0: link state changed to UP > ath0: ath_edma_recv_proc_queue: handled npkts 0 > wlan0: link state changed to DOWN > ath0: ath_edma_recv_proc_queue: handled npkts 0 > wlan0: link state changed to UP > ath0: ath_edma_recv_proc_queue: handled npkts 0 > wlan0: link state changed to DOWN > ath0: ath_edma_recv_proc_queue: handled npkts 0 > wlan0: link state changed to UP > ath0: ath_edma_recv_proc_queue: handled npkts 0 > ar9300_reset[4253]: ar9300_stop_dma_receive failed > ath0: ath_edma_recv_proc_queue: handled npkts 0 > ar9300_reset[4253]: ar9300_stop_dma_receive failed > ath0: ath_edma_recv_proc_queue: handled npkts 0 > ar9300_reset[4253]: ar9300_stop_dma_receive failed > ath0: ath_edma_recv_proc_queue: handled npkts 0 > wlan0: link state changed to DOWN > ath0: ath_edma_recv_proc_queue: handled npkts 0 > wlan0: link state changed to UP > ath0: ath_edma_recv_proc_queue: handled npkts 0 > wlan0: link state changed to DOWN > ath0: ath_edma_recv_proc_queue: handled npkts 0 > wlan0: link state changed to UP > ath0: ath_edma_recv_proc_queue: handled npkts 0 > [jri:~] jisom% dmesg | grep 'ath0: ath_edma_recv_proc_queue: handled npkts 0' | wc -l > 1246