Search Linux Wireless

Re: [RFC] ath9k: fix TX power reporting on AR9003 chips

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2012.04.18. 21:51 keltezéssel, Felix Fietkau írta:
> On 2012-04-18 11:16 AM, Gabor Juhos wrote:
>> The current code unconditionally reads the target
>> power values for all modes from the EEPROM. However
>> In 'ar9003_hw_set_power_per_rate_table' the regulatory
>> caps are applied only on a mode specific subset of the
>> power values.
>>
>> The reported TX power level is calculated from the
>> maximum of the power values. Because some of these
>> values are uncapped in certain cases, the reported
>> TX power will be wrong.
>>
>> On the older chipset, we don't have such problems
>> because only the mode specific subset of the power
>> levels are retrieved from the EEPROM on those. Do
>> the same for the AR9003 chips to fix the issue.
>>
>> Signed-off-by: Gabor Juhos <juhosg@xxxxxxxxxxx>
> Acked-by: Felix Fietkau <nbd@xxxxxxxxxxx>

Thanks!

-Gabor


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux