Hi Carlos -
the rate control mechanism needs unicast traffic to each of its neighbor stations, in order to measure and subsequently determine the rate for each neighbor.
Of course there is a time out, so in order to keep the information updated this requires frequent traffic to all the individual neighbors.
This is rather impractical, since it would require the spectrum to be spammed with unicast traffic.
If there is no recent unicast traffic, the driver will report 36 megabit.
Cheers,
Elektra
---
I have ceased to talk with the voice in my head. The voice in my head has stopped talking to me. I am one with the universe. The mind dissolved in a little cloud of logic. Serenity.
----- Reply message -----
Von: "Carlos Rey-Moreno" <
cr...@ehas.org>
An: "village-telco-dev" <
village-...@googlegroups.com>
Betreff: [vt-dev] Re: reading and setting the transmission rate
Datum: Mo., Jul. 23, 2012 11:00
Hi all,
Now it's working I just needed to sleep a bit and think clearly. To do it, just in case somebody else want to do it in the future is modifying the /etc/config/wireless file adding the option rate including the number of the rate and the letter M. In case you want to change also the mode (in our case we want to fix to 11b 1Mbit to get the best sensitivity and optimize the links from there) you need to use the option hwmode. In the last case it would something like:
option 'hwmode' '11b'
option 'rate' '6M'
Once that is done, you need to reload the wireless interfaces with the command "wifi". After that the changes appear both in iwconfig and in wlanconfig ath0 list.
A nice thing to solve in the future is why when in hwmode auto, the changes in rate does not appear in any of the aforementioned commands
Best,
Carlos
On 07/22/2012 08:22 PM, Carlos Rey-Moreno wrote:
> Hi all,
>
> Finally we have decided installing RC3 and so far everything is
> working as expected. However, the issue I mentioned this morning
> regarding changing the rate manually of automatically still does not
> work, or I dont know how to do it properly, which is more likely, :-)
>
> We want to know which rate the MP is using in every moment as for us
> to know how much margin do we have with the received signal. However,
> "wlanconfig ath0 list" is not showing the changes and is all the time
> showing 36M. Similarly iwconfig says Rate 0 kb/s. "iwpriv ath0
> get_rate11g" gives 18 as a result, and if I change "iwpriv ath0
> rate11g" track the chage, although in "wlanconfig ath0 list" doesnt't
> appear the change. If I try to change "iwpriv ath0 minrate" and
> iwpriv ath0 maxrate" let say to 6mbit both, the change does not
> reflect in any of the aforementioned commands.
>
> I make lal this changes through the commad line since the options to
> change them do not appear any more on the Web Interface.
>
> Does anybody knows how I can obtain the real value of the rate being
> used in every moment? and also how can I change the rate consistently?
>
> Probably we will use the auto mode but we had some issues wiht the
> previous version of the SECN firmware, that resulted in not updating
> the rate even when the RSSI of the link was 2 dB. Furhtermore as I
> said I want to know how much margin do we have in everylink but
> without knowing the rate I can't know the sensitivity and thus the
> real strength of the signal received (the parameter DBM in wlanconfig
> ath0 list does not upgrade consistently and uses always -95, that I
> guess is the one for 1Mbps, no matter what rate you're using).
>
> Thank you very much in advance,
>
> Carlos
--
You received this message because you are subscribed to the Google Groups "village-telco-dev" group.
To post to this group, send email to
village-...@googlegroups.com.
To unsubscribe from this group, send email to
village-telco-...@googlegroups.com.
For more options, visit
https://groups.google.com/groups/opt_out.