Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Dec 2011 00:36:19 -0500
From:      "Viet-Ha Pham" <hapvbk@yahoo.co.uk>
To:        "Freebsd Wireless" <freebsd-wireless@freebsd.org>
Subject:   Rate index for 11 Mbps
Message-ID:  <C5FE57A2CF4942A2884B7B305E279CD5@PC>
In-Reply-To: <CAJ-Vmo=hEq9N=FhvdH8Ev7roG3TByJjri3q5rpLPDE__YZ=MZg@mail.gmail.com>
References:  <3d4d2d249836fafc6acd885693c02198@webmail.entel.upc.edu><CAJ-Vmo=1k=oKP-vDUH=BLdyeVzGnQvNmJ6TwGcdQjwpgJWt52w@mail.gmail.com><4ECFCDAB.1080407@entel.upc.edu><CAJ-VmokQTpgxMo=gmj0LsYhD6t9mmoHXG_sbhZdFNW5_OSGbmg@mail.gmail.com><a9d1d8f91deb80a89bed98c1ffdb23fd@webmail.entel.upc.edu><CAJ-Vmo=P%2BWAArZ1Kidh947yHuftZTBwF=Vx5Kn36-LKtD4grPg@mail.gmail.com><4ED3B4D1.3020701@entel.upc.edu><CAJ-Vmo=1KimWWEkV4gqEyFiNQRZTkK8okPBSfnc494iJbtLzsw@mail.gmail.com><4EDA4BBA.6010203@entel.upc.edu><CAJ-Vmon7-PdC51nWjW-M-ojuShwG-iNrBpztNovsZpzgjm9BqA@mail.gmail.com><4EDA609F.2080401@entel.upc.edu><CAJ-VmomqbBpJ9whQ2EStP7i5fuaKvR=%2BA9gxQJm3hZnCi%2BJnOg@mail.gmail.com> <CAJ-Vmo=hEq9N=FhvdH8Ev7roG3TByJjri3q5rpLPDE__YZ=MZg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi there,

I am working with the rate adaptation algorithm and at the very beginning 
point of testing/programing. I have a concern with the rate index used in 
the HAL.

I wonder if the rate order in the rate table for 802.11g is 1 - 2 - 5.5 - 
6 - 9 - 11 - 12 .... or 1 - 2 - 5.5 - 11 - 6 -9 - 12 ... ?

This order will change the value of rate index for 11 Mbps from 5 to 3.

I read the source code (ar5212_phy.c) but I am still confused. Also there is 
a comment with the rate table for 802.11g:

/* Venice TODO: roundUpRate() is broken when the rate table does not 
represent rates
* in increasing order  e.g.  5.5, 11, 6, 9.
* An average rate of 6 Mbps will currently map to 11 Mbps.
*/


I am using FreeBSD 8.2, AR5212 chipset.


Any help to clarify this will be appreciated.


HAPV 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C5FE57A2CF4942A2884B7B305E279CD5>