[PATCH] libertas: second update on readme file

Luis Carlos Cobo Rus luisca at cozybit.com
Fri Mar 30 19:28:21 EDT 2007


clarify argument list for fwt_add and fwt_list, simplify fwt_list_route
---
 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

-- 
Luis Carlos Cobo Rus       GnuPG ID: 44019B60
cozybit Inc.



More information about the libertas-dev mailing list