Skip to content

[AD9361] Issues with FIR parsing #17

@Tey

Description

@Tey

The second and third examples of the documentation suggest it is possible to load a filter only for Rx or Tx paths. However, using the third example (Tx only) to feed filter_fir_config produces an error because ad9361_parse_fir() expects that both tx and rx variable are valid (code between lines 4963 and 4985). There's also a typo at line 4899, and a possible buffer overflow if the number of coefficients given in the file is bigger than 128.

I don't know whether this is a bug in the driver code or a documentation error, but in case of the former, a patch like this one should be enough to fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions