Return-path: Received: from mail-fx0-f46.google.com ([209.85.161.46]:32819 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750758Ab1JZTjr (ORCPT ); Wed, 26 Oct 2011 15:39:47 -0400 Received: by faan17 with SMTP id n17so1899212faa.19 for ; Wed, 26 Oct 2011 12:39:45 -0700 (PDT) Message-ID: <4EA861F5.4020200@googlemail.com> (sfid-20111026_213950_534838_B87FD74A) Date: Wed, 26 Oct 2011 21:39:33 +0200 From: Chiefdome MIME-Version: 1.0 To: Larry Finger CC: linux-wireless@vger.kernel.org Subject: Re: Alfa AWUS036NHR with RTL8188RU chipset References: <4E77F631.3030202@googlemail.com> <4E907FB8.1040101@lwfinger.net> <4E91B400.1020305@lwfinger.net> <4E9A4647.60901@lwfinger.net> <4E9C42CF.5010702@lwfinger.net> <4E9CF13A.7060102@lwf inger.net> <4E9D9953.3020601@lwfinger.net> <4E9E052F.8090705@lwfinger.net> <4E9EBDD3.6060907@lwfinger.net> <4E9F97B4.5010304@lwfinger.net> <4EA023B2.5000402@lwfinger.net> <4EA82BFE.1070105@googlemail.com> <4EA83160.4080405@lwfinger.net> In-Reply-To: <4EA83160.4080405@lwfinger.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: On 10/26/2011 06:12 PM, Larry Finger wrote: > On 10/26/2011 10:49 AM, Chiefdome wrote: >> Is there a way to set the tx-power over 20dbm on the adapter? >> I thought it is able to do 2w. There is no way for me to get it over >> 20 dbm. >> When trying to to set the adapter with "iwconfig wlan1 set txpower >> 30" it answers >> >> Error for wireless request "Set Tx Power" (8B26) : >> SET failed on device wlan1 ; Invalid argument. >> >> I think there has to be done some work in the code but where do I start? >> >> Thanks for all replys. > > The WEXT interface is deprecated. It is there as a convenience, but it > will not be extended. To change the power setting, you need to use the > iw utility. The specific commands are: > > iw dev set txpower [] > > or > > iw phy set txpower [] > > The maximum power will be dependent on your regulatory domain setting. > > Larry Did you tested the commands you posted to me? Anyway here they do nothing. I cant see any changes in iwconfig nor in in iw. iw reg get country 00: (2400 - 2494 @ 40), (N/A, 33) (4910 - 5895 @ 40), (N/A, 33) so after my regulatory domain I should be able to change the adapter settings. Chiefdome