On (06/26/07 12:52), Garrett D'Amore wrote:
>>
>> # dladm show-linkprop wpi0
>> LINK         PROPERTY        VALUE          DEFAULT        POSSIBLE
>> wpi0         channel         10             --             --
>> wpi0         powermode       ?              off            off,fast,max
>> wpi0         radio           ?              on             on,off
>> wpi0         speed           54             --             
>> 1,2,5.5,6,9,11,12,18,
>> 24,36,48,54
>> wpi0         zone            --             --             --
>>
>> WiFi properties:
>>
>> LINK       STATUS            ESSID               SEC    STRENGTH   MODE   
>> SPEED
>> wpi0       connected         Radio Lsys          wep    very good  g      
>> 54Mb
>>
> This just doesn't make sense to me.
>
> A bunch of the properties above (powermode, radio, channel) are really 
> wifi-only properties.

I agree.  I was actually just cutting/pasting current output
from a laptop.. the first table is what we print for show-linkprop today.
My own intuition would have been that the first table
(show-linkprop) should be really sparse and general, maybe not even
have the DEFAULT/POSSIBLE fields? And the second one should have all
the details.

I suspect that the first table shows the r/w properties, hence
the DEFAULT/POSSIBLE columns.

>
> I would really prefer to have two separate commands:
>
> * show-linkprop which displays all properties in all their glory (and 

I personally think show-linkprop should be terse, esp. if we also
have a separate "show-<linktype>" command.

> * show-dev or somesuch, which displays the device details in a manner that 

show-dev currently shows what devices are available.
I think CV's "show-<linktype>" is what you may have in mind.

--Sowmini


Reply via email to