On Tue, Jun 10, 2014 at 10:03 PM, Janusz Dziedzic <janusz.dziedzic at tieto.com> wrote: > On 11 June 2014 00:09, Luis R. Rodriguez <mcgrof at do-not-panic.com> wrote: >> On Tue, Jun 10, 2014 at 12:25 AM, Janusz Dziedzic >> <janusz.dziedzic at tieto.com> wrote: >>> Remove strange parsers. >>> >>> Signed-off-by: Janusz Dziedzic <janusz.dziedzic at tieto.com> >> >> Did you test this with the different types of accepted rules? >> > > Tested with current db.txt (+AUTO-BW in some cases). I was curious more about the different use cases of the output power, sometimes we use dBm, sometimes mW I think. I think I tried your approach and ended up getting inconsistent results for the different cases, so that's why all the parser junk got added. If you found a way to successfully get rid of it though that's awesome, just want to be sure we tested all cases. I purposely tried to upkeep the output to match the input preference, some folks are picky about mW and others like dB, this helps with regulatory rules as they vary depending on the country and the country typically uses one or the other for the definitions. Luis