wifi-scripts: ucode: add missing fields to spec
authorFelix Fietkau <[email protected]>
Fri, 29 Aug 2025 17:26:01 +0000 (19:26 +0200)
committerFelix Fietkau <[email protected]>
Fri, 29 Aug 2025 17:26:19 +0000 (19:26 +0200)
Silence warnings

Signed-off-by: Felix Fietkau <[email protected]>
package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-device.json
package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json

index 08e4c792c888d834dd81791902d73fe0be059aae..8eae28c0c6fc1f4ee9c3bca2f71fe64b5cf40d24 100644 (file)
                        "description": "Specifies the maximum desired transmission power in dBm. The actual txpower used depends on regulatory requirements",
                        "type": "number"
                },
+               "type": {
+                       "description": "Device type (only mac80211 supported)",
+                       "type": "string"
+               },
                "vht160": {
                        "description": "Supported channel widths. 0 == 160MHz and 80+80 MHz not supported, 1 == 160 MHz supported, 2 == 160MHz and 80+80 MHz supported",
                        "type": "number",
index e90f6de02fd7ae55d230c6e13a0fdc7e9051b7a9..de1962c14ef5f436d379796d89ede0760d735a39 100644 (file)
                        "type": "alias",
                        "default": "disabled"
                },
+               "device": {
+                       "description": "Devices to enable this interface on (wifi-device section names)",
+                       "type": "array",
+                       "items": {
+                               "type": "string"
+                       }
+               },
                "device_name": {
                        "description": "Primary Device Name used by WPS",
                        "type": "string",
                                "type": "string"
                        }
                },
+               "radios": {
+                       "type": "array",
+                       "items": {
+                               "type": "string"
+                       }
+               },
                "radius_acct_interim_interval": {
                        "description": "Interim accounting update interval",
                        "type": "number"