On 3 July 2014 08:26, Janusz Dziedzic <janusz.dziedzic@xxxxxxxxx> wrote: > On 3 July 2014 00:06, Luis R. Rodriguez <mcgrof@xxxxxxxxxxxxxxxx> wrote: >> On Wed, Jul 2, 2014 at 5:02 AM, Janusz Dziedzic >> <janusz.dziedzic@xxxxxxxxx> wrote: >>> db2rd, parse and print DFS CAC time >>> >>> Signed-off-by: Janusz Dziedzic <janusz.dziedzic@xxxxxxxxx> >> >> >> 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 -- 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