[Voyage-linux] Output power troubles
Steve Wagor
(spam-protected)
Thu Nov 3 02:22:09 HKT 2005
Regarding NL2511MP Prism based radios on Voyage and my two cents.
iwpriv wlan0 alc 0
iwpriv wlan0 writemif 62 128
iwpriv wlan0 readmif 62 (CR31)
iwpriv wlan0 readmif 116 (CR58)
# Setpower script for HostAP devices
iwpriv wlan0 alc 0 > /dev/null 2>&1
iwpriv wlan0 writemif 62 %VALUE% > /dev/null 2>&1
======================================================
/sbin/iwconfig wlan0 txpower xxxx
Does NOT work for setting values for txpower. You can only issue off or
auto.
Seems you can lowlevel poke and peek values into the card for txpower on
Prism still. The main problem is, they say the settings don't stay forever.
Everyone suggests putting in a cron every 5 minutes to reissue the
commands.
If you want to see what is in the register 62 spot then you do:
/sbin/iwpriv wlan0 readmif 62
If you want to change that value you have to do:
/sbin/iwpriv wlan0 alc 0
/sbin/iwpriv wlan0 writemif 62 128
# Setpower script for HostAP devices, save as /root/Setpower
/sbin/iwpriv wlan0 alc 0 > /dev/null 2>&1
/sbin/iwpriv wlan0 writemif 62 128 > /dev/null 2>&1
Create a file called /root/crontab and put this in there:
*/5 * * * * /root/Setpower
Then do:
crontab /root/crontab
Now you may want to put that into some autostart file as well.
The value of 128 put into register 62 is on some weird scale where 128 is
the highest number and 127 is the lowest and the numbers 0 or 255 means 50%.
Nobody can tell you what value to put into register 62 for a specific card
to get a specific txpower out of it. The reason for this is a 200mW card
will output something different than a 50mW card does when at 100% or even
50%.
You might try
/sbin/iwpriv wlan0 writemif 62 190
instead of 128 as 190 is evidently lowering the output a bit.
They do usually suggest output to be slightly less than max though for the
card so that it is not over doing it. They liken it to a stereo that is
turned up to it's max and how it has distortion.
Steve...
On 11/2/05, Jerry <mrcool at terraworld.net> wrote:
>
> Hello!
>
> That is very interesting, as I have noticed myself that the 2511mp s that
> I
> have seem to be weak when you compare them to the CB3 or the 2511 pcmcia
> card that is in the CB3...
>
> Thanks for the info. Probably what I have with my luck, (100mw) but I dont
> have a way to test them. :( oh well
>
> Thanks all
>
> Jerryf
>
>
> > Also, there are versions of the MP2511MP that are 100mw. We ended up
> > with a few in a batch of 50 that we purchased. no outside difference,
> > so they were only discovered after testing.
> >
> > KH
> > NomadISP
> >
> > On Wed, 2005-11-02 at 08:00, Andrew Niemantsverdriet wrote:
> > > Hi,
> > >
> > > It seems that my 200mw Senao NL-2511MP Plus (mini-pci) card is not
> putting
> > > out near the power it should. Since I am in the US I would expect the
> full
> > > 200mw but this is my first Access Point with Voyage, I have been using
> is
> > > as a CPE and / or repeater before so I did not pay much attention to
> > > output strength. Anyway is there a setting some where that needs to be
> > > changed to get the full output or is something else wrong?
> > >
> > > One more thing what is up with the 2 antenna connectors, are they
> identical?
> > >
> > > Thanks for any guidance.
> >
> >
> > _______________________________________________
> > Voyage-linux mailing list
> > Voyage-linux at list.voyage.hk
> > http://list.voyage.hk/mailman/listinfo/voyage-linux
> >
>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20051102/80021191/attachment-0002.html>
More information about the Voyage-linux
mailing list