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

Ansuel Smith ansuelsmth at gmail.com
Sat Nov 20 14:54:09 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
>

It seems more descriptive to declare and i think in a normal freq list it
is declared as no outdoor instead of indoor only.

>
> Best regards,
> Martin



More information about the openwrt-devel mailing list