Skip to content

Commit

Permalink
[chores] Adjustments to WiFi6 schema #199
Browse files Browse the repository at this point in the history
Related #199
  • Loading branch information
nemesifier committed Feb 18, 2022
1 parent f1a94f2 commit 2752ddf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 6 additions & 0 deletions netjsonconfig/backends/openwrt/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,12 @@
"radio_80211ac_5ghz_settings": {
"allOf": [{"$ref": "#/definitions/radio_hwmode_11a"}]
},
"radio_80211ax_2ghz_settings": {
"allOf": [{"$ref": "#/definitions/radio_hwmode_11g"}]
},
"radio_80211ax_5ghz_settings": {
"allOf": [{"$ref": "#/definitions/radio_hwmode_11a"}]
},
},
"properties": {
"general": {
Expand Down
6 changes: 2 additions & 4 deletions netjsonconfig/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -802,12 +802,11 @@
],
},
"radio_80211ax_2ghz_settings": {
"title": "802.11AX (2.4 GHz AX)",
"title": "802.11ax (2.4 GHz AX)",
"allOf": [
{
"properties": {
"protocol": {"enum": ["802.11ax"]},
"hwmode": {"enum": ["11g"]},
"protocol": {"enum": ["802.11ax"]}
}
},
{"$ref": "#/definitions/base_radio_settings"},
Expand All @@ -821,7 +820,6 @@
{
"properties": {
"protocol": {"enum": ["802.11ax"]},
"hwmode": {"enum": ["11a"]},
}
},
{"$ref": "#/definitions/base_radio_settings"},
Expand Down

0 comments on commit 2752ddf

Please sign in to comment.