Re: [PATCH] cfg80211: fix maximum tx power handling
From: Luis R. Rodriguez <hidden>
Date: 2011-02-04 19:36:42
On Fri, Feb 4, 2011 at 11:26 AM, Felix Fietkau [off-list ref] wrote:
On 2011-02-04 8:20 PM, Luis R. Rodriguez wrote:quoted
On Sun, Jan 30, 2011 at 9:01 AM, Mark Mentovai [off-list ref] wrote:quoted
I certainly like the idea of providing better feedback of the effective power level, or even the power level limit, back to users. This patch seems to artificially limit the effective power level in some cases, while allowing a value in excess of what would be appropriate in others.John, Mark's interpretation is correct, the exception here is accepted because the driver request is being respected to override the max regulatory power, nothing more. Felix are you observing userspace requests overriding the orig power?What I'm observing is that with the first regdomain setting it sets orig_power to something that exceeds the tx power value that the hardware is capable of using.
Can you provide me with steps to repro?
Because of that, the tx power setting reported to the user is wrong.
I see Luis