[LEDE-DEV] [PATCH rpcd] iwinfo: add info about frequency restrictions

Jo-Philipp Wich jo at mein.io
Tue Dec 12 14:05:33 PST 2017


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"
  }
}


~ Jo



More information about the Lede-dev mailing list