atheros driver: countrycode and athdebug

From: Daniel Dvořák <dandee_at_hellteam.net>
Date: Fri, 1 Sep 2006 21:23:05 +0200
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      <mailto:stayd_at_bgpcube.jspoj.czf:/usr/obj/usr/src/sys/BGPCUBE>
/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
Received on Fri Sep 01 2006 - 17:23:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:59 UTC