Modify Txpower

Jar jar
Fri Apr 22 09:42:31 PDT 2005


> Hi,
>
>  I have build a small network, based on WPA and 802.1x authentication
> sistem. In this network there are two access point (Hostap driver-Based)
> connected with a cabled DS to an Access Server. At this time I need to
> reduce the transmission power for simulate the handover, but when I try to
> do it i receive these message:
>
> #########################################
> $iwconfig wlan0 txpower 10
> Error for wireless request "Set Txpower" (8B26):
>   SET failed on device wlan0; Operation not supported.
> #########################################
>
> Anyome now why?

If I remember correctly Jouni didn't like the principle how the txpower is
implemented in the hostap driver. That's why is is currently commmented out.

But instead you can try to use iwpriv to do the same:

To e.g. max. power:
# Turn off alc.
/sbin/iwpriv wlan0 alc 0
# Set TX power (0...255) min=127, max=128
/sbin/iwpriv wlan0 writemif 62 128

To normal:
# Turn on alc.
/sbin/iwpriv wlan0 alc 1

-- 
Best Regards, Jar




More information about the Hostap mailing list