From owner-freebsd-current@FreeBSD.ORG Tue Nov 11 13:52:10 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 367B016A4CE for ; Tue, 11 Nov 2003 13:52:10 -0800 (PST) Received: from marge.icomtek.csir.co.za (marge.icomtek.csir.co.za [146.64.28.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E05043FE3 for ; Tue, 11 Nov 2003 13:52:05 -0800 (PST) (envelope-from jhugo@icomtek.csir.co.za) Received: from jeep.icomtek.csir.co.za (jeep.icomtek.csir.co.za [146.64.28.29])hABLq22v036336 for ; Tue, 11 Nov 2003 23:52:02 +0200 (SAST) (envelope-from jhugo@icomtek.csir.co.za) Content-Type: text/plain; charset="iso-8859-1" From: Johann Hugo To: current@freebsd.org Date: Tue, 11 Nov 2003 23:52:02 +0200 X-Mailer: KMail [version 1.4] References: <344312645.1063725379@melange.errno.com> In-Reply-To: <344312645.1063725379@melange.errno.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200311112352.02252.jhugo@icomtek.csir.co.za> Subject: atheros (ath) driver - media option X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2003 21:52:10 -0000 Hi I've just started playing with some D-link DWL-AG520 PCI adapters with the Atheros 5212 chipset. The one adapter is configured in hostap mode, and the other one as a client. When I set the media option to a lower speed that the maximum, then it only works for the adapter in client mode, but it does not seem to work for the adapter that is in hostap mode. I've tried it on 11a, 11b and 11g at all the supported rates, but the tx speed always defaults to the maximum for the selected mode. I'm using -current from September 07th. e.g. > ifconfig ath0 media DS/1Mbps mode 11b mediaopt hostap ssid ath101 channel 11 >wicontrol ath0 NIC serial number: [ ] Station name: [ atheros.icomtek.csir.co.za ] SSID for IBSS creation: [ ath101 ] Current netname (SSID): [ ath101 ] Desired netname (SSID): [ ath101 ] Current BSSID: [ 00:05:5d:95:f0:04 ] Channel list: [ ffe ] IBSS channel: [ 11 ] Current channel: [ 11 ] Comms quality/signal/noise: [ 0 8 0 ] Promiscuous mode: [ Off ] Intersil-Prism2 based card: [ 1 ] Port type (1=BSS, 3=ad-hoc): [ 6 ] MAC address: [ 00:05:5d:95:f0:04 ] TX rate (selection): [ 1 ] TX rate (actual speed): [ 11 ] <---------------------- RTS/CTS handshake threshold: [ 2312 ] Create IBSS: [ Off ] Access point density: [ 1 ] Power Mgmt (1=on, 0=off): [ 0 ] Max sleep time: [ 100 ] WEP encryption: [ Off ] TX encryption key: [ 1 ] Encryption keys: [ ][ ][ ][ ] Is this correct, or should the tx rate (actual speed) be the same as the media setting ? Regards Johann