Re: max_erip/tx_power not being set correctly
From: Jonas Gorski <hidden>
Date: 2014-06-11 11:05:16
On Wed, Jun 11, 2014 at 10:54 AM, Luis R. Rodriguez [off-list ref] wrote:
On Tue, Jun 10, 2014 at 10:05 PM, Krishna Chaitanya [off-list ref] wrote:quoted
On Wed, Jun 11, 2014 at 3:28 AM, Luis R. Rodriguez [off-list ref] wrote:quoted
On Sun, May 25, 2014 at 10:55 AM, Krishna Chaitanya [off-list ref] wrote:This just ignores antenna gain as it was useless.That actually fixes the issue of setting tx power :-). In the new db.txt format there is tx power is not present, so the awk script parses the tx power as antenna gain.Is this patch not upstream?
This patch is not upstream. You only posted it as an RFC, not a PATCH, so it was likely never applied for that reason. Note that this patch is from you ;-) Or do you mean that the db.txt format
causes an issue for 3.10 kernels which do not have this patch when the internal regdb is used? If so that's a good corner case that I had not considered -- the removal of the antenna gain for future releases of db.txt obviously would have had an impact on older kernels with an awk script expecting something different.
AFAICT, this has been an issue for any kernel (even current linus' master) using the internal regdb since antenna gain was dropped from regdb.txt. Regards Jonas