Return-path: Received: from mail-la0-f43.google.com ([209.85.215.43]:45833 "EHLO mail-la0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750824AbaGCGej (ORCPT ); Thu, 3 Jul 2014 02:34:39 -0400 Received: by mail-la0-f43.google.com with SMTP id e16so7742308lan.2 for ; Wed, 02 Jul 2014 23:34:37 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1404302531-18132-1-git-send-email-janusz.dziedzic@tieto.com> Date: Thu, 3 Jul 2014 08:34:37 +0200 Message-ID: (sfid-20140703_083604_111389_3EECC23E) Subject: Re: [PATCH] crda: db2rd, parse/print CAC time From: Janusz Dziedzic To: "Luis R. Rodriguez" Cc: "wireless-regdb@lists.infradead.org" , linux-wireless Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On 3 July 2014 08:26, Janusz Dziedzic wrote: > On 3 July 2014 00:06, Luis R. Rodriguez wrote: >> On Wed, Jul 2, 2014 at 5:02 AM, Janusz Dziedzic >> wrote: >>> db2rd, parse and print DFS CAC time >>> >>> Signed-off-by: Janusz Dziedzic >> >> >> This doesn't print the DFS CAC if its a in a line like this: >> >> (5250 - 5330 @ 0), (20), (60000), DFS, AUTO-BW >> > will check this, BTW BW=0 is not allowed I think. > Did such test: country AE: DFS-FCC (2402 - 2482 @ 40), (20) (5170 - 5250 @ 80), (17) (5250 - 5330 @ 0), (24), (60000), DFS, AUTO-BW (5490 - 5730 @ 80), (24), DFS (5735 - 5835 @ 80), (30) And get: ./db2rd < db.txt country AE: DFS-FCC (2402.000 - 2482.000 @ 40.000), (20.00), (N/A) (5170.000 - 5250.000 @ 80.000), (17.00), (N/A) (5250.000 - 5330.000 @ 0.000), (24.00), (60000), DFS, AUTO-BW (5490.000 - 5730.000 @ 80.000), (24.00), (N/A), DFS (5735.000 - 5835.000 @ 80.000), (30.00), (N/A) Seems works fine. Did you install reglib, could be you are using old one? I am using x86_64. BR Janusz