[PATCH] crda: db2rd, parse/print CAC time

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

 



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



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux