[iwinfo PATCH 1/2] iwinfo: add support for indoor only chan restriction

Martin Blumenstingl martin.blumenstingl at googlemail.com
Fri Nov 19 14:56:15 PST 2021


Hi Ansuel,

below are a few comments from someone (me) who is not very familiar
with the whole topic. So please keep this in mind.

On Thu, Nov 18, 2021 at 5:42 PM Ansuel Smith <ansuelsmth at gmail.com> wrote:
>
> Some country permit a specific channel to be used only indoor.
country -> countries
indoor -> indoors

> Introduce a new restriction_flags entry to declare different restrition
restrition -> restrictions

[...]
> +                                       if (freqs[NL80211_FREQUENCY_ATTR_INDOOR_ONLY])
> +                                               e->restricted_flags |= IWINFO_FREQ_NO_OUTDOOR;
Is there a reason why _INDOOR_ONLY has to be translated to _NO_OUTDOOR?
Or in other words: why not simply IWINFO_FREQ_INDOOR_ONLY


Best regards,
Martin



More information about the openwrt-devel mailing list