On Sat, 10 Jun 2006, Walter Haidinger wrote:

Replying to myself giving a short answer: yes, it is.

> Any references (e.g. to some driver documentation) are appreciated!

FYI, I've found the following comments in the Linux Kernel source.

linux-2.6.16.17/drivers/net/wireless/hostap/hostap_ioctl.c:
...
/* Note! This TX power controlling is experimental and should not be used in
 * production use. It just sets raw power register and does not use any kind of
 * feedback information from the measured TX power (CR58). This is now
 * commented out to make sure that it is not used by accident. TX power
 * configuration will be enabled again after proper algorithm using feedback
 * has been implemented. */

#ifdef RAW_TXPOWER_SETTING
/* Map HFA386x's CR31 to and from dBm with some sort of ad hoc mapping..
 * This version assumes following mapping:
 * CR31 is 7-bit value with -64 to +63 range.
 * -64 is mapped into +20dBm and +63 into -43dBm.
 * This is certainly not an exact mapping for every card, but at least
 * increasing dBm value should correspond to increasing TX power.
 */
prism2_txpower_hfa386x_to_dBm()
{
...
}
prism2_txpower_dBm_to_hfa386x()
{
...
}

The code looks quite similar to the one in sys/dev/ic/if_wi.c.
Since I will not post GPL code to a BSD mailinglist, please get
the referenced file yourself and look for the given functions.

Walter

Reply via email to