From owner-freebsd-mobile Mon Jul 15 22:30:26 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70A5137B405 for ; Mon, 15 Jul 2002 22:30:21 -0700 (PDT) Received: from mail.itworks.com.au (mail.itworks.com.au [203.32.61.7]) by mx1.FreeBSD.org (Postfix) with SMTP id 39B8A43E42 for ; Mon, 15 Jul 2002 22:30:20 -0700 (PDT) (envelope-from gavin@itworks.com.au) Received: (qmail 70508 invoked by uid 85); 16 Jul 2002 05:30:19 -0000 Received: from mail.itworks.com.au (HELO mercury.itworks.com.au) (203.32.61.7) by mail.itworks.com.au with SMTP; 16 Jul 2002 05:30:17 -0000 Received: (qmail 70499 invoked by uid 100); 16 Jul 2002 05:30:16 -0000 Date: Tue, 16 Jul 2002 15:30:16 +1000 From: Gavin Cameron To: mobile@freebsd.org Subject: Valid settings for WI_RID_TX_RATE Message-ID: <20020716053016.GG57865@mercury.itworks.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23.2i X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi all, What are the valid settings for wicontrol's -t option ? I ask because the include file dev/wi/if_wavelan_ieee.h says #define WI_RID_TX_RATE 0xFC84 /* data rate for message xmit * 0 == Fixed 1mbps * 1 == Fixed 2mbps * 2 == auto fallback */ and the man page says TX rate NIC speed 1 Fixed Low (1Mbps) 2 Fixed Standard (2Mbps) 3 Auto Rate Select (High) 4 Fixed Medium (4Mbps) 5 Fixed High (6Mbps) 6 Auto Rate Select (Standard) 7 Auto Rate Select (Medium) wicontrol simply does case 't': wi_setword(iface, WI_RID_TX_RATE, atoi(optarg)); exit(0); break; to set the rate. Are we off by one as doing a -t 1 to set the speed to 1Mbps (as per the man page) will set the NIC to 2Mbps (as per the header file). What value should I use with -t to set the NIC to 11Mbps? Thanks and cheers, Gavin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message