From owner-freebsd-mobile@FreeBSD.ORG Fri Jun 20 14:14:28 2003 Return-Path: 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 0115E37B41A for ; Fri, 20 Jun 2003 14:14:28 -0700 (PDT) Received: from sec.ms.mff.cuni.cz (sec.ms.mff.cuni.cz [195.113.17.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E38A43F3F for ; Fri, 20 Jun 2003 14:14:26 -0700 (PDT) (envelope-from vaclav.petricek@mff.cuni.cz) Received: from localhost (localhost [127.0.0.1]) by sec.ms.mff.cuni.cz (8.12.8/8.12.8) with ESMTP id h5KLLUIV032581 for ; Fri, 20 Jun 2003 23:21:30 +0200 (CEST) (envelope-from vaclav.petricek@mff.cuni.cz) Date: Fri, 20 Jun 2003 23:21:30 +0200 (CEST) From: Vaclav Petricek X-X-Sender: petricek@sec.ms.mff.cuni.cz To: freebsd-mobile@freebsd.org In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: ALC and TEST MODE 15 (was: ACL and TEST MODE 15) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2003 21:14:28 -0000 First of all sorry for systematically using ACL instead of correct ALC. After looking through linux source I came to the conclusion that the WI_DEBUG_CONFBITS section should disable the ALC. When I was testing this it did not happen :-( On ZCOM XI 325H I would understand as I heard they do not support manual txpower regulation. But I was assured that another one I tried supports manual setting and still it did not work. The reported output levels were still oscilating although around a different level than high power cards. Does anyone know if - it is possible to convert the high power cards to manually tunable just by firmware upgrade? - the cards report whether the txpower may be manually set? Vaclav > ------------------------------------------------------------ > static void > wi_writepower(const char *iface, int power) > { > struct wi_req wreq; > > wreq.wi_type = WI_DEBUG_CONFBITS; // > wreq.wi_val[0] = 1; // > wreq.wi_val[1] = 0x8; // ??? > wreq.wi_len = 1 + 1 + 1; // > wi_setdebug(iface, &wreq); // > > wreq.wi_type = WI_RID_MIF; > wreq.wi_val[0] = WI_HFA386X_CR_MANUAL_TX_POWER; > wreq.wi_val[1] = power; > wreq.wi_len = 1 + 1 + 1; > wi_setval(iface, &wreq); > } > ------------------------------------------------------------