From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 18 20:46:27 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D315B16A4F4 for ; Mon, 18 Sep 2006 20:46:27 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84A6443D64 for ; Mon, 18 Sep 2006 20:46:27 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id k8IKkOI2006625 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 18 Sep 2006 13:46:26 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <450F05A0.5070404@errno.com> Date: Mon, 18 Sep 2006 13:46:24 -0700 From: Sam Leffler User-Agent: Thunderbird 1.5.0.4 (X11/20060724) MIME-Version: 1.0 To: Johnny Choque References: <004d01c6db53$e1dbe150$2bba90c1@Altair> In-Reply-To: <004d01c6db53$e1dbe150$2bba90c1@Altair> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: ath driver debug X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Sep 2006 20:46:28 -0000 Johnny Choque wrote: > Hi, > > I would like to know how can I set the ath driver in debug mode. The > scanning functionality of ath0 interface only detect the associated AP but > do not the other ones. I'm trying to use the debug mode in order to detect > what the problem is. My wireless card is D-link DWL-AG660. First, if you've got a problem with scanning turning on debug msgs in the driver is unlikely to help you. Instead turn on debug msgs in the net80211 layer with wlandebug (src/tools/tools/net80211). As to ath debug msgs you need to build the driver with the ATH_DEBUG option. Then you can use athdebug a la wlandebug (src/tools/tools/ath). Sam