Date: Wed, 28 Feb 2001 21:35:42 -0800 (PST) From: brooks@minya.sea.one-eyed-alien.net To: FreeBSD-gnats-submit@freebsd.org Subject: bin/25470: ancontrol doesn't output TX rate Message-ID: <20010301053542.6748A24D11@minya.sea.one-eyed-alien.net>
next in thread | raw e-mail | index | archive | help
>Number: 25470 >Category: bin >Synopsis: ancontrol doesn't output TX rate >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 28 21:50:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Brooks Davis >Release: FreeBSD 5.0-CURRENT i386 >Organization: The Aerospace Corporation >Environment: System: FreeBSD minya.sea.one-eyed-alien.net 5.0-CURRENT FreeBSD 5.0-CURRENT #6: Mon Feb 26 20:12:34 PST 2001 root@minya.sea.one-eyed-alien.net:/usr/obj/usr/src/sys/MINYA i386 >Description: Unlike wicontrol, ancontrol provides no way to find out the rate at which the card is transmitting. >How-To-Repeat: Use ancontrol, fail to find the TX rate. >Fix: Apply this patch or similar: Index: ancontrol.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/ancontrol/ancontrol.c,v retrieving revision 1.8 diff -u -r1.8 ancontrol.c --- ancontrol.c 2000/12/31 01:51:22 1.8 +++ ancontrol.c 2001/03/01 03:48:33 @@ -281,6 +281,8 @@ an_printhex((char *)&sts->an_errcode, 1); printf("\nSignal quality:\t\t"); an_printhex((char *)&sts->an_cur_signal_quality, 1); + printf("\nCurrent TX rate:\t[ %d%s ]", sts->an_current_tx_rate/2, + sts->an_current_tx_rate%2 ? ".5" : ""); printf("\nCurrent SSID:\t\t"); an_printstr((char *)&sts->an_ssid, sts->an_ssidlen); printf("\nCurrent AP name:\t"); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010301053542.6748A24D11>