Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Aug 2005 14:45:17 +0200
From:      =?iso-8859-2?Q?Daniel_Dvo=F8=E1k?= <dandee@hellteam.net>
To:        "'Fredrik Lindberg'" <fli+freebsd-current@shapeshifter.se>, <dandee@volny.cz>
Cc:        freebsd-current@freebsd.org
Subject:   RE: ATHCTRL for ATH
Message-ID:  <20050821124521.744364E704@pipa.profix.cz>
In-Reply-To: <43086FD9.8030002@shapeshifter.se>

next in thread | previous in thread | raw e-mail | index | archive | help
No, ifconfig doesn=B4t support.

You have to do all manually:

roztyly# sysctl dev.ath.0.slottime=3D9
roztyly# sysctl dev.ath.0.ctstimeout=3D180
roztyly# sysctl dev.ath.0.acktimeout=3D180

Unlike Linux:

lsd:/# uname -a
Linux lsd 2.6.11x2 #1 Tue Jul 12 00:37:52 CEST 2005 i686 GNU/Linux
lsd:/# athctrl -i aht0 -d 1000
Setting distance on interface aht0 to 1000 meters
lsd:/# athctrl -i aht1 -d 2500
Setting distance on interface aht1 to 2500 meters

lsd:/# cat /proc/sys/dev/ath0/acktimeout
29
lsd:/# cat /proc/sys/dev/ath0/ctstimeout
29
lsd:/# cat /proc/sys/dev/ath0/slottime
13

lsd:/# cat /proc/sys/dev/ath1/slottime
18
lsd:/# cat /proc/sys/dev/ath1/acktimeout
39
lsd:/# cat /proc/sys/dev/ath1/ctstimeout
39

Dan
-----Original Message-----
From: owner-freebsd-current@freebsd.org
[mailto:owner-freebsd-current@freebsd.org] On Behalf Of Fredrik Lindberg
Sent: Sunday, August 21, 2005 2:13 PM
To: dandee@volny.cz
Cc: freebsd-current@freebsd.org
Subject: Re: ATHCTRL for ATH

Daniel Dvo=F8=E1k wrote:
> I am sorry but I don=B4t understand about modular ifconfig and about =
"to
phase
> out those sorts of programs out". But I am agree about that would be a
> question for Sam.
>=20
> So we have to wait now.
>=20

It's quite simple, there is (and have been) numerous programs to
configure different types of network interfaces (wicontrol, gifconfig,
raycontrol, etc...).
The goal is to phase out all these small programs and allow ifconfig to
do their job instead.
A modular ifconfig allows this without turning the ifconfig code into a
bloated, un-maintainable pile of junk.

In essence, if those "ack+cts" settings you ask for were to be
comitted into the source tree, I guess they would be added to
ifconfig(8) and not as a separate tool.
(Maybe ifconfig already supports this...)

	Fredrik Lindberg

> -----Original Message-----
> From: owner-freebsd-current@freebsd.org
> [mailto:owner-freebsd-current@freebsd.org] On Behalf Of Brooks Davis
> Sent: Sunday, August 21, 2005 3:51 AM
> To: dandee@volny.cz
> Cc: freebsd-current@freebsd.org
> Subject: Re: ATHCTRL for ATH
>=20
> On Sun, Aug 21, 2005 at 03:32:15AM +0200, Daniel Dvorak wrote:
>=20
>>Hi all,
>>
>>I have one question for you. My friend use Linux Debian and he use =
atheros
>>cards with madwifi drivers. Sam work together with others developers =
and I
>>found out that he committed interesting tool for linux users.
>>
>>This tool is athctrl, which you know "athctrl program that sets the
>=20
> ack+cts
>=20
>>timeouts based on the distance between two stations". And I think that
>=20
> this
>=20
>>feature is useful not only for linux users but of course for users of
>=20
> others
>=20
>>os like FreeBSD etc.=20
>>
>>So, I do not know why the tool is not in main tree fbsd, maybe there =
is
>>reason for this and I do not know. Which it is my mistake, so if it is
>=20
> true,
>=20
>>I am sorry. Of course, I could not imagine how much work somebody has =
to
>=20
> do
>=20
>>for this, but I would like to only ask if possible now before final
>=20
> release
>=20
>>6.0 or in the future.
>>
>>Does somebody think somebody could commit this tool for FreeBSD users =
?
>=20
>=20
> It's unlikely athctrl will be commited because we're attempting to =
phase
> those sorts of programs out in favor of a modular ifconfig.  It's not
> clear to me if we the support or not at this point.  That would be a
> question for Sam, but he's on vacation at the moment.
>=20
> -- Brooks
>=20

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to =
"freebsd-current-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050821124521.744364E704>