2011-12-05 18:14:46

by Daniel Halperin

[permalink] [raw]
Subject: Fwd: [PATCH v2 4/4] ath9k_hw: Fix tx power settings for AR9003

Reiterating that the l-w filter is really dumb. It should selectively
block PATCH mails (and not responses to them).

See below.

---------- Forwarded message ----------
From: Daniel Halperin <[email protected]>
Date: Mon, Dec 5, 2011 at 10:09 AM
Subject: Re: [PATCH v2 4/4] ath9k_hw: Fix tx power settings for AR9003
To: Felix Fietkau <[email protected]>
Cc: Rajkumar Manoharan <[email protected]>,
[email protected], [email protected], Paul Stewart
<[email protected]>, Adrian Chadd <[email protected]>


On Thu, Nov 10, 2011 at 8:17 AM, Felix Fietkau <[email protected]> wrote:
>>>
>>> ?In the FCC rulings, only transmissions that are completely non-coherent, are
>>> ?allowed to waive the array gain contribution to EIRP for multi-transmit configurations.
>>> ?The use of 2-stream with 2 transmit and use of 3-steam with 3 transmit qualifies
>>> ?for this spatial multiplexing MIMO classification as long as the streams are
>>> ?directly mapped to each radio (not Walsh spread prior to splitting to multiple radios)


Hi Rajkumar, Felix, etc.,

There are 2 (or more) different power limits in play here. In
particular, the transmit cards have a maximum power output (for
example, 50 mW), and the local regulatory body has a maximum EIRP
(say, 1 W for 2.4 GHz in US, maybe 200 mW, maybe 50 mW).

I understand the comment above about the FCC regulations, but maybe we
should only disable spreading if we're too close (within 3 dB for 2
antennas, 4.77 dB for 3 antennas) to the regulatory limit? ?In other
words, we should compute the actual EIRP with and without spreading
and ensure that the EIRP is over the local regulatory limits before we
disable this feature.

This calculation necessarily includes an estimation of the antenna
gain; probably the 5 dBi 2.4 GHz and 2 dBi 5 GHz is good enough, we
could be conservative if necessary. Note that we're already giving
responsibility to the user in the event that she has hacked together
an EIRP-requirement-violating directional antenna ;).

[We should only bother if Walsh spreading helps performance. I think
this is true because it enables each TX chain to transmit slightly
more power and still meet transmit tolerances, but I might be wrong!]

Thanks,
Dan