netdev
[Top] [All Lists]

Re: [PATCH] 2.6.3 orinoco.c patch to support ethtool get_link

To: netdev@xxxxxxxxxxx, Thomas Munck Steenholdt <tmus@xxxxxxx>
Subject: Re: [PATCH] 2.6.3 orinoco.c patch to support ethtool get_link
From: Jean Tourrilhes <jt@xxxxxxxxxxxxxxxxxx>
Date: Mon, 8 Mar 2004 10:52:43 -0800
Address: HP Labs, 1U-17, 1501 Page Mill road, Palo Alto, CA 94304, USA.
Cc: Jeff Garzik <jgarzik@xxxxxxxxx>
E-mail: jt@xxxxxxxxxx
Organisation: HP Labs Palo Alto
Reply-to: jt@xxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
Thomas Munck Steenholdt wrote :
> 
> I noticed that there wasn't a good way, from userland, to get the link
> status of an orinoco device.

        I hope you realise that most often link status is meaningless
with Wireless cards. In Ad-Hoc mode, the link is always up, regardless
of the number of nodes in the cell, check the discussion on the HostAP
mailing list. And the Orinoco card will report connected even is WEP
is wrong. But, if you only use managed mode without WEP, that should
work.
        I just wonder if it's better to report a 'link status' that
may be wrong/misleading or to not report anything at all.

        Have fun...

        Jean

<Prev in Thread] Current Thread [Next in Thread>