[PATCH] libertas: second update on readme file

Dan Williams dcbw at redhat.com
Sun Apr 15 13:57:43 EDT 2007


On Fri, 2007-03-30 at 16:28 -0700, Luis Carlos Cobo Rus wrote:
> clarify argument list for fwt_add and fwt_list, simplify fwt_list_route

Applied.

> ---
>  drivers/net/wireless/libertas/README |   31 ++++---------------------------
>  1 files changed, 4 insertions(+), 27 deletions(-)
> 
> diff --git a/drivers/net/wireless/libertas/README
> b/drivers/net/wireless/libertas/README
> index ba918ae..c2f63c6 100644
> --- a/drivers/net/wireless/libertas/README
> +++ b/drivers/net/wireless/libertas/README
> @@ -655,7 +655,7 @@ fwt_add
>  	This command is used to insert an entry into the FWT table. The list of
>  	parameters must follow the following structure:
> 
> -	iwpriv ethX fwt_add da ra [metric dir ssn dsn hopcount ttl
> expiration sleepmode snr]
> +	iwpriv ethX fwt_add da ra [metric dir rate ssn dsn hopcount ttl
> expiration sleepmode snr]
> 
>  	The parameters between brackets are optional, but they must appear in
>  	the order specified.  For example, if you want to specify the metric,
> @@ -730,7 +730,8 @@ fwt_list
> 
>  	The output is a string of the following form:
> 
> -		da ra metric dir ssn dsn hopcount ttl expiration sleepmode snr
> +		da ra valid metric dir rate ssn dsn hopcount ttl expiration
> +		sleepmode snr precursor
> 
>  	where the different fields are:-
>  		da		-- DA MAC address (in the form "00:11:22:33:44:55")
> @@ -750,31 +751,7 @@ fwt_list
>  		precursor	-- predecessor in direct routes
> 
>  fwt_list_route
> -	This command is used to list a route from the FWT table. The only
> -	parameter is the route ID. If you want to list all the routes in a
> -	table, start with rid=0, and keep incrementing rid until you get a
> -	"(null)" string. This function is similar to fwt_list. The only
> -	difference is the output format.  Also note that this command is meant
> -	for debugging.  It is expected that users will use fwt_lookup and
> -	fwt_list.  One important reason for this is that the route id may change
> -	as the route table is altered.
> -
> -		iwpriv ethX fwt_list_route rid
> -
> -	The output is a string of the following form:
> -
> -		da metric dir nid ssn dsn hopcount ttl expiration
> -
> -	where the different fields are:-
> -		da		-- DA MAC address (in the form "00:11:22:33:44:55")
> -		metric		-- route metric (cost: smaller-metric routes are preferred)
> -		dir		-- direction (1 for direct, 0 for reverse)
> -		nid		-- Next-hop (neighbor) host ID (nid)
> -		ssn		-- Source Sequence Number (time at the RA for reverse routes)
> -		dsn		-- Destination Sequence Number (time at the DA for direct routes)
> -		hopcount	-- hop count (currently unused)
> -		ttl		-- TTL count (only used in reverse entries)
> -		expiration	-- entry expiration (in ticks, where a tick is 1024us,
> or ~ 1ms. Use 0 for an indefinite entry)
> +	This command is equivalent to fwt_list.
> 
>  fwt_list_neigh
>  	This command is used to list a neighbor from the FWT table. The only
> -- 
> 1.4.3
> 




More information about the libertas-dev mailing list