From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 15 17:05:48 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A4B616A421 for ; Mon, 15 Aug 2005 17:05:48 +0000 (GMT) (envelope-from samuel.pierson@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id B397843D46 for ; Mon, 15 Aug 2005 17:05:47 +0000 (GMT) (envelope-from samuel.pierson@gmail.com) Received: by wproxy.gmail.com with SMTP id i22so1024204wra for ; Mon, 15 Aug 2005 10:05:46 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=iZOasOv5vTo6ElhJXQTLNm7IH3g9lB3mHSxYPWm6ofOFCrz7K9QT60B3JNK2YvkRaA8bmmNn/Syu7jS8LVKIQiB83SRg3ZanjtCKBlFjZDbgIE3tYyZ3gdBYCScQNcr9rfe5c6yWGMpLDUBYe84B+VFI+IoOYUaX8aonenJ4q0Y= Received: by 10.54.37.16 with SMTP id k16mr3709867wrk; Mon, 15 Aug 2005 10:05:46 -0700 (PDT) Received: by 10.54.144.1 with HTTP; Mon, 15 Aug 2005 10:05:46 -0700 (PDT) Message-ID: Date: Mon, 15 Aug 2005 12:05:46 -0500 From: Sam Pierson To: FreeBSD Hackers Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: calling ath_update_txpow X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2005 17:05:48 -0000 Hi all, I have been looking at this function in if_ath.c: static void ath_update_txpow(struct ath_softc *sc) Is there an example somewhere of using this function in a user-space application to control the signal strength? Up until this point I've just been stringing together system() calls saying "ifconfig ath0 txpower" and it's very dirty. I'd like to be able to actually use the device driver and not ifconfig. -Sam