Hi,

On 12 December 2017 at 23:05, Jo-Philipp Wich <j...@mein.io> wrote:
> Hi Rafał,
>
> in principle fine with me - but I guess all restrictions will be in the
> form { <restriction>: true } so I'd rather make it an array.
>
> Also since a restriction implies something not possible, I'd drop the
> "no_" prefix too. So in the end it would look like:
>
> {
>   "channel": 1,
>   "mhz": 2412,
>   "restricted": false,
>   "active": false,
>   "restrictions": [
>     "ht40minus",
>     "80mhz"
>   }

Do these value say what the device is restricted from, or restricted to?

I'd argue the no_ prefix makes it more clear that these restrictions
say what is prohibited, not what is allowed.


Regards
Jonas

_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to