From owner-freebsd-current@FreeBSD.ORG Fri Sep 1 19:23:09 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A7A616A4DD for ; Fri, 1 Sep 2006 19:23:09 +0000 (UTC) (envelope-from dandee@hellteam.net) Received: from pipa.vshosting.cz (pipa.vshosting.cz [81.0.201.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6257543D46 for ; Fri, 1 Sep 2006 19:23:08 +0000 (GMT) (envelope-from dandee@hellteam.net) Received: from localhost (localhost [127.0.0.1]) by pipa.vshosting.cz (Postfix) with ESMTP id 20E964E72F for ; Fri, 1 Sep 2006 21:23:08 +0200 (CEST) Received: from pipa.vshosting.cz ([127.0.0.1]) by localhost (pipa [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11633-06 for ; Fri, 1 Sep 2006 21:23:07 +0200 (CEST) Received: from gandalf (unknown [81.0.245.205]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by pipa.vshosting.cz (Postfix) with ESMTP id AA60C4E708 for ; Fri, 1 Sep 2006 21:23:07 +0200 (CEST) From: =?iso-8859-2?Q?Daniel_Dvo=F8=E1k?= To: Date: Fri, 1 Sep 2006 21:23:05 +0200 Message-ID: <00d501c6cdfc$0d18ce60$6508280a@tocnet28.jspoj.czf> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: AcbN/AzC9byzRFWNTsGhQ5LEvwm4Sg== X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at profix.cz Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: atheros driver: countrycode and athdebug X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dandee@volny.cz List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2006 19:23:09 -0000 Hello Sam, may I ask you for countrycode and how it works. In the madwifi driver, currently, their driver does not work with loading the kernel module with parametr countrycode=something, but on the madwifi.org web site, there is information that this feature worked in past, they remarked it worked until new hal 0.9.16.3 was committed to their source tree and it does not work until now, when 0.9.17.2 hal is. http://madwifi.org/ticket/120 I tried to watch the problem on my FreeBSD systems and I found out that in the FreeBSD driver, there is not chance to change anything because read-only oid. roztyly# sysctl hw.ath.countrycode=203 sysctl: oid 'hw.ath.countrycode' is read only roztyly# sysctl dev.ath.0.countrycode dev.ath.0.countrycode: 0 Is this feature planned for FreeBSD atheros driver in the future ? And second question about athdebug It seems it does not work at all, but there are flags or bitmaps defined. # athdebug -i ath0 athdebug: sysctl-get(dev.ath.0.debug): No such file or directory # athdebug -i ath0 xmit athdebug: sysctl-get(dev.ath.0.debug): No such file or directory # uname -a FreeBSD *.*.* 6.1-RELEASE-p5 FreeBSD 6.1-RELEASE-p5 #5: Tue Aug 29 00:38:54 CEST 2006 /usr/obj/usr/src/sys/mykernel i386 # cat /usr/src/tools/tools/ath/athdebug/athdebug.c | grep "athdebug.c" * $FreeBSD: src/tools/tools/ath/athdebug/athdebug.c,v 1.2.2.1 2006/01/31 20:48:20 sam Exp $ In the madwifi 0.9.1 release, there is propably newer version, could it help it to commit ? # cat /usr/src/madwifi-0.9.1/tools/athdebug.c | grep "athdebug.c" * $Id: athdebug.c 1539 2006-05-05 04:17:59Z jbicket $ Thank you for your hard work. Daniel